Skip to content

Commit 3d4caec

Browse files
John Garryacmel
authored andcommitted
perf vendor events arm64: add HiSilicon hip08 JSON file
This patch adds the HiSilicon hip08 JSON file. This platform follows the ARMv8 recommended IMPLEMENTATION DEFINED events, where applicable. Signed-off-by: John Garry <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ganapatrao Kulkarni <[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 afe4d08 commit 3d4caec

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
[
2+
{
3+
"ArchStdEvent": "L1D_CACHE_RD",
4+
},
5+
{
6+
"ArchStdEvent": "L1D_CACHE_WR",
7+
},
8+
{
9+
"ArchStdEvent": "L1D_CACHE_REFILL_RD",
10+
},
11+
{
12+
"ArchStdEvent": "L1D_CACHE_REFILL_WR",
13+
},
14+
{
15+
"ArchStdEvent": "L1D_CACHE_WB_VICTIM",
16+
},
17+
{
18+
"ArchStdEvent": "L1D_CACHE_WB_CLEAN",
19+
},
20+
{
21+
"ArchStdEvent": "L1D_CACHE_INVAL",
22+
},
23+
{
24+
"ArchStdEvent": "L1D_TLB_REFILL_RD",
25+
},
26+
{
27+
"ArchStdEvent": "L1D_TLB_REFILL_WR",
28+
},
29+
{
30+
"ArchStdEvent": "L1D_TLB_RD",
31+
},
32+
{
33+
"ArchStdEvent": "L1D_TLB_WR",
34+
},
35+
{
36+
"ArchStdEvent": "L2D_CACHE_RD",
37+
},
38+
{
39+
"ArchStdEvent": "L2D_CACHE_WR",
40+
},
41+
{
42+
"ArchStdEvent": "L2D_CACHE_REFILL_RD",
43+
},
44+
{
45+
"ArchStdEvent": "L2D_CACHE_REFILL_WR",
46+
},
47+
{
48+
"ArchStdEvent": "L2D_CACHE_WB_VICTIM",
49+
},
50+
{
51+
"ArchStdEvent": "L2D_CACHE_WB_CLEAN",
52+
},
53+
{
54+
"ArchStdEvent": "L2D_CACHE_INVAL",
55+
},
56+
{
57+
"PublicDescription": "Level 1 instruction cache prefetch access count",
58+
"EventCode": "0x102e",
59+
"EventName": "L1I_CACHE_PRF",
60+
"BriefDescription": "L1I cache prefetch access count",
61+
},
62+
{
63+
"PublicDescription": "Level 1 instruction cache miss due to prefetch access count",
64+
"EventCode": "0x102f",
65+
"EventName": "L1I_CACHE_PRF_REFILL",
66+
"BriefDescription": "L1I cache miss due to prefetch access count",
67+
},
68+
{
69+
"PublicDescription": "Instruction queue is empty",
70+
"EventCode": "0x1043",
71+
"EventName": "IQ_IS_EMPTY",
72+
"BriefDescription": "Instruction queue is empty",
73+
},
74+
{
75+
"PublicDescription": "Instruction fetch stall cycles",
76+
"EventCode": "0x1044",
77+
"EventName": "IF_IS_STALL",
78+
"BriefDescription": "Instruction fetch stall cycles",
79+
},
80+
{
81+
"PublicDescription": "Instructions can receive, but not send",
82+
"EventCode": "0x2014",
83+
"EventName": "FETCH_BUBBLE",
84+
"BriefDescription": "Instructions can receive, but not send",
85+
},
86+
{
87+
"PublicDescription": "Prefetch request from LSU",
88+
"EventCode": "0x6013",
89+
"EventName": "PRF_REQ",
90+
"BriefDescription": "Prefetch request from LSU",
91+
},
92+
{
93+
"PublicDescription": "Hit on prefetched data",
94+
"EventCode": "0x6014",
95+
"EventName": "HIT_ON_PRF",
96+
"BriefDescription": "Hit on prefetched data",
97+
},
98+
{
99+
"PublicDescription": "Cycles of that the number of issuing micro operations are less than 4",
100+
"EventCode": "0x7001",
101+
"EventName": "EXE_STALL_CYCLE",
102+
"BriefDescription": "Cycles of that the number of issue ups are less than 4",
103+
},
104+
{
105+
"PublicDescription": "No any micro operation is issued and meanwhile any load operation is not resolved",
106+
"EventCode": "0x7004",
107+
"EventName": "MEM_STALL_ANYLOAD",
108+
"BriefDescription": "No any micro operation is issued and meanwhile any load operation is not resolved",
109+
},
110+
{
111+
"PublicDescription": "No any micro operation is issued and meanwhile there is any load operation missing L1 cache and pending data refill",
112+
"EventCode": "0x7006",
113+
"EventName": "MEM_STALL_L1MISS",
114+
"BriefDescription": "No any micro operation is issued and meanwhile there is any load operation missing L1 cache and pending data refill",
115+
},
116+
{
117+
"PublicDescription": "No any micro operation is issued and meanwhile there is any load operation missing both L1 and L2 cache and pending data refill from L3 cache",
118+
"EventCode": "0x7007",
119+
"EventName": "MEM_STALL_L2MISS",
120+
"BriefDescription": "No any micro operation is issued and meanwhile there is any load operation missing both L1 and L2 cache and pending data refill from L3 cache",
121+
},
122+
]

tools/perf/pmu-events/arch/arm64/mapfile.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
#Family-model,Version,Filename,EventType
1515
0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core
1616
0x00000000420f5160,v1,cavium/thunderx2,core
17+
0x00000000480fd010,v1,hisilicon/hip08,core

0 commit comments

Comments
 (0)