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-01 21:22:39 +02:00
2013-12-26 15:58:52 -03:00
2013-12-27 15:17:00 -03:00
2014-03-18 18:17:03 -03:00
2014-05-01 21:22:39 +02:00
2014-05-12 11:09:50 +02:00
2014-05-01 21:22:39 +02:00
2014-04-22 17:39:24 +02:00
2014-05-05 17:48:10 +02:00
2014-01-13 10:06:25 -03:00
2014-01-13 11:37:17 -03:00
2014-01-13 11:37:17 -03:00
2014-01-16 16:44:39 -03:00
2014-01-16 16:44:39 -03:00
2014-04-16 17:16:04 +02:00
2014-04-22 17:39:16 +02:00
2014-04-22 17:39:12 +02:00
2014-04-20 00:15:12 +02:00
2013-12-02 09:22:46 -03:00
2013-12-19 11:38:42 -03:00
2013-12-04 15:23:55 -03:00
2014-02-24 16:24:38 -03:00
2014-05-01 21:22:39 +02:00
2014-05-12 11:09:50 +02:00
2014-05-05 17:47:40 +02:00
2014-01-20 16:19:09 -03:00
2014-01-13 10:06:25 -03:00
2014-03-18 18:17:05 -03:00
2014-05-01 21:22:39 +02:00
2014-01-20 16:19:08 -03:00
2014-05-01 21:22:39 +02:00
2013-12-27 17:08:19 -03:00
2014-05-21 11:45:36 +02:00
2014-05-21 11:45:36 +02:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2014-05-01 08:24:39 +02:00
2014-03-14 18:08:42 -03:00
2014-04-28 13:43:26 +02:00
2014-05-01 21:22:39 +02:00
2014-02-10 11:34:31 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-03-14 18:08:41 -03:00
2014-03-14 18:08:41 -03:00
2014-02-18 09:34:49 -03:00
2014-05-01 21:22:39 +02:00
2013-11-07 10:40:47 -03:00
2014-04-22 17:39:09 +02:00
2014-05-01 21:22:39 +02:00
2014-02-18 09:38:44 -03:00
2014-02-18 09:34:50 -03:00
2014-04-14 12:55:40 +02:00
2014-02-18 09:38:44 -03:00
2013-11-05 15:32:36 -03:00
2014-02-18 09:34:49 -03:00
2014-01-13 10:06:25 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2014-02-18 09:34:49 -03:00
2014-05-16 09:18:51 +02:00
2013-12-19 17:38:27 -03:00
2013-12-16 16:03:27 -03:00
2014-05-21 11:45:36 +02:00
2014-05-21 11:45:35 +02:00
2014-01-15 15:10:04 -03:00
2014-05-01 21:22:39 +02:00
2013-12-27 17:08:19 -03:00
2013-12-27 17:08:19 -03:00
2013-11-05 15:32:36 -03:00
2013-12-27 17:08:19 -03:00
2014-01-15 15:10:04 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-04-20 00:15:11 +02:00
2013-12-27 17:08:19 -03:00
2014-04-16 17:16:04 +02:00
2014-05-05 17:47:40 +02:00
2013-11-27 14:58:36 -03:00
2013-12-04 13:46:37 -03:00
2013-12-27 17:08:19 -03:00
2014-04-28 13:43:33 +02:00
2014-04-28 13:43:33 +02:00
2013-12-19 14:43:45 -03:00
2014-05-01 21:22:39 +02:00
2013-12-27 17:08:19 -03:00
2014-02-18 09:34:47 -03:00
2013-12-04 15:20:52 -03:00
2013-12-19 17:38:27 -03:00
2014-01-15 15:10:40 -03:00
2013-12-19 17:38:27 -03:00
2014-05-01 21:22:39 +02:00
2014-02-24 09:29:36 -03:00
2014-02-18 09:34:49 -03:00
2014-05-01 21:22:39 +02:00
2014-04-29 14:26:30 +02:00
2014-05-01 21:22:39 +02:00
2013-12-27 17:08:19 -03:00
2014-05-01 21:22:39 +02:00
2013-12-10 16:51:09 -03:00