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-16 11:39:29 +02:00
2014-04-14 16:45:39 +02:00
2014-05-16 11:39:18 +02:00
2014-05-21 11:45:36 +02:00
2013-08-07 17:35:25 -03:00
2013-11-05 15:32:36 -03:00
2014-05-16 11:39:18 +02:00
2014-05-21 11:45:36 +02:00
2014-05-21 11:45:36 +02:00
2013-10-11 12:17:37 -03:00
2014-04-24 16:32:15 +02:00
2014-04-14 12:55:53 +02:00
2014-01-31 17:21:54 -03:00
2013-10-21 17:33:25 -03:00
2014-05-21 11:45:35 +02:00
2014-01-13 10:06:25 -03:00
2012-10-22 12:35:49 -02:00
2014-05-12 11:09:50 +02:00
2014-05-12 11:09:50 +02:00
2014-04-20 00:14:08 +02:00
2013-11-05 14:26:41 -03:00
2014-04-16 17:16:04 +02:00
2014-04-16 17:16:04 +02:00
2014-02-18 09:34:50 -03:00
2014-05-12 11:09:50 +02:00
2014-05-21 11:45:35 +02:00
2014-05-16 09:17:50 +02:00
2014-01-13 10:06:25 -03:00
2014-04-14 12:56:06 +02:00
2014-03-18 18:16:57 -03:00
2014-05-21 11:45:36 +02:00
2014-03-10 11:10:45 -03:00
2013-04-01 12:21:44 -03:00
2013-04-01 12:21:44 -03:00
2009-06-24 19:54:29 +02:00
2014-03-18 18:17:06 -03:00
2014-01-16 16:26:26 -03:00
2014-05-16 11:39:18 +02:00
2014-05-01 21:22:39 +02:00
2012-09-17 13:10:42 -03:00
2014-04-16 17:16:05 +02:00
2014-05-05 17:48:51 +02:00
2013-12-16 16:03:27 -03:00
2014-05-05 17:49:07 +02:00