Jiri Olsa
2d388bd0c9
perf c2c report: Add stdio output support
Adding the --stdio option output support. The output
tables are dumped directly to the stdio.
$ perf c2c report
=================================================
Shared Data Cache Line Table
=================================================
#
# Total ----- LLC Load Hitm ----- ---- Store Reference ---- --- Load Dram ---- LLC Total ----- Core Load Hit ----- -- LLC Load Hit --
# Cacheline records %hitm Total Lcl Rmt Total L1Hit L1Miss Lcl Rmt Ld Miss Loads FB L1 L2 Llc Rmt
# .................. ....... ....... ....... ....... ....... ....... ....... ....... ........ ........ ....... ....... ....... ....... ....... ........ ........
#
0xffff88000235f840 17 0.00% 0 0 0 17 17 0 0 0 0 0 0 0 0 0 0
...
=================================================
Shared Cache Line Distribution Pareto
=================================================
#
# ----- HITM ----- -- Store Refs -- Data address ---------- cycles ---------- cpu Shared
# Rmt Lcl L1 Hit L1 Miss Offset Pid Tid rmt hitm lcl hitm load cnt Symbol Object Node
# ....... ....... ....... ....... .................. ....... ..................... ........ ........ ........ ........ .................... ................. ....
#
------------------------------------------------------
0 0 17 0 0xffff88000235f840
------------------------------------------------------
0.00% 0.00% 5.88% 0.00% 0x0 11474 11474:kworker/u16:5 0 0 0 1 [k] rmap_walk_file [kernel.kallsyms] 0
0.00% 0.00% 5.88% 0.00% 0x10 11474 11474:kworker/u16:5 0 0 0 1 [k] lock_page_memcg [kernel.kallsyms] 0
0.00% 0.00% 11.76% 0.00% 0x20 11474 11474:kworker/u16:5 0 0 0 1 [k] page_mapping [kernel.kallsyms] 0
0.00% 0.00% 64.71% 0.00% 0x28 11474 11474:kworker/u16:5 0 0 0 1 [k] __test_set_page_writeback [kernel.kallsyms] 0
0.00% 0.00% 11.76% 0.00% 0x30 11474 11474:kworker/u16:5 0 0 0 1 [k] page_mapped [kernel.kallsyms] 0
...
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-eorco9r0oeesjve77pkkg43s@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-10-19 13:18:31 -03:00
..
2016-10-05 08:14:22 -03:00
2016-08-23 15:37:33 -03:00
2016-10-05 19:51:53 -03:00
2016-10-17 11:25:34 -03:00
2016-10-17 13:39:47 -03:00
2016-07-12 16:23:35 -03:00
2016-08-04 11:02:38 +02:00
2016-09-29 11:18:21 -03:00
2016-09-19 11:25:07 -03:00
2016-10-13 11:10:14 -03:00
2016-10-19 13:18:31 -03:00
2016-05-30 12:41:46 -03:00
2016-10-19 13:18:31 -03:00
2016-09-08 13:44:03 -03:00
2015-12-17 14:27:14 -03:00
2016-07-12 15:19:47 -03:00
2015-12-17 14:27:14 -03:00
2016-10-19 13:18:31 -03:00
2016-06-23 17:23:00 -03:00
2016-06-28 10:54:57 -03:00
2016-08-23 15:37:33 -03:00
2016-06-23 11:26:15 -03:00
2016-07-12 15:19:47 -03:00
2016-09-05 11:14:50 -03:00
2016-09-05 11:14:50 -03:00
2016-08-23 15:37:33 -03:00
2016-10-03 21:35:47 -03:00
2015-12-17 14:27:14 -03:00
2016-08-12 14:39:48 -03:00
2016-09-01 12:42:22 -03:00
2016-09-29 11:17:02 -03:00
2016-09-13 16:43:41 -03:00
2016-08-23 15:37:33 -03:00
2016-09-05 11:14:50 -03:00
2016-09-22 13:07:36 -03:00
2016-08-23 15:37:33 -03:00
2016-09-22 13:07:36 -03:00
2016-09-29 11:16:59 -03:00
2015-12-09 13:42:03 -03:00
2016-10-19 13:18:31 -03:00
2016-01-08 12:46:17 -03:00
2014-03-18 18:17:06 -03:00
2016-02-04 15:57:00 -03:00
2016-09-22 12:19:30 -03:00
2016-10-03 19:55:55 -03:00
2016-09-13 15:26:08 -03:00
2015-03-19 13:53:27 -03:00
2014-10-29 10:32:48 -02:00
2016-09-08 13:44:07 -03:00
2015-08-06 16:48:27 -03:00
2016-10-19 13:18:31 -03:00
2016-08-23 15:37:33 -03:00