Andi Kleen
3723908d05
perf report: Support time sort key
...
Add a time sort key to perf report to display samples for different time
quantums separately. This allows easier analysis of workloads that
change over time, and also will allow looking at the context of samples.
% perf record ...
% perf report --sort time,overhead,symbol --time-quantum 1ms --stdio
...
0.67% 277061.87300 [.] _dl_start
0.50% 277061.87300 [.] f1
0.50% 277061.87300 [.] f2
0.33% 277061.87300 [.] main
0.29% 277061.87300 [.] _dl_lookup_symbol_x
0.29% 277061.87300 [.] dl_main
0.29% 277061.87300 [.] do_lookup_x
0.17% 277061.87300 [.] _dl_debug_initialize
0.17% 277061.87300 [.] _dl_init_paths
0.08% 277061.87300 [.] check_match
0.04% 277061.87300 [.] _dl_count_modids
1.33% 277061.87400 [.] f1
1.33% 277061.87400 [.] f2
1.33% 277061.87400 [.] main
1.17% 277061.87500 [.] main
1.08% 277061.87500 [.] f1
1.08% 277061.87500 [.] f2
1.00% 277061.87600 [.] main
0.83% 277061.87600 [.] f1
0.83% 277061.87600 [.] f2
1.00% 277061.87700 [.] main
Committer notes:
Rename 'time' argument to hist_time() to htime to overcome this in older
distros:
cc1: warnings being treated as errors
util/hist.c: In function 'hist_time':
util/hist.c:251: error: declaration of 'time' shadows a global declaration
/usr/include/time.h:186: error: shadowed declaration is here
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190311144502.15423-4-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-03-11 16:32:31 -03:00
..
2019-03-06 09:47:48 -03:00
2019-02-14 15:18:08 -03:00
2019-01-03 18:57:57 -08:00
2019-02-14 15:18:08 -03:00
2017-11-02 11:10:55 +01:00
2019-03-01 14:50:47 -03:00
2019-03-06 16:40:15 -03:00
2019-03-06 16:40:15 -03:00
2019-03-11 11:56:02 -03:00
2018-01-17 10:23:31 -03:00
2018-01-17 10:23:31 -03:00
2018-01-17 10:23:31 -03:00
2018-01-17 10:23:31 -03:00
2019-03-01 14:47:06 -03:00
2019-02-06 11:20:32 -03:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:09 +01:00
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2019-02-20 16:23:07 -03:00
2019-01-21 17:36:39 -03:00
2019-03-06 07:59:36 -08:00
2019-02-06 10:00:39 -03:00
2018-06-15 18:10:01 -03:00
2017-11-02 11:10:55 +01:00
2017-07-18 23:14:40 -03:00
2019-01-25 15:12:08 +01:00
2019-02-19 16:11:56 -03:00
2019-02-06 10:00:38 -03:00
2019-01-25 15:12:09 +01:00
2017-11-02 11:10:55 +01:00
2016-05-06 13:00:43 -03:00
2016-05-06 13:00:43 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2018-06-04 10:28:50 -03:00
2018-03-07 10:22:26 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-21 17:38:56 -03:00
2019-01-21 17:38:56 -03:00
2019-01-25 15:12:08 +01:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:09 +01:00
2018-08-20 08:54:59 -03:00
2019-02-06 10:00:38 -03:00
2018-05-16 16:11:09 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:39 -03:00
2019-02-20 17:08:39 -03:00
2019-02-06 10:00:39 -03:00
2019-02-19 12:21:10 -03:00
2019-02-19 12:21:06 -03:00
2019-02-14 15:18:08 -03:00
2019-02-14 15:18:06 -03:00
2017-11-02 11:10:55 +01:00
2019-02-22 16:52:07 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-11 11:56:03 -03:00
2019-03-11 11:56:03 -03:00
2019-03-01 14:50:47 -03:00
2019-03-01 14:50:47 -03:00
2018-03-16 16:39:02 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2019-01-25 15:12:10 +01:00
2018-12-28 16:33:02 -03:00
2018-12-28 16:33:02 -03:00
2018-04-02 13:50:24 -03:00
2016-09-29 11:17:08 -03:00
2017-11-02 11:10:55 +01:00
2018-12-17 14:54:02 -03:00
2018-10-18 11:16:38 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 11:20:32 -03:00
2019-03-06 18:19:45 -03:00
2019-02-06 10:00:39 -03:00
2018-12-17 14:57:07 -03:00
2019-03-06 18:19:45 -03:00
2019-02-06 10:00:38 -03:00
2017-11-02 11:10:55 +01:00
2017-08-22 12:19:08 -03:00
2019-01-08 13:28:13 -03:00
2017-06-19 15:27:07 -03:00
2018-04-30 12:02:03 -03:00
2018-10-18 11:16:38 -03:00
2018-04-12 10:33:31 -03:00
2018-11-19 12:12:17 -08:00
2017-11-02 11:10:55 +01:00
2019-03-11 11:56:03 -03:00
2019-03-11 11:56:03 -03:00
2017-11-02 11:10:55 +01:00
2015-12-14 12:30:37 -03:00
2019-03-11 16:32:31 -03:00
2019-03-11 16:32:31 -03:00
2019-03-06 17:55:35 -03:00
2015-08-21 11:34:10 -03:00
2019-03-01 14:48:30 -03:00
2016-09-29 11:17:05 -03:00
2019-01-25 15:12:10 +01:00
2017-11-07 10:30:18 +01:00
2019-01-25 15:12:09 +01:00
2016-10-24 11:07:39 -03:00
2019-02-06 10:00:39 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-30 15:52:20 -03:00
2018-08-20 08:54:58 -03:00
2018-08-20 08:54:59 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2018-03-16 13:52:37 -03:00
2018-03-16 13:52:37 -03:00
2019-02-04 11:32:14 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-14 15:18:09 -03:00
2019-02-14 15:18:09 -03:00
2019-02-06 10:00:39 -03:00
2019-02-06 10:00:39 -03:00
2018-11-19 12:12:26 -08:00
2018-11-19 12:12:26 -08:00
2019-01-17 11:07:00 -03:00
2018-12-17 15:02:17 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-14 15:18:09 -03:00
2018-10-19 16:31:09 -03:00
2018-10-19 16:31:09 -03:00
2019-02-14 15:18:08 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-27 12:15:48 -03:00
2017-12-27 12:15:48 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-11-29 12:13:27 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-06 18:18:17 -03:00
2019-03-06 18:18:17 -03:00
2017-11-07 10:30:18 +01:00
2017-11-07 10:30:18 +01:00
2019-03-11 11:56:03 -03:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:09 +01:00
2018-09-24 04:44:54 -04:00
2018-03-19 13:51:53 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-27 12:15:56 -03:00
2018-12-28 16:33:02 -03:00
2019-01-25 15:12:10 +01:00
2019-01-25 15:12:10 +01:00
2019-01-25 15:12:10 +01:00
2018-03-05 11:52:41 -03:00
2017-09-21 13:28:06 -03:00
2017-09-21 13:28:06 -03:00
2019-01-21 17:00:48 -03:00
2018-08-08 15:26:48 -03:00
2019-02-14 13:31:08 -03:00
2018-08-03 10:34:18 -03:00
2019-01-21 17:00:56 -03:00
2019-01-21 17:00:48 -03:00
2019-01-21 17:00:48 -03:00
2017-11-02 11:10:55 +01:00
2019-03-11 11:56:03 -03:00
2018-09-19 10:25:10 -03:00
2017-07-18 23:14:08 -03:00
2019-02-06 10:00:39 -03:00
2017-08-22 12:09:04 -03:00
2017-08-22 12:09:04 -03:00
2019-03-11 16:32:31 -03:00
2019-03-11 16:32:31 -03:00
2018-12-17 14:57:07 -03:00
2019-02-06 10:00:38 -03:00
2019-02-19 12:30:12 -03:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:08 +01:00
2019-01-25 15:12:10 +01:00
2018-09-19 10:25:10 -03:00
2018-09-19 10:25:10 -03:00
2019-01-04 12:54:49 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-27 12:15:55 -03:00
2017-12-27 12:15:55 -03:00
2017-04-24 13:43:33 -03:00
2019-01-25 15:12:10 +01:00
2018-12-17 14:59:20 -03:00
2017-11-02 11:10:55 +01:00
2019-03-11 11:56:03 -03:00
2019-01-25 15:12:10 +01:00
2019-02-09 13:16:01 +01:00
2019-01-25 15:12:09 +01:00
2019-03-11 11:56:03 -03:00
2019-02-06 10:00:38 -03:00
2018-07-24 14:53:01 -03:00
2017-11-02 11:10:55 +01:00
2016-07-29 11:54:35 -03:00
2017-12-27 12:15:47 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-27 11:29:21 -03:00
2018-02-27 11:29:21 -03:00
2019-03-01 14:50:47 -03:00
2019-03-01 14:50:47 -03:00
2019-03-06 17:55:35 -03:00
2019-03-06 17:55:35 -03:00
2019-03-11 11:56:02 -03:00
2019-03-11 11:56:02 -03:00
2019-01-21 17:00:57 -03:00
2018-12-17 14:58:47 -03:00
2018-12-17 14:58:33 -03:00
2018-10-08 14:23:45 -03:00
2018-12-17 14:56:02 -03:00
2018-12-17 14:56:08 -03:00
2018-08-10 15:29:35 -03:00
2018-12-17 14:56:02 -03:00
2018-12-17 14:56:02 -03:00
2018-03-06 11:31:14 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2019-02-06 10:00:38 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-25 10:58:28 -03:00
2019-02-25 10:58:28 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 10:00:38 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-21 15:15:57 -03:00