1 // This file is auto-generated by generate-event_table.py.
2 
3 EVENT_TYPE_TABLE_ENTRY("cpu-cycles", PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, "", "")
4 EVENT_TYPE_TABLE_ENTRY("instructions", PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS, "", "")
5 EVENT_TYPE_TABLE_ENTRY("cache-references", PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_REFERENCES, "",
6                        "")
7 EVENT_TYPE_TABLE_ENTRY("cache-misses", PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_MISSES, "", "")
8 EVENT_TYPE_TABLE_ENTRY("branch-instructions", PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INSTRUCTIONS,
9                        "", "")
10 EVENT_TYPE_TABLE_ENTRY("branch-misses", PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES, "", "")
11 EVENT_TYPE_TABLE_ENTRY("bus-cycles", PERF_TYPE_HARDWARE, PERF_COUNT_HW_BUS_CYCLES, "", "")
12 EVENT_TYPE_TABLE_ENTRY("stalled-cycles-frontend", PERF_TYPE_HARDWARE,
13                        PERF_COUNT_HW_STALLED_CYCLES_FRONTEND, "", "")
14 EVENT_TYPE_TABLE_ENTRY("stalled-cycles-backend", PERF_TYPE_HARDWARE,
15                        PERF_COUNT_HW_STALLED_CYCLES_BACKEND, "", "")
16 
17 EVENT_TYPE_TABLE_ENTRY("cpu-clock", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK, "", "")
18 EVENT_TYPE_TABLE_ENTRY("task-clock", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_TASK_CLOCK, "", "")
19 EVENT_TYPE_TABLE_ENTRY("page-faults", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS, "", "")
20 EVENT_TYPE_TABLE_ENTRY("context-switches", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CONTEXT_SWITCHES, "",
21                        "")
22 EVENT_TYPE_TABLE_ENTRY("cpu-migrations", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_MIGRATIONS, "", "")
23 EVENT_TYPE_TABLE_ENTRY("minor-faults", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MIN, "", "")
24 EVENT_TYPE_TABLE_ENTRY("major-faults", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MAJ, "", "")
25 EVENT_TYPE_TABLE_ENTRY("alignment-faults", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_ALIGNMENT_FAULTS, "",
26                        "")
27 EVENT_TYPE_TABLE_ENTRY("emulation-faults", PERF_TYPE_SOFTWARE, PERF_COUNT_SW_EMULATION_FAULTS, "",
28                        "")
29 
30 EVENT_TYPE_TABLE_ENTRY("L1-dcache-loads", PERF_TYPE_HW_CACHE,
31                        ((PERF_COUNT_HW_CACHE_L1D) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
32                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
33                        "", "")
34 EVENT_TYPE_TABLE_ENTRY("L1-dcache-load-misses", PERF_TYPE_HW_CACHE,
35                        ((PERF_COUNT_HW_CACHE_L1D) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
36                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
37                        "", "")
38 EVENT_TYPE_TABLE_ENTRY("L1-dcache-stores", PERF_TYPE_HW_CACHE,
39                        ((PERF_COUNT_HW_CACHE_L1D) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
40                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
41                        "", "")
42 EVENT_TYPE_TABLE_ENTRY("L1-dcache-store-misses", PERF_TYPE_HW_CACHE,
43                        ((PERF_COUNT_HW_CACHE_L1D) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
44                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
45                        "", "")
46 EVENT_TYPE_TABLE_ENTRY("L1-dcache-prefetches", PERF_TYPE_HW_CACHE,
47                        ((PERF_COUNT_HW_CACHE_L1D) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
48                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
49                        "", "")
50 EVENT_TYPE_TABLE_ENTRY("L1-dcache-prefetch-misses", PERF_TYPE_HW_CACHE,
51                        ((PERF_COUNT_HW_CACHE_L1D) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
52                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
53                        "", "")
54 EVENT_TYPE_TABLE_ENTRY("L1-icache-loads", PERF_TYPE_HW_CACHE,
55                        ((PERF_COUNT_HW_CACHE_L1I) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
56                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
57                        "", "")
58 EVENT_TYPE_TABLE_ENTRY("L1-icache-load-misses", PERF_TYPE_HW_CACHE,
59                        ((PERF_COUNT_HW_CACHE_L1I) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
60                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
61                        "", "")
62 EVENT_TYPE_TABLE_ENTRY("L1-icache-stores", PERF_TYPE_HW_CACHE,
63                        ((PERF_COUNT_HW_CACHE_L1I) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
64                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
65                        "", "")
66 EVENT_TYPE_TABLE_ENTRY("L1-icache-store-misses", PERF_TYPE_HW_CACHE,
67                        ((PERF_COUNT_HW_CACHE_L1I) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
68                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
69                        "", "")
70 EVENT_TYPE_TABLE_ENTRY("L1-icache-prefetches", PERF_TYPE_HW_CACHE,
71                        ((PERF_COUNT_HW_CACHE_L1I) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
72                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
73                        "", "")
74 EVENT_TYPE_TABLE_ENTRY("L1-icache-prefetch-misses", PERF_TYPE_HW_CACHE,
75                        ((PERF_COUNT_HW_CACHE_L1I) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
76                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
77                        "", "")
78 EVENT_TYPE_TABLE_ENTRY("LLC-loads", PERF_TYPE_HW_CACHE,
79                        ((PERF_COUNT_HW_CACHE_LL) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
80                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
81                        "", "")
82 EVENT_TYPE_TABLE_ENTRY("LLC-load-misses", PERF_TYPE_HW_CACHE,
83                        ((PERF_COUNT_HW_CACHE_LL) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
84                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
85                        "", "")
86 EVENT_TYPE_TABLE_ENTRY("LLC-stores", PERF_TYPE_HW_CACHE,
87                        ((PERF_COUNT_HW_CACHE_LL) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
88                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
89                        "", "")
90 EVENT_TYPE_TABLE_ENTRY("LLC-store-misses", PERF_TYPE_HW_CACHE,
91                        ((PERF_COUNT_HW_CACHE_LL) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
92                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
93                        "", "")
94 EVENT_TYPE_TABLE_ENTRY("LLC-prefetches", PERF_TYPE_HW_CACHE,
95                        ((PERF_COUNT_HW_CACHE_LL) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
96                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
97                        "", "")
98 EVENT_TYPE_TABLE_ENTRY("LLC-prefetch-misses", PERF_TYPE_HW_CACHE,
99                        ((PERF_COUNT_HW_CACHE_LL) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
100                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
101                        "", "")
102 EVENT_TYPE_TABLE_ENTRY("dTLB-loads", PERF_TYPE_HW_CACHE,
103                        ((PERF_COUNT_HW_CACHE_DTLB) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
104                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
105                        "", "")
106 EVENT_TYPE_TABLE_ENTRY("dTLB-load-misses", PERF_TYPE_HW_CACHE,
107                        ((PERF_COUNT_HW_CACHE_DTLB) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
108                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
109                        "", "")
110 EVENT_TYPE_TABLE_ENTRY("dTLB-stores", PERF_TYPE_HW_CACHE,
111                        ((PERF_COUNT_HW_CACHE_DTLB) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
112                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
113                        "", "")
114 EVENT_TYPE_TABLE_ENTRY("dTLB-store-misses", PERF_TYPE_HW_CACHE,
115                        ((PERF_COUNT_HW_CACHE_DTLB) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
116                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
117                        "", "")
118 EVENT_TYPE_TABLE_ENTRY("dTLB-prefetches", PERF_TYPE_HW_CACHE,
119                        ((PERF_COUNT_HW_CACHE_DTLB) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
120                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
121                        "", "")
122 EVENT_TYPE_TABLE_ENTRY("dTLB-prefetch-misses", PERF_TYPE_HW_CACHE,
123                        ((PERF_COUNT_HW_CACHE_DTLB) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
124                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
125                        "", "")
126 EVENT_TYPE_TABLE_ENTRY("iTLB-loads", PERF_TYPE_HW_CACHE,
127                        ((PERF_COUNT_HW_CACHE_ITLB) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
128                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
129                        "", "")
130 EVENT_TYPE_TABLE_ENTRY("iTLB-load-misses", PERF_TYPE_HW_CACHE,
131                        ((PERF_COUNT_HW_CACHE_ITLB) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
132                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
133                        "", "")
134 EVENT_TYPE_TABLE_ENTRY("iTLB-stores", PERF_TYPE_HW_CACHE,
135                        ((PERF_COUNT_HW_CACHE_ITLB) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
136                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
137                        "", "")
138 EVENT_TYPE_TABLE_ENTRY("iTLB-store-misses", PERF_TYPE_HW_CACHE,
139                        ((PERF_COUNT_HW_CACHE_ITLB) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
140                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
141                        "", "")
142 EVENT_TYPE_TABLE_ENTRY("iTLB-prefetches", PERF_TYPE_HW_CACHE,
143                        ((PERF_COUNT_HW_CACHE_ITLB) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
144                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
145                        "", "")
146 EVENT_TYPE_TABLE_ENTRY("iTLB-prefetch-misses", PERF_TYPE_HW_CACHE,
147                        ((PERF_COUNT_HW_CACHE_ITLB) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
148                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
149                        "", "")
150 EVENT_TYPE_TABLE_ENTRY("branch-loads", PERF_TYPE_HW_CACHE,
151                        ((PERF_COUNT_HW_CACHE_BPU) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
152                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
153                        "", "")
154 EVENT_TYPE_TABLE_ENTRY("branch-load-misses", PERF_TYPE_HW_CACHE,
155                        ((PERF_COUNT_HW_CACHE_BPU) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
156                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
157                        "", "")
158 EVENT_TYPE_TABLE_ENTRY("branch-stores", PERF_TYPE_HW_CACHE,
159                        ((PERF_COUNT_HW_CACHE_BPU) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
160                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
161                        "", "")
162 EVENT_TYPE_TABLE_ENTRY("branch-store-misses", PERF_TYPE_HW_CACHE,
163                        ((PERF_COUNT_HW_CACHE_BPU) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
164                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
165                        "", "")
166 EVENT_TYPE_TABLE_ENTRY("branch-prefetches", PERF_TYPE_HW_CACHE,
167                        ((PERF_COUNT_HW_CACHE_BPU) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
168                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
169                        "", "")
170 EVENT_TYPE_TABLE_ENTRY("branch-prefetch-misses", PERF_TYPE_HW_CACHE,
171                        ((PERF_COUNT_HW_CACHE_BPU) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
172                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
173                        "", "")
174 EVENT_TYPE_TABLE_ENTRY("node-loads", PERF_TYPE_HW_CACHE,
175                        ((PERF_COUNT_HW_CACHE_NODE) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
176                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
177                        "", "")
178 EVENT_TYPE_TABLE_ENTRY("node-load-misses", PERF_TYPE_HW_CACHE,
179                        ((PERF_COUNT_HW_CACHE_NODE) | (PERF_COUNT_HW_CACHE_OP_READ << 8) |
180                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
181                        "", "")
182 EVENT_TYPE_TABLE_ENTRY("node-stores", PERF_TYPE_HW_CACHE,
183                        ((PERF_COUNT_HW_CACHE_NODE) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
184                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
185                        "", "")
186 EVENT_TYPE_TABLE_ENTRY("node-store-misses", PERF_TYPE_HW_CACHE,
187                        ((PERF_COUNT_HW_CACHE_NODE) | (PERF_COUNT_HW_CACHE_OP_WRITE << 8) |
188                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
189                        "", "")
190 EVENT_TYPE_TABLE_ENTRY("node-prefetches", PERF_TYPE_HW_CACHE,
191                        ((PERF_COUNT_HW_CACHE_NODE) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
192                         (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)),
193                        "", "")
194 EVENT_TYPE_TABLE_ENTRY("node-prefetch-misses", PERF_TYPE_HW_CACHE,
195                        ((PERF_COUNT_HW_CACHE_NODE) | (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) |
196                         (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)),
197                        "", "")
198 
199 EVENT_TYPE_TABLE_ENTRY(
200     "raw-sw-incr", PERF_TYPE_RAW, 0x0,
201     "Instruction architecturally executed, Condition code check pass, software increment", "arm")
202 EVENT_TYPE_TABLE_ENTRY("raw-l1i-cache-refill", PERF_TYPE_RAW, 0x1,
203                        "Level 1 instruction cache refill", "arm")
204 EVENT_TYPE_TABLE_ENTRY("raw-l1i-tlb-refill", PERF_TYPE_RAW, 0x2,
205                        "Attributable Level 1 instruction TLB refill", "arm")
206 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-refill", PERF_TYPE_RAW, 0x3, "Level 1 data cache refill",
207                        "arm")
208 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache", PERF_TYPE_RAW, 0x4, "Level 1 data cache access", "arm")
209 EVENT_TYPE_TABLE_ENTRY("raw-l1d-tlb-refill", PERF_TYPE_RAW, 0x5,
210                        "Attributable Level 1 data TLB refill", "arm")
211 EVENT_TYPE_TABLE_ENTRY("raw-ld-retired", PERF_TYPE_RAW, 0x6,
212                        "Instruction architecturally executed, Condition code check pass, load",
213                        "arm")
214 EVENT_TYPE_TABLE_ENTRY("raw-st-retired", PERF_TYPE_RAW, 0x7,
215                        "Instruction architecturally executed, Condition code check pass, store",
216                        "arm")
217 EVENT_TYPE_TABLE_ENTRY("raw-inst-retired", PERF_TYPE_RAW, 0x8,
218                        "Instruction architecturally executed", "arm")
219 EVENT_TYPE_TABLE_ENTRY("raw-exc-taken", PERF_TYPE_RAW, 0x9, "Exception taken", "arm")
220 EVENT_TYPE_TABLE_ENTRY(
221     "raw-exc-return", PERF_TYPE_RAW, 0xa,
222     "Instruction architecturally executed, Condition code check pass, exception return", "arm")
223 EVENT_TYPE_TABLE_ENTRY(
224     "raw-cid-write-retired", PERF_TYPE_RAW, 0xb,
225     "Instruction architecturally executed, Condition code check pass, write to CONTEXTIDR", "arm")
226 EVENT_TYPE_TABLE_ENTRY(
227     "raw-pc-write-retired", PERF_TYPE_RAW, 0xc,
228     "Instruction architecturally executed, Condition code check pass, software change of the PC",
229     "arm")
230 EVENT_TYPE_TABLE_ENTRY("raw-br-immed-retired", PERF_TYPE_RAW, 0xd,
231                        "Instruction architecturally executed, immediate branch", "arm")
232 EVENT_TYPE_TABLE_ENTRY(
233     "raw-br-return-retired", PERF_TYPE_RAW, 0xe,
234     "Instruction architecturally executed, Condition code check pass, procedure return", "arm")
235 EVENT_TYPE_TABLE_ENTRY(
236     "raw-unaligned-ldst-retired", PERF_TYPE_RAW, 0xf,
237     "Instruction architecturally executed, Condition code check pass, unaligned load or store",
238     "arm")
239 EVENT_TYPE_TABLE_ENTRY("raw-br-mis-pred", PERF_TYPE_RAW, 0x10,
240                        "Mispredicted or not predicted branch Speculatively executed", "arm")
241 EVENT_TYPE_TABLE_ENTRY("raw-cpu-cycles", PERF_TYPE_RAW, 0x11, "Cycle", "arm")
242 EVENT_TYPE_TABLE_ENTRY("raw-br-pred", PERF_TYPE_RAW, 0x12,
243                        "Predictable branch Speculatively executed", "arm")
244 EVENT_TYPE_TABLE_ENTRY("raw-mem-access", PERF_TYPE_RAW, 0x13, "Data memory access", "arm")
245 EVENT_TYPE_TABLE_ENTRY("raw-l1i-cache", PERF_TYPE_RAW, 0x14,
246                        "Attributable Level 1 instruction cache access", "arm")
247 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-wb", PERF_TYPE_RAW, 0x15,
248                        "Attributable Level 1 data cache write-back", "arm")
249 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache", PERF_TYPE_RAW, 0x16, "Level 2 data cache access", "arm")
250 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-refill", PERF_TYPE_RAW, 0x17, "Level 2 data cache refill",
251                        "arm")
252 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-wb", PERF_TYPE_RAW, 0x18,
253                        "Attributable Level 2 data cache write-back", "arm")
254 EVENT_TYPE_TABLE_ENTRY("raw-bus-access", PERF_TYPE_RAW, 0x19, "Bus access", "arm")
255 EVENT_TYPE_TABLE_ENTRY("raw-memory-error", PERF_TYPE_RAW, 0x1a, "Local memory error", "arm")
256 EVENT_TYPE_TABLE_ENTRY("raw-inst-spec", PERF_TYPE_RAW, 0x1b, "Operation Speculatively executed",
257                        "arm")
258 EVENT_TYPE_TABLE_ENTRY(
259     "raw-ttbr-write-retired", PERF_TYPE_RAW, 0x1c,
260     "Instruction architecturally executed, Condition code check pass, write to TTBR", "arm")
261 EVENT_TYPE_TABLE_ENTRY("raw-bus-cycles", PERF_TYPE_RAW, 0x1d, "Bus cycle", "arm")
262 EVENT_TYPE_TABLE_ENTRY(
263     "raw-chain", PERF_TYPE_RAW, 0x1e,
264     "For odd-numbered counters, increments the count by one for each overflow of the preceding "
265     "even-numbered counter. For even-numbered counters, there is no increment.",
266     "arm")
267 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-allocate", PERF_TYPE_RAW, 0x1f,
268                        "Attributable Level 1 data cache allocation without refill", "arm")
269 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-allocate", PERF_TYPE_RAW, 0x20,
270                        "Attributable Level 2 data cache allocation without refill", "arm")
271 EVENT_TYPE_TABLE_ENTRY("raw-br-retired", PERF_TYPE_RAW, 0x21,
272                        "Instruction architecturally executed, branch", "arm")
273 EVENT_TYPE_TABLE_ENTRY("raw-br-mis-pred-retired", PERF_TYPE_RAW, 0x22,
274                        "Instruction architecturally executed, mispredicted branch", "arm")
275 EVENT_TYPE_TABLE_ENTRY("raw-stall-frontend", PERF_TYPE_RAW, 0x23,
276                        "No operation issued due to the frontend", "arm")
277 EVENT_TYPE_TABLE_ENTRY("raw-stall-backend", PERF_TYPE_RAW, 0x24,
278                        "No operation issued due to backend", "arm")
279 EVENT_TYPE_TABLE_ENTRY("raw-l1d-tlb", PERF_TYPE_RAW, 0x25,
280                        "Attributable Level 1 data or unified TLB access", "arm")
281 EVENT_TYPE_TABLE_ENTRY("raw-l1i-tlb", PERF_TYPE_RAW, 0x26,
282                        "Attributable Level 1 instruction TLB access", "arm")
283 EVENT_TYPE_TABLE_ENTRY("raw-l2i-cache", PERF_TYPE_RAW, 0x27,
284                        "Attributable Level 2 instruction cache access", "arm")
285 EVENT_TYPE_TABLE_ENTRY("raw-l2i-cache-refill", PERF_TYPE_RAW, 0x28,
286                        "Attributable Level 2 instruction cache refill", "arm")
287 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-allocate", PERF_TYPE_RAW, 0x29,
288                        "Attributable Level 3 data or unified cache allocation without refill",
289                        "arm")
290 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-refill", PERF_TYPE_RAW, 0x2a,
291                        "Attributable Level 3 data cache refill", "arm")
292 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache", PERF_TYPE_RAW, 0x2b,
293                        "Attributable Level 3 data cache access", "arm")
294 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-wb", PERF_TYPE_RAW, 0x2c,
295                        "Attributable Level 3 data or unified cache write-back", "arm")
296 EVENT_TYPE_TABLE_ENTRY("raw-l2d-tlb-refill", PERF_TYPE_RAW, 0x2d,
297                        "Attributable Level 2 data or unified TLB refill", "arm")
298 EVENT_TYPE_TABLE_ENTRY("raw-l2i-tlb-refill", PERF_TYPE_RAW, 0x2e,
299                        "Attributable Level 2 instruction TLB refill", "arm")
300 EVENT_TYPE_TABLE_ENTRY("raw-l2d-tlb", PERF_TYPE_RAW, 0x2f,
301                        "Attributable Level 2 data or unified TLB access", "arm")
302 EVENT_TYPE_TABLE_ENTRY("raw-l2i-tlb", PERF_TYPE_RAW, 0x30,
303                        "Attributable Level 2 instruction TLB access", "arm")
304 EVENT_TYPE_TABLE_ENTRY("raw-remote-access", PERF_TYPE_RAW, 0x31,
305                        "Attributable access to another socket in a multi-socket system", "arm")
306 EVENT_TYPE_TABLE_ENTRY("raw-ll-cache", PERF_TYPE_RAW, 0x32,
307                        "Attributable Last Level data cache access", "arm")
308 EVENT_TYPE_TABLE_ENTRY("raw-ll-cache-miss", PERF_TYPE_RAW, 0x33,
309                        "Attributable Last level data or unified cache miss", "arm")
310 EVENT_TYPE_TABLE_ENTRY(
311     "raw-dtlb-walk", PERF_TYPE_RAW, 0x34,
312     "Attributable data or unified TLB access with at least one translation table walk", "arm")
313 EVENT_TYPE_TABLE_ENTRY(
314     "raw-itlb-walk", PERF_TYPE_RAW, 0x35,
315     "Attributable instruction TLB access with at least one translation table walk", "arm")
316 EVENT_TYPE_TABLE_ENTRY("raw-ll-cache-rd", PERF_TYPE_RAW, 0x36,
317                        "Attributable Last Level cache memory read", "arm")
318 EVENT_TYPE_TABLE_ENTRY("raw-ll-cache-miss-rd", PERF_TYPE_RAW, 0x37,
319                        "Attributable Last Level cache memory read miss", "arm")
320 EVENT_TYPE_TABLE_ENTRY("raw-remote-access-rd", PERF_TYPE_RAW, 0x38,
321                        "Attributable memory read access to another socket in a multi-socket system",
322                        "arm")
323 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-lmiss-rd", PERF_TYPE_RAW, 0x39,
324                        "Level 1 data cache long-latency read miss", "arm")
325 EVENT_TYPE_TABLE_ENTRY("raw-op-retired", PERF_TYPE_RAW, 0x3a,
326                        "Micro-operation architecturally executed", "arm")
327 EVENT_TYPE_TABLE_ENTRY("raw-op-spec", PERF_TYPE_RAW, 0x3b, "Micro-operation Speculatively executed",
328                        "arm")
329 EVENT_TYPE_TABLE_ENTRY("raw-stall", PERF_TYPE_RAW, 0x3c, "No operation sent for execution", "arm")
330 EVENT_TYPE_TABLE_ENTRY("raw-stall-slot-backend", PERF_TYPE_RAW, 0x3d,
331                        "No operation sent for execution on a Slot due to the backend", "arm")
332 EVENT_TYPE_TABLE_ENTRY("raw-stall-slot-frontend", PERF_TYPE_RAW, 0x3e,
333                        "No operation send for execution on a Slot due to the frontend", "arm")
334 EVENT_TYPE_TABLE_ENTRY("raw-stall-slot", PERF_TYPE_RAW, 0x3f,
335                        "No operation sent for execution on a Slot", "arm")
336 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-rd", PERF_TYPE_RAW, 0x40, "Level 1 data cache read", "arm")
337 EVENT_TYPE_TABLE_ENTRY("raw-sample-pop", PERF_TYPE_RAW, 0x4000, "Sample Population", "arm")
338 EVENT_TYPE_TABLE_ENTRY("raw-sample-feed", PERF_TYPE_RAW, 0x4001, "Sample Taken", "arm")
339 EVENT_TYPE_TABLE_ENTRY("raw-sample-filtrate", PERF_TYPE_RAW, 0x4002,
340                        "Sample Taken and not removed by filtering", "arm")
341 EVENT_TYPE_TABLE_ENTRY("raw-sample-collision", PERF_TYPE_RAW, 0x4003,
342                        "Sample collided with previous sample", "arm")
343 EVENT_TYPE_TABLE_ENTRY("raw-cnt-cycles", PERF_TYPE_RAW, 0x4004, "Constant frequency cycles", "arm")
344 EVENT_TYPE_TABLE_ENTRY("raw-stall-backend-mem", PERF_TYPE_RAW, 0x4005, "Memory stall cycles", "arm")
345 EVENT_TYPE_TABLE_ENTRY("raw-l1i-cache-lmiss", PERF_TYPE_RAW, 0x4006,
346                        "Level 1 instruction cache long-latency miss", "arm")
347 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-lmiss-rd", PERF_TYPE_RAW, 0x4009,
348                        "Level 2 data cache long-latency read miss", "arm")
349 EVENT_TYPE_TABLE_ENTRY("raw-l2i-cache-lmiss", PERF_TYPE_RAW, 0x400a,
350                        "Level 2 instruction cache long-latency miss", "arm")
351 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-lmiss-rd", PERF_TYPE_RAW, 0x400b,
352                        "Level 3 data cache long-latency read miss", "arm")
353 EVENT_TYPE_TABLE_ENTRY("raw-sve-inst-retired", PERF_TYPE_RAW, 0x8002,
354                        "SVE Instructions architecturally executed", "arm")
355 EVENT_TYPE_TABLE_ENTRY("raw-sve-inst-spec", PERF_TYPE_RAW, 0x8006,
356                        "SVE Instructions speculatively executed", "arm")
357 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-wr", PERF_TYPE_RAW, 0x41,
358                        "Attributable Level 1 data cache access, write", "arm")
359 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-refill-rd", PERF_TYPE_RAW, 0x42,
360                        "Attributable Level 1 data cache refill, read", "arm")
361 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-refill-wr", PERF_TYPE_RAW, 0x43,
362                        "Attributable Level 1 data cache refill, write", "arm")
363 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-refill-inner", PERF_TYPE_RAW, 0x44,
364                        "Attributable Level 1 data cache refill, inner", "arm")
365 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-refill-outer", PERF_TYPE_RAW, 0x45,
366                        "Attributable Level 1 data cache refill, outer", "arm")
367 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-wb-victim", PERF_TYPE_RAW, 0x46,
368                        "Attributable Level 1 data cache Write-Back, victim", "arm")
369 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-wb-clean", PERF_TYPE_RAW, 0x47,
370                        "Level 1 data cache Write-Back, cleaning and coherency", "arm")
371 EVENT_TYPE_TABLE_ENTRY("raw-l1d-cache-inval", PERF_TYPE_RAW, 0x48,
372                        "Attributable Level 1 data cache invalidate", "arm")
373 EVENT_TYPE_TABLE_ENTRY("raw-l1d-tlb-refill-rd", PERF_TYPE_RAW, 0x4c,
374                        "Attributable Level 1 data TLB refill, read", "arm")
375 EVENT_TYPE_TABLE_ENTRY("raw-l1d-tlb-refill-wr", PERF_TYPE_RAW, 0x4d,
376                        "Attributable Level 1 data TLB refill, write", "arm")
377 EVENT_TYPE_TABLE_ENTRY("raw-l1d-tlb-rd", PERF_TYPE_RAW, 0x4e,
378                        "Attributable Level 1 data or unified TLB access, read", "arm")
379 EVENT_TYPE_TABLE_ENTRY("raw-l1d-tlb-wr", PERF_TYPE_RAW, 0x4f,
380                        "Attributable Level 1 data or unified TLB access, write", "arm")
381 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-rd", PERF_TYPE_RAW, 0x50,
382                        "Attributable Level 2 data cache access, read", "arm")
383 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-wr", PERF_TYPE_RAW, 0x51,
384                        "Attributable Level 2 data cache access, write", "arm")
385 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-refill-rd", PERF_TYPE_RAW, 0x52,
386                        "Attributable Level 2 data cache refill, read", "arm")
387 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-refill-wr", PERF_TYPE_RAW, 0x53,
388                        "Attributable Level 2 data cache refill, write", "arm")
389 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-wb-victim", PERF_TYPE_RAW, 0x56,
390                        "Attributable Level 2 data cache Write-Back, victim", "arm")
391 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-wb-clean", PERF_TYPE_RAW, 0x57,
392                        "Level 2 data cache Write-Back, cleaning and coherency", "arm")
393 EVENT_TYPE_TABLE_ENTRY("raw-l2d-cache-inval", PERF_TYPE_RAW, 0x58,
394                        "Attributable Level 2 data cache invalidate", "arm")
395 EVENT_TYPE_TABLE_ENTRY("raw-l2d-tlb-refill-rd", PERF_TYPE_RAW, 0x5c,
396                        "Attributable Level 2 data or unified TLB refill, read", "arm")
397 EVENT_TYPE_TABLE_ENTRY("raw-l2d-tlb-refill-wr", PERF_TYPE_RAW, 0x5d,
398                        "Attributable Level 2 data or unified TLB refill, write", "arm")
399 EVENT_TYPE_TABLE_ENTRY("raw-l2d-tlb-rd", PERF_TYPE_RAW, 0x5e,
400                        "Attributable Level 2 data or unified TLB access, read", "arm")
401 EVENT_TYPE_TABLE_ENTRY("raw-l2d-tlb-wr", PERF_TYPE_RAW, 0x5f,
402                        "Attributable Level 2 data or unified TLB access, write", "arm")
403 EVENT_TYPE_TABLE_ENTRY("raw-bus-access-rd", PERF_TYPE_RAW, 0x60, "Bus access, read", "arm")
404 EVENT_TYPE_TABLE_ENTRY("raw-bus-access-wr", PERF_TYPE_RAW, 0x61, "Bus access, write", "arm")
405 EVENT_TYPE_TABLE_ENTRY("raw-bus-access-shared", PERF_TYPE_RAW, 0x62,
406                        "Bus access, Normal, Cacheable, Shareable", "arm")
407 EVENT_TYPE_TABLE_ENTRY("raw-bus-access-not-shared", PERF_TYPE_RAW, 0x63,
408                        "Bus access, not Normal, Cacheable, Shareable", "arm")
409 EVENT_TYPE_TABLE_ENTRY("raw-bus-access-normal", PERF_TYPE_RAW, 0x64, "Bus access, normal", "arm")
410 EVENT_TYPE_TABLE_ENTRY("raw-bus-access-periph", PERF_TYPE_RAW, 0x65, "Bus access, peripheral",
411                        "arm")
412 EVENT_TYPE_TABLE_ENTRY("raw-mem-access-rd", PERF_TYPE_RAW, 0x66, "Data memory access, read", "arm")
413 EVENT_TYPE_TABLE_ENTRY("raw-mem-access-wr", PERF_TYPE_RAW, 0x67, "Data memory access, write", "arm")
414 EVENT_TYPE_TABLE_ENTRY("raw-unaligned-ld-spec", PERF_TYPE_RAW, 0x68, "Unaligned access, read",
415                        "arm")
416 EVENT_TYPE_TABLE_ENTRY("raw-unaligned-st-spec", PERF_TYPE_RAW, 0x69, "Unaligned access, write",
417                        "arm")
418 EVENT_TYPE_TABLE_ENTRY("raw-unaligned-ldst-spec", PERF_TYPE_RAW, 0x6a, "Unaligned access", "arm")
419 EVENT_TYPE_TABLE_ENTRY("raw-ldrex-spec", PERF_TYPE_RAW, 0x6c,
420                        "Exclusive operation speculatively executed, LDREX or LDX", "arm")
421 EVENT_TYPE_TABLE_ENTRY("raw-strex-pass-spec", PERF_TYPE_RAW, 0x6d,
422                        "Exclusive operation speculatively executed, STREX or STX pass", "arm")
423 EVENT_TYPE_TABLE_ENTRY("raw-strex-fail-spec", PERF_TYPE_RAW, 0x6e,
424                        "Exclusive operation speculatively executed, STREX or STX fail", "arm")
425 EVENT_TYPE_TABLE_ENTRY("raw-strex-spec", PERF_TYPE_RAW, 0x6f,
426                        "Exclusive operation speculatively executed, STREX or STX", "arm")
427 EVENT_TYPE_TABLE_ENTRY("raw-ld-spec", PERF_TYPE_RAW, 0x70, "Operation speculatively executed, load",
428                        "arm")
429 EVENT_TYPE_TABLE_ENTRY("raw-st-spec", PERF_TYPE_RAW, 0x71,
430                        "Operation speculatively executed, store", "arm")
431 EVENT_TYPE_TABLE_ENTRY("raw-ldst-spec", PERF_TYPE_RAW, 0x72,
432                        "Operation speculatively executed, load or store", "arm")
433 EVENT_TYPE_TABLE_ENTRY("raw-dp-spec", PERF_TYPE_RAW, 0x73,
434                        "Operation speculatively executed, integer data processing", "arm")
435 EVENT_TYPE_TABLE_ENTRY("raw-ase-spec", PERF_TYPE_RAW, 0x74,
436                        "Operation speculatively executed, Advanced SIMD instruction", "arm")
437 EVENT_TYPE_TABLE_ENTRY("raw-vfp-spec", PERF_TYPE_RAW, 0x75,
438                        "Operation speculatively executed, floating-point instruction", "arm")
439 EVENT_TYPE_TABLE_ENTRY("raw-pc-write-spec", PERF_TYPE_RAW, 0x76,
440                        "Operation speculatively executed, software change of the PC", "arm")
441 EVENT_TYPE_TABLE_ENTRY("raw-crypto-spec", PERF_TYPE_RAW, 0x77,
442                        "Operation speculatively executed, Cryptographic instruction", "arm")
443 EVENT_TYPE_TABLE_ENTRY("raw-br-immed-spec", PERF_TYPE_RAW, 0x78,
444                        "Branch speculatively executed, immediate branch", "arm")
445 EVENT_TYPE_TABLE_ENTRY("raw-br-return-spec", PERF_TYPE_RAW, 0x79,
446                        "Branch speculatively executed, procedure return", "arm")
447 EVENT_TYPE_TABLE_ENTRY("raw-br-indirect-spec", PERF_TYPE_RAW, 0x7a,
448                        "Branch speculatively executed, indirect branch", "arm")
449 EVENT_TYPE_TABLE_ENTRY("raw-isb-spec", PERF_TYPE_RAW, 0x7c, "Barrier speculatively executed, ISB",
450                        "arm")
451 EVENT_TYPE_TABLE_ENTRY("raw-dsb-spec", PERF_TYPE_RAW, 0x7d, "Barrier speculatively executed, DSB",
452                        "arm")
453 EVENT_TYPE_TABLE_ENTRY("raw-dmb-spec", PERF_TYPE_RAW, 0x7e, "Barrier speculatively executed, DMB",
454                        "arm")
455 EVENT_TYPE_TABLE_ENTRY("raw-exc-undef", PERF_TYPE_RAW, 0x81, "Exception taken, Other synchronous",
456                        "arm")
457 EVENT_TYPE_TABLE_ENTRY("raw-exc-svc", PERF_TYPE_RAW, 0x82, "Exception taken, Supervisor Call",
458                        "arm")
459 EVENT_TYPE_TABLE_ENTRY("raw-exc-pabort", PERF_TYPE_RAW, 0x83, "Exception taken, Instruction Abort",
460                        "arm")
461 EVENT_TYPE_TABLE_ENTRY("raw-exc-dabort", PERF_TYPE_RAW, 0x84,
462                        "Exception taken, Data Abort and SError", "arm")
463 EVENT_TYPE_TABLE_ENTRY("raw-exc-irq", PERF_TYPE_RAW, 0x86, "Exception taken, IRQ", "arm")
464 EVENT_TYPE_TABLE_ENTRY("raw-exc-fiq", PERF_TYPE_RAW, 0x87, "Exception taken, FIQ", "arm")
465 EVENT_TYPE_TABLE_ENTRY("raw-exc-smc", PERF_TYPE_RAW, 0x88, "Exception taken, Secure Monitor Call",
466                        "arm")
467 EVENT_TYPE_TABLE_ENTRY("raw-exc-hvc", PERF_TYPE_RAW, 0x8a, "Exception taken, Hypervisor Call",
468                        "arm")
469 EVENT_TYPE_TABLE_ENTRY("raw-exc-trap-pabort", PERF_TYPE_RAW, 0x8b,
470                        "Exception taken, Instruction Abort not Taken locallyb", "arm")
471 EVENT_TYPE_TABLE_ENTRY("raw-exc-trap-dabort", PERF_TYPE_RAW, 0x8c,
472                        "Exception taken, Data Abort or SError not Taken locallyb", "arm")
473 EVENT_TYPE_TABLE_ENTRY("raw-exc-trap-other", PERF_TYPE_RAW, 0x8d,
474                        "Exception taken, Other traps not Taken locallyb", "arm")
475 EVENT_TYPE_TABLE_ENTRY("raw-exc-trap-irq", PERF_TYPE_RAW, 0x8e,
476                        "Exception taken, IRQ not Taken locallyb", "arm")
477 EVENT_TYPE_TABLE_ENTRY("raw-exc-trap-fiq", PERF_TYPE_RAW, 0x8f,
478                        "Exception taken, FIQ not Taken locallyb", "arm")
479 EVENT_TYPE_TABLE_ENTRY("raw-rc-ld-spec", PERF_TYPE_RAW, 0x90,
480                        "Release consistency operation speculatively executed, Load-Acquire", "arm")
481 EVENT_TYPE_TABLE_ENTRY("raw-rc-st-spec", PERF_TYPE_RAW, 0x91,
482                        "Release consistency operation speculatively executed, Store-Release", "arm")
483 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-rd", PERF_TYPE_RAW, 0xa0,
484                        "Attributable Level 3 data or unified cache access, read", "arm")
485 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-wr", PERF_TYPE_RAW, 0xa1,
486                        "Attributable Level 3 data or unified cache access, write", "arm")
487 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-refill-rd", PERF_TYPE_RAW, 0xa2,
488                        "Attributable Level 3 data or unified cache refill, read", "arm")
489 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-refill-wr", PERF_TYPE_RAW, 0xa3,
490                        "Attributable Level 3 data or unified cache refill, write", "arm")
491 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-wb-victim", PERF_TYPE_RAW, 0xa6,
492                        "Attributable Level 3 data or unified cache Write-Back, victim", "arm")
493 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-wb-clean", PERF_TYPE_RAW, 0xa7,
494                        "Attributable Level 3 data or unified cache Write-Back, cache clean", "arm")
495 EVENT_TYPE_TABLE_ENTRY("raw-l3d-cache-inval", PERF_TYPE_RAW, 0xa8,
496                        "Attributable Level 3 data or unified cache access, invalidate", "arm")
497