Skip to content

Commit d396422

Browse files
Ganapatrao Kulkarniacmel
authored andcommitted
perf vendor events arm64: Add ThunderX2 implementation defined pmu core events
This is not a full event list, but a short list of useful events. Signed-off-by: Ganapatrao Kulkarni <[email protected]> Acked-by: Will Deacon <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Ganapatrao Kulkarni <[email protected]> Cc: Jayachandran C <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Robert Richter <[email protected]> Cc: Shaokun Zhang <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 14b22ae commit d396422

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[
2+
{
3+
"PublicDescription": "Attributable Level 1 data cache access, read",
4+
"EventCode": "0x40",
5+
"EventName": "l1d_cache_rd",
6+
"BriefDescription": "L1D cache read",
7+
},
8+
{
9+
"PublicDescription": "Attributable Level 1 data cache access, write ",
10+
"EventCode": "0x41",
11+
"EventName": "l1d_cache_wr",
12+
"BriefDescription": "L1D cache write",
13+
},
14+
{
15+
"PublicDescription": "Attributable Level 1 data cache refill, read",
16+
"EventCode": "0x42",
17+
"EventName": "l1d_cache_refill_rd",
18+
"BriefDescription": "L1D cache refill read",
19+
},
20+
{
21+
"PublicDescription": "Attributable Level 1 data cache refill, write",
22+
"EventCode": "0x43",
23+
"EventName": "l1d_cache_refill_wr",
24+
"BriefDescription": "L1D refill write",
25+
},
26+
{
27+
"PublicDescription": "Attributable Level 1 data TLB refill, read",
28+
"EventCode": "0x4C",
29+
"EventName": "l1d_tlb_refill_rd",
30+
"BriefDescription": "L1D tlb refill read",
31+
},
32+
{
33+
"PublicDescription": "Attributable Level 1 data TLB refill, write",
34+
"EventCode": "0x4D",
35+
"EventName": "l1d_tlb_refill_wr",
36+
"BriefDescription": "L1D tlb refill write",
37+
},
38+
{
39+
"PublicDescription": "Attributable Level 1 data or unified TLB access, read",
40+
"EventCode": "0x4E",
41+
"EventName": "l1d_tlb_rd",
42+
"BriefDescription": "L1D tlb read",
43+
},
44+
{
45+
"PublicDescription": "Attributable Level 1 data or unified TLB access, write",
46+
"EventCode": "0x4F",
47+
"EventName": "l1d_tlb_wr",
48+
"BriefDescription": "L1D tlb write",
49+
},
50+
{
51+
"PublicDescription": "Bus access read",
52+
"EventCode": "0x60",
53+
"EventName": "bus_access_rd",
54+
"BriefDescription": "Bus access read",
55+
},
56+
{
57+
"PublicDescription": "Bus access write",
58+
"EventCode": "0x61",
59+
"EventName": "bus_access_wr",
60+
"BriefDescription": "Bus access write",
61+
}
62+
]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Format:
2+
# MIDR,Version,JSON/file/pathname,Type
3+
#
4+
# where
5+
# MIDR Processor version
6+
# Variant[23:20] and Revision [3:0] should be zero.
7+
# Version could be used to track version of of JSON file
8+
# but currently unused.
9+
# JSON/file/pathname is the path to JSON file, relative
10+
# to tools/perf/pmu-events/arch/arm64/.
11+
# Type is core, uncore etc
12+
#
13+
#
14+
#Family-model,Version,Filename,EventType
15+
0x00000000420f5160,v1,cavium,core

0 commit comments

Comments
 (0)