diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/pmu-events/arch/arm64/hisilicon/hip08/core-imp-def.json | 122 | ||||
-rw-r--r-- | tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 |
2 files changed, 123 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/core-imp-def.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/core-imp-def.json new file mode 100644 index 000000000000..9f0f15d15f75 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/core-imp-def.json | |||
@@ -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 | ] | ||
diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv index cf14e23b6404..8f11aeb003a9 100644 --- a/tools/perf/pmu-events/arch/arm64/mapfile.csv +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv | |||
@@ -14,3 +14,4 @@ | |||
14 | #Family-model,Version,Filename,EventType | 14 | #Family-model,Version,Filename,EventType |
15 | 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core | 15 | 0x00000000410fd03[[:xdigit:]],v1,arm/cortex-a53,core |
16 | 0x00000000420f5160,v1,cavium/thunderx2,core | 16 | 0x00000000420f5160,v1,cavium/thunderx2,core |
17 | 0x00000000480fd010,v1,hisilicon/hip08,core | ||