perf top: Improve the autosizing of column lenghts
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 15 Mar 2010 18:03:50 +0000 (15:03 -0300)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Mar 2010 08:52:36 +0000 (09:52 +0100)
When profiling C++ workloads the symbol name length can be
really big, so cap it before it garbles the result.

This builds upon the autosizing already present where we choose
to use the short, basename of DSOs instead of its long, full
pathname.

Reported-by: Pavel Krauz <krauz@cngroup.cz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1268676230-9261-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found