Skip to content

Commit ae43053

Browse files
John Garryacmel
authored andcommitted
perf vendor events arm64: Fixup ThunderX2 to use recommended events
This patch fixes the Cavium ThunderX2 JSON to use event definitions from the ARMv8 recommended events. Signed-off-by: John Garry <[email protected]> Tested-by: Ganapatrao Kulkarni <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Shaokun Zhang <[email protected]> Cc: Will Deacon <[email protected]> Cc: William Cohen <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 360b7b0 commit ae43053

File tree

1 file changed

+10
-40
lines changed

1 file changed

+10
-40
lines changed
Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,32 @@
11
[
22
{
3-
"PublicDescription": "Attributable Level 1 data cache access, read",
4-
"EventCode": "0x40",
5-
"EventName": "l1d_cache_rd",
6-
"BriefDescription": "L1D cache read",
3+
"ArchStdEvent": "L1D_CACHE_RD",
74
},
85
{
9-
"PublicDescription": "Attributable Level 1 data cache access, write ",
10-
"EventCode": "0x41",
11-
"EventName": "l1d_cache_wr",
12-
"BriefDescription": "L1D cache write",
6+
"ArchStdEvent": "L1D_CACHE_WR",
137
},
148
{
15-
"PublicDescription": "Attributable Level 1 data cache refill, read",
16-
"EventCode": "0x42",
17-
"EventName": "l1d_cache_refill_rd",
18-
"BriefDescription": "L1D cache refill read",
9+
"ArchStdEvent": "L1D_CACHE_REFILL_RD",
1910
},
2011
{
21-
"PublicDescription": "Attributable Level 1 data cache refill, write",
22-
"EventCode": "0x43",
23-
"EventName": "l1d_cache_refill_wr",
24-
"BriefDescription": "L1D refill write",
12+
"ArchStdEvent": "L1D_CACHE_REFILL_WR",
2513
},
2614
{
27-
"PublicDescription": "Attributable Level 1 data TLB refill, read",
28-
"EventCode": "0x4C",
29-
"EventName": "l1d_tlb_refill_rd",
30-
"BriefDescription": "L1D tlb refill read",
15+
"ArchStdEvent": "L1D_TLB_REFILL_RD",
3116
},
3217
{
33-
"PublicDescription": "Attributable Level 1 data TLB refill, write",
34-
"EventCode": "0x4D",
35-
"EventName": "l1d_tlb_refill_wr",
36-
"BriefDescription": "L1D tlb refill write",
18+
"ArchStdEvent": "L1D_TLB_REFILL_WR",
3719
},
3820
{
39-
"PublicDescription": "Attributable Level 1 data or unified TLB access, read",
40-
"EventCode": "0x4E",
41-
"EventName": "l1d_tlb_rd",
42-
"BriefDescription": "L1D tlb read",
21+
"ArchStdEvent": "L1D_TLB_RD",
4322
},
4423
{
45-
"PublicDescription": "Attributable Level 1 data or unified TLB access, write",
46-
"EventCode": "0x4F",
47-
"EventName": "l1d_tlb_wr",
48-
"BriefDescription": "L1D tlb write",
24+
"ArchStdEvent": "L1D_TLB_WR",
4925
},
5026
{
51-
"PublicDescription": "Bus access read",
52-
"EventCode": "0x60",
53-
"EventName": "bus_access_rd",
54-
"BriefDescription": "Bus access read",
27+
"ArchStdEvent": "BUS_ACCESS_RD",
5528
},
5629
{
57-
"PublicDescription": "Bus access write",
58-
"EventCode": "0x61",
59-
"EventName": "bus_access_wr",
60-
"BriefDescription": "Bus access write",
30+
"ArchStdEvent": "BUS_ACCESS_WR",
6131
}
6232
]

0 commit comments

Comments
 (0)