Kan Liang
a50d03e3b8
perf sort: Add sort option for data page size
...
Add a new sort option "data_page_size" for --mem-mode sort. With this
option applied, perf can sort and report by sample's data page size.
Here is an example:
perf report --stdio --mem-mode
--sort=comm,symbol,phys_daddr,data_page_size
# To display the perf.data header info, please use
# --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 9K of event 'mem-loads:uP'
# Total weight : 9028
# Sort order : comm,symbol,phys_daddr,data_page_size
#
# Overhead Command Symbol Data Physical
# Address
# Data Page Size
# ........ ....... ............................
# ...................... ......................
#
11.19% dtlb [.] touch_buffer [.] 0x00000003fec82ea8 4K
8.61% dtlb [.] GetTickCount [.] 0x00000003c4f2c8a8 4K
4.52% dtlb [.] GetTickCount [.] 0x00000003fec82f58 4K
4.33% dtlb [.] __gettimeofday [.] 0x00000003fec82f48 4K
4.32% dtlb [.] GetTickCount [.] 0x00000003fec82f78 4K
4.28% dtlb [.] GetTickCount [.] 0x00000003fec82f50 4K
4.23% dtlb [.] GetTickCount [.] 0x00000003fec82f70 4K
4.11% dtlb [.] GetTickCount [.] 0x00000003fec82f68 4K
4.00% dtlb [.] Calibrate [.] 0x00000003fec82f98 4K
3.91% dtlb [.] Calibrate [.] 0x00000003fec82f90 4K
3.43% dtlb [.] touch_buffer [.] 0x00000003fec82e98 4K
3.42% dtlb [.] touch_buffer [.] 0x00000003fec82e90 4K
0.09% dtlb [.] DoDependentLoads [.] 0x000000036ea084c0 2M
0.08% dtlb [.] DoDependentLoads [.] 0x000000032b010b80 2M
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Stephane Eranian <eranian@google.com>
Cc: Will Deacon <will@kernel.org>
Link: http://lore.kernel.org/lkml/20201216185805.9981-3-kan.liang@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-12-19 17:52:24 -03:00
..
2016-07-04 20:27:27 -03:00
2019-09-27 09:26:14 -03:00
2018-04-26 13:47:10 -03:00
2018-10-24 15:29:50 -03:00
2019-03-19 16:52:04 -03:00
2015-04-29 10:38:06 -03:00
2019-06-05 09:47:57 -03:00
2013-07-08 17:37:25 -03:00
2015-08-21 11:34:10 -03:00
2020-03-11 11:00:33 -03:00
2020-11-11 12:24:51 -03:00
2012-08-13 14:55:02 -03:00
2019-09-30 17:29:51 -03:00
2020-04-18 09:05:00 -03:00
2020-01-14 12:02:19 -03:00
2013-12-09 15:21:45 -03:00
2020-07-28 08:50:48 -03:00
2018-04-26 09:30:26 -03:00
2011-12-23 17:01:03 -02:00
2020-10-15 12:02:12 -03:00
2020-12-17 14:36:17 -03:00
2020-08-06 09:43:37 -03:00
2020-10-14 13:34:48 -03:00
2017-11-16 14:50:07 -03:00
2020-09-04 16:11:16 -03:00
2020-10-13 11:01:42 -03:00
2020-10-14 13:14:40 -03:00
2018-03-07 10:26:32 -03:00
2018-02-16 14:55:42 -03:00
2019-12-02 15:38:59 -03:00
2020-10-14 12:24:28 -03:00
2017-11-16 14:50:04 -03:00
2019-02-04 11:32:14 -03:00
2019-05-25 23:04:42 -04:00
2020-12-17 14:36:17 -03:00
2020-12-19 17:52:24 -03:00
2020-01-06 11:46:09 -03:00
2018-03-07 10:26:32 -03:00
2018-06-06 15:40:10 -03:00
2020-12-19 17:04:39 -03:00
2020-11-04 09:42:41 -03:00
2016-06-30 18:27:45 -03:00
2017-11-16 14:50:06 -03:00
2020-05-29 16:51:38 -03:00
2019-10-15 13:03:49 -03:00
2018-04-02 13:52:23 -03:00
2019-11-06 15:43:05 -03:00
2020-08-06 09:35:06 -03:00
2020-09-17 16:03:31 -03:00
2016-09-01 09:44:13 -03:00
2020-05-28 10:03:26 -03:00
2019-07-02 16:08:16 -03:00
2020-09-17 15:48:31 -03:00