Jin Yao
6c93f39f2f
perf list: Display pmu prefix for partially supported hybrid cache events
...
Part of hardware cache events are only available on one CPU PMU.
For example, 'L1-dcache-load-misses' is only available on cpu_core.
perf list should clearly report this info.
root@otcpl-adl-s-2:~# ./perf list
Before:
L1-dcache-load-misses [Hardware cache event]
L1-dcache-loads [Hardware cache event]
L1-dcache-stores [Hardware cache event]
L1-icache-load-misses [Hardware cache event]
L1-icache-loads [Hardware cache event]
LLC-load-misses [Hardware cache event]
LLC-loads [Hardware cache event]
LLC-store-misses [Hardware cache event]
LLC-stores [Hardware cache event]
branch-load-misses [Hardware cache event]
branch-loads [Hardware cache event]
dTLB-load-misses [Hardware cache event]
dTLB-loads [Hardware cache event]
dTLB-store-misses [Hardware cache event]
dTLB-stores [Hardware cache event]
iTLB-load-misses [Hardware cache event]
node-load-misses [Hardware cache event]
node-loads [Hardware cache event]
node-store-misses [Hardware cache event]
node-stores [Hardware cache event]
After:
L1-dcache-loads [Hardware cache event]
L1-dcache-stores [Hardware cache event]
L1-icache-load-misses [Hardware cache event]
LLC-load-misses [Hardware cache event]
LLC-loads [Hardware cache event]
LLC-store-misses [Hardware cache event]
LLC-stores [Hardware cache event]
branch-load-misses [Hardware cache event]
branch-loads [Hardware cache event]
cpu_atom/L1-icache-loads/ [Hardware cache event]
cpu_core/L1-dcache-load-misses/ [Hardware cache event]
cpu_core/node-load-misses/ [Hardware cache event]
cpu_core/node-loads/ [Hardware cache event]
dTLB-load-misses [Hardware cache event]
dTLB-loads [Hardware cache event]
dTLB-store-misses [Hardware cache event]
dTLB-stores [Hardware cache event]
iTLB-load-misses [Hardware cache event]
Now we can clearly see 'L1-dcache-load-misses' is only available
on cpu_core.
If without pmu prefix, it indicates the event is available on both
cpu_core and cpu_atom.
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210909061844.10221-1-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-09-24 15:54:08 -03:00
..
2021-09-15 17:54:52 -03:00
2021-09-17 08:44:19 -03:00
2021-08-11 09:35:44 -03:00
2021-09-17 08:55:00 -03:00
2021-03-23 17:13:43 -03:00
2021-08-11 09:35:24 -03:00
2021-03-23 17:13:43 -03:00
2021-08-10 15:19:49 -03:00
2020-12-08 23:30:04 +09:00
2021-09-10 11:45:19 -03:00
2021-09-17 08:44:19 -03:00
2021-09-10 18:15:22 -03:00
2021-09-18 17:43:05 -03:00
2021-09-24 15:54:08 -03:00
2021-09-11 15:36:16 -03:00
2021-02-09 15:42:57 -03:00
2021-08-02 10:06:51 -03:00
2021-08-10 11:32:37 -03:00
2021-08-02 10:06:51 -03:00
2021-08-02 10:06:51 -03:00
2021-09-08 12:55:35 -07:00
2021-09-21 16:25:41 -03:00
2021-08-31 15:12:00 -03:00
2021-08-02 10:06:51 -03:00
2021-08-02 10:06:51 -03:00
2021-04-23 15:58:10 -03:00
2021-08-02 10:14:34 -03:00
2021-08-02 10:06:51 -03:00
2021-09-17 08:44:19 -03:00
2020-09-09 11:12:10 -03:00
2021-08-02 10:06:51 -03:00
2021-08-02 10:06:51 -03:00
2021-07-07 10:28:10 -03:00
2021-09-17 08:55:00 -03:00
2021-08-02 10:06:51 -03:00
2021-08-02 10:06:51 -03:00
2021-09-18 17:43:05 -03:00
2021-08-30 18:22:23 -03:00
2021-08-02 10:06:51 -03:00
2021-09-17 08:44:19 -03:00
2021-09-17 08:44:19 -03:00
2020-11-04 09:42:40 -03:00
2021-02-09 15:42:57 -03:00
2021-09-10 18:13:20 -03:00
2021-04-20 08:40:20 -03:00
2021-04-20 08:43:58 -03:00
2021-09-11 16:06:52 -03:00
2021-08-31 15:11:55 -03:00
2021-03-04 18:39:45 -08:00
2021-03-06 16:54:31 -03:00
2021-04-20 08:40:20 -03:00
2020-09-10 11:55:37 -03:00
2021-05-27 13:24:22 -03:00