linux/tools/perf/ui
Arnaldo Carvalho de Melo 99cf666c5c perf hists: Fix formatting of long symbol names
We had a hardcoded buffer for formatting histogram entries, truncating
long symbol names (C++ anyone?).

Fix it by using hists__sort_list_width() before formatting the first
histogram entry to calculate the max lenght needed by traversing the
overheads and columns lists (sort order).

Reported-by: Stephane Eranian <eranian@google.com>
Tested-by: Stephane Eranian <eranian@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-vdfkkyfdp8rboh7j9344o3ss@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-09-05 16:18:28 -03:00
..
browsers perf annotate browser: Fix typo 2013-08-07 17:35:37 -03:00
gtk perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop 2013-08-07 17:35:39 -03:00
stdio perf hists: Fix formatting of long symbol names 2013-09-05 16:18:28 -03:00
tui perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
browser.c perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
browser.h perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
helpline.c
helpline.h
hist.c perf tools: Move hist_entry__period_snprintf into stdio code 2013-07-12 13:54:18 -03:00
keysyms.h perf hists browser: Add option for runtime switching perf data file 2013-02-06 18:09:24 -03:00
libslang.h
progress.c
progress.h
setup.c perf tools: Centralize default columns init in perf_hpp__init 2013-07-12 13:53:59 -03:00
ui.h perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
util.c
util.h