aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-09-05 15:39:12 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-09-05 16:18:28 -0300
commit99cf666c5c0cd4f4c3e4155e7b01cf593d71d60e (patch)
tree5a0d8e427ba37dfb438062c2fa748bb5abad258d /tools/perf/util/session.c
parentperf evlist: Fix parsing with no sample_id_all bit set (diff)
downloadlinux-dev-99cf666c5c0cd4f4c3e4155e7b01cf593d71d60e.tar.xz
linux-dev-99cf666c5c0cd4f4c3e4155e7b01cf593d71d60e.zip
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>
Diffstat (limited to 'tools/perf/util/session.c')
0 files changed, 0 insertions, 0 deletions