]> git.baikalelectronics.ru Git - kernel.git/commit
perf sort: Calculate parent column width too
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 27 Dec 2012 09:11:42 +0000 (18:11 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:24 +0000 (16:40 -0300)
commit199bf3ca07ba6e1fb293b05a10366d871b82ff53
treec346374b9916a5d1bed2eef8e3bc8aa3aff66faa
parentf285a43b8b8d5dd931b4ddc51b82ab7940f221af
perf sort: Calculate parent column width too

When hists__calc_col_len() called, most of column length are refreshed
but it missed parent column.  So if the parent sort key was used along
with other keys rests will be misalinged since parent has no proper
column width.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1356599507-14226-6-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c