Namhyung Kim
678a500d07
perf hists: Reset width of output fields with header length
Some fields missed to set default column length so it broke align in
--stdio output. Add perf_hpp__reset_width() to set it to a sane
default value.
Note that this change will ignore -w/--column-widths option for now.
Before:
$ perf report -F cpu,comm,overhead --stdio
...
# CPU Command Overhead
# ............... ........
#
0 firefox 2.65%
0 kworker/0:0 1.45%
0 swapper 5.52%
0 synergys 0.92%
1 firefox 4.54%
After:
# CPU Command Overhead
# ... ............... ........
#
0 firefox 2.65%
0 kworker/0:0 1.45%
0 swapper 5.52%
0 synergys 0.92%
1 firefox 4.54%
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1400480762-22852-17-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
2014-05-21 11:45:36 +02:00
..
2014-05-21 11:45:36 +02:00
2014-05-21 11:45:36 +02:00
2014-05-21 11:45:36 +02:00
2013-12-26 11:22:01 -03:00
2013-12-27 15:17:00 -03:00
2014-05-01 21:22:39 +02:00
2012-12-09 08:46:04 -03:00
2012-12-09 08:46:04 -03:00
2014-05-21 11:45:35 +02:00
2013-02-06 18:09:24 -03:00
2013-10-23 15:40:38 -03:00
2014-05-01 21:22:39 +02:00
2014-05-21 11:45:35 +02:00
2013-10-09 15:55:25 -03:00
2013-01-24 16:40:09 -03:00
2012-06-19 13:06:18 -03:00