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-20 12:17:09 -03:00
2019-08-09 17:38:53 +02:00
2019-08-12 17:14:14 -03:00
2019-05-30 11:26:35 -07:00
2019-07-12 12:24:03 -07:00
2019-07-09 09:07:00 -07:00
2019-08-20 11:29:53 -04:00
2019-07-01 10:58:13 +02:00
2019-08-26 11:59:57 +02:00
2019-05-23 10:25:26 -06:00
2019-06-19 17:09:53 +02:00
2019-06-19 17:11:22 +02:00
2019-08-26 11:59:57 +02:00
2019-06-24 09:08:54 -07:00
2019-07-25 08:36:39 +02:00
2019-07-15 20:44:49 -07:00
2019-06-19 17:09:08 +02:00
2019-08-26 11:58:29 -03:00
2019-07-18 02:19:31 +09:00
2019-07-23 09:04:54 -03:00
2019-05-30 11:29:19 -07:00
2019-08-21 11:48:38 -07:00
2019-05-24 17:37:52 +02:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:52 +02:00
2019-07-12 11:05:46 -07:00
2019-06-19 17:09:55 +02:00
2019-08-14 10:59:59 -03:00