Andi Kleen
3dab6ac080
perf report: Fix --ns time sort key output
If the user specified --ns, the column to print the sort time stamp
wasn't wide enough to actually print the full nanoseconds.
Widen the time key column width when --ns is specified.
Before:
% perf record -a sleep 1
% perf report --sort time,overhead,symbol --stdio --ns
...
2.39% 187851.10000 [k] smp_call_function_single - -
1.53% 187851.10000 [k] intel_idle - -
0.59% 187851.10000 [.] __wcscmp_ifunc - -
0.33% 187851.10000 [.] 0000000000000000 - -
0.28% 187851.10000 [k] cpuidle_enter_state - -
After:
% perf report --sort time,overhead,symbol --stdio --ns
...
2.39% 187851.100000000 [k] smp_call_function_single - -
1.53% 187851.100000000 [k] intel_idle - -
0.59% 187851.100000000 [.] __wcscmp_ifunc - -
0.33% 187851.100000000 [.] 0000000000000000 - -
0.28% 187851.100000000 [k] cpuidle_enter_state - -
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190823210338.12360-2-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-26 11:58:29 -03:00
..
2019-08-26 11:58:22 -03:00
2019-08-12 16:25:00 -03:00
2019-08-16 12:14:33 -03:00
2019-08-26 11:58:29 -03:00
2019-07-29 18:34:40 -03:00
2019-07-07 17:53:09 -03:00
2019-08-22 17:16:57 -03:00
2019-08-15 12:04:04 -03:00
2019-06-05 17:37:14 +02:00
2019-07-10 13:05:12 -03:00
2019-08-26 11:58:29 -03:00
2019-08-26 11:58:29 -03:00
2019-08-26 11:58:29 -03:00
2019-08-26 11:58:29 -03:00
2018-02-05 13:58:02 -03:00
2019-02-14 15:18:08 -03:00
2019-07-29 18:34:42 -03:00
2019-07-09 10:13:26 -03:00
2019-02-22 16:52:07 -03:00
2019-02-22 16:52:07 -03:00
2019-08-26 11:58:29 -03:00
2019-07-09 10:13:22 -03:00
2019-08-26 11:58:29 -03:00
2019-07-29 18:34:45 -03:00
2019-08-22 17:16:57 -03:00
2019-07-09 10:13:26 -03:00
2019-07-29 18:34:45 -03:00
2019-06-05 17:30:26 +02:00
2019-07-29 18:34:42 -03:00
2019-07-29 18:34:45 -03:00
2019-04-01 14:49:25 -03:00
2019-07-29 18:34:42 -03:00
2019-07-29 18:34:42 -03:00
2019-07-23 09:04:41 -03:00
2019-08-26 11:58:22 -03:00
2019-08-26 11:58:29 -03:00
2019-07-29 18:34:45 -03:00
2019-08-26 11:58:29 -03:00
2019-08-26 11:58:22 -03:00
2019-07-29 18:34:45 -03:00
2019-08-15 16:03:26 -03:00
2019-08-26 11:58:22 -03:00
2019-07-15 07:59:05 -03:00
2019-03-11 16:33:19 -03:00
2019-08-20 12:08:23 -03:00
2018-09-19 14:53:36 -03:00
2019-01-21 11:01:18 +01:00
2018-08-20 08:54:58 -03:00
2019-08-20 12:07:22 -03:00
2019-08-12 17:14:14 -03:00
2019-07-09 10:13:26 -03:00
2019-01-08 13:28:13 -03:00
2018-02-23 14:29:59 +00:00
2019-06-17 12:29:16 +02:00
2019-08-12 16:26:02 -03:00
2019-08-26 11:58:22 -03:00