Namhyung Kim c72ab446ca perf hists: Fix column length on --hierarchy
Markus reported that there's a weird behavior on perf top --hierarchy
regarding the column length.

Looking at the code, I found a dubious code which affects the symptoms.
When --hierarchy option is used, the last column length might be
inaccurate since it skips to update the length on leaf entries.

I cannot remember why it did and looks like a leftover from previous
version during the development.

Anyway, updating the column length often is not harmful.  So let's move
the code out.

Reported-and-Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 1a3906a7e6b9 ("perf hists: Resort hist entries with hierarchy")
Link: http://lkml.kernel.org/r/20161108130833.9263-5-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-11-09 11:55:29 -03:00
..
2015-05-27 12:21:43 -03:00
2016-07-18 19:42:47 -03:00
2016-07-18 19:42:47 -03:00
2016-06-28 10:54:56 -03:00
2016-07-12 15:19:47 -03:00
2016-07-12 15:19:47 -03:00
2016-09-20 16:20:21 -03:00
2016-10-03 11:24:13 -03:00
2016-10-03 11:24:13 -03:00
2015-08-21 11:34:10 -03:00
2016-10-03 11:24:13 -03:00
2016-06-15 10:35:27 -03:00
2016-06-15 10:35:27 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-07-12 15:19:55 -03:00
2016-07-12 15:19:55 -03:00
2016-07-12 15:19:55 -03:00
2016-10-03 11:24:13 -03:00
2016-08-23 15:37:33 -03:00
2016-09-29 11:17:01 -03:00
2016-09-29 11:17:01 -03:00
2016-10-03 11:24:13 -03:00
2016-03-31 10:52:24 -03:00
2016-04-28 09:58:58 -03:00
2016-03-23 12:32:31 -03:00
2015-05-29 12:43:44 -03:00