xref: /freebsd/lib/libpmc/pmu-events/arch/arm64/recommended.json (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1[
2    {
3        "PublicDescription": "Attributable Level 1 data cache access, read",
4        "EventCode": "0x40",
5        "EventName": "L1D_CACHE_RD",
6        "BriefDescription": "L1D cache access, read"
7    },
8    {
9        "PublicDescription": "Attributable Level 1 data cache access, write",
10        "EventCode": "0x41",
11        "EventName": "L1D_CACHE_WR",
12        "BriefDescription": "L1D cache access, 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 cache refill, write"
25    },
26    {
27        "PublicDescription": "Attributable Level 1 data cache refill, inner",
28        "EventCode": "0x44",
29        "EventName": "L1D_CACHE_REFILL_INNER",
30        "BriefDescription": "L1D cache refill, inner"
31    },
32    {
33        "PublicDescription": "Attributable Level 1 data cache refill, outer",
34        "EventCode": "0x45",
35        "EventName": "L1D_CACHE_REFILL_OUTER",
36        "BriefDescription": "L1D cache refill, outer"
37    },
38    {
39        "PublicDescription": "Attributable Level 1 data cache Write-Back, victim",
40        "EventCode": "0x46",
41        "EventName": "L1D_CACHE_WB_VICTIM",
42        "BriefDescription": "L1D cache Write-Back, victim"
43    },
44    {
45        "PublicDescription": "Level 1 data cache Write-Back, cleaning and coherency",
46        "EventCode": "0x47",
47        "EventName": "L1D_CACHE_WB_CLEAN",
48        "BriefDescription": "L1D cache Write-Back, cleaning and coherency"
49    },
50    {
51        "PublicDescription": "Attributable Level 1 data cache invalidate",
52        "EventCode": "0x48",
53        "EventName": "L1D_CACHE_INVAL",
54        "BriefDescription": "L1D cache invalidate"
55    },
56    {
57        "PublicDescription": "Attributable Level 1 data TLB refill, read",
58        "EventCode": "0x4C",
59        "EventName": "L1D_TLB_REFILL_RD",
60        "BriefDescription": "L1D tlb refill, read"
61    },
62    {
63        "PublicDescription": "Attributable Level 1 data TLB refill, write",
64        "EventCode": "0x4D",
65        "EventName": "L1D_TLB_REFILL_WR",
66        "BriefDescription": "L1D tlb refill, write"
67    },
68    {
69        "PublicDescription": "Attributable Level 1 data or unified TLB access, read",
70        "EventCode": "0x4E",
71        "EventName": "L1D_TLB_RD",
72        "BriefDescription": "L1D tlb access, read"
73    },
74    {
75        "PublicDescription": "Attributable Level 1 data or unified TLB access, write",
76        "EventCode": "0x4F",
77        "EventName": "L1D_TLB_WR",
78        "BriefDescription": "L1D tlb access, write"
79    },
80    {
81        "PublicDescription": "Attributable Level 2 data cache access, read",
82        "EventCode": "0x50",
83        "EventName": "L2D_CACHE_RD",
84        "BriefDescription": "L2D cache access, read"
85    },
86    {
87        "PublicDescription": "Attributable Level 2 data cache access, write",
88        "EventCode": "0x51",
89        "EventName": "L2D_CACHE_WR",
90        "BriefDescription": "L2D cache access, write"
91    },
92    {
93        "PublicDescription": "Attributable Level 2 data cache refill, read",
94        "EventCode": "0x52",
95        "EventName": "L2D_CACHE_REFILL_RD",
96        "BriefDescription": "L2D cache refill, read"
97    },
98    {
99        "PublicDescription": "Attributable Level 2 data cache refill, write",
100        "EventCode": "0x53",
101        "EventName": "L2D_CACHE_REFILL_WR",
102        "BriefDescription": "L2D cache refill, write"
103    },
104    {
105        "PublicDescription": "Attributable Level 2 data cache Write-Back, victim",
106        "EventCode": "0x56",
107        "EventName": "L2D_CACHE_WB_VICTIM",
108        "BriefDescription": "L2D cache Write-Back, victim"
109    },
110    {
111        "PublicDescription": "Level 2 data cache Write-Back, cleaning and coherency",
112        "EventCode": "0x57",
113        "EventName": "L2D_CACHE_WB_CLEAN",
114        "BriefDescription": "L2D cache Write-Back, cleaning and coherency"
115    },
116    {
117        "PublicDescription": "Attributable Level 2 data cache invalidate",
118        "EventCode": "0x58",
119        "EventName": "L2D_CACHE_INVAL",
120        "BriefDescription": "L2D cache invalidate"
121    },
122    {
123        "PublicDescription": "Attributable Level 2 data or unified TLB refill, read",
124        "EventCode": "0x5c",
125        "EventName": "L2D_TLB_REFILL_RD",
126        "BriefDescription": "L2D cache refill, read"
127    },
128    {
129        "PublicDescription": "Attributable Level 2 data or unified TLB refill, write",
130        "EventCode": "0x5d",
131        "EventName": "L2D_TLB_REFILL_WR",
132        "BriefDescription": "L2D cache refill, write"
133    },
134    {
135        "PublicDescription": "Attributable Level 2 data or unified TLB access, read",
136        "EventCode": "0x5e",
137        "EventName": "L2D_TLB_RD",
138        "BriefDescription": "L2D cache access, read"
139    },
140    {
141        "PublicDescription": "Attributable Level 2 data or unified TLB access, write",
142        "EventCode": "0x5f",
143        "EventName": "L2D_TLB_WR",
144        "BriefDescription": "L2D cache access, write"
145    },
146    {
147        "PublicDescription": "Bus access read",
148        "EventCode": "0x60",
149        "EventName": "BUS_ACCESS_RD",
150        "BriefDescription": "Bus access read"
151    },
152    {
153        "PublicDescription": "Bus access write",
154        "EventCode": "0x61",
155        "EventName": "BUS_ACCESS_WR",
156        "BriefDescription": "Bus access write"
157    },
158    {
159        "PublicDescription": "Bus access, Normal, Cacheable, Shareable",
160        "EventCode": "0x62",
161        "EventName": "BUS_ACCESS_SHARED",
162        "BriefDescription": "Bus access, Normal, Cacheable, Shareable"
163    },
164    {
165        "PublicDescription": "Bus access, not Normal, Cacheable, Shareable",
166        "EventCode": "0x63",
167        "EventName": "BUS_ACCESS_NOT_SHARED",
168        "BriefDescription": "Bus access, not Normal, Cacheable, Shareable"
169    },
170    {
171        "PublicDescription": "Bus access, Normal",
172        "EventCode": "0x64",
173        "EventName": "BUS_ACCESS_NORMAL",
174        "BriefDescription": "Bus access, Normal"
175    },
176    {
177        "PublicDescription": "Bus access, peripheral",
178        "EventCode": "0x65",
179        "EventName": "BUS_ACCESS_PERIPH",
180        "BriefDescription": "Bus access, peripheral"
181    },
182    {
183        "PublicDescription": "Data memory access, read",
184        "EventCode": "0x66",
185        "EventName": "MEM_ACCESS_RD",
186        "BriefDescription": "Data memory access, read"
187    },
188    {
189        "PublicDescription": "Data memory access, write",
190        "EventCode": "0x67",
191        "EventName": "MEM_ACCESS_WR",
192        "BriefDescription": "Data memory access, write"
193    },
194    {
195        "PublicDescription": "Unaligned access, read",
196        "EventCode": "0x68",
197        "EventName": "UNALIGNED_LD_SPEC",
198        "BriefDescription": "Unaligned access, read"
199    },
200    {
201        "PublicDescription": "Unaligned access, write",
202        "EventCode": "0x69",
203        "EventName": "UNALIGNED_ST_SPEC",
204        "BriefDescription": "Unaligned access, write"
205    },
206    {
207        "PublicDescription": "Unaligned access",
208        "EventCode": "0x6a",
209        "EventName": "UNALIGNED_LDST_SPEC",
210        "BriefDescription": "Unaligned access"
211    },
212    {
213        "PublicDescription": "Exclusive operation speculatively executed, LDREX or LDX",
214        "EventCode": "0x6c",
215        "EventName": "LDREX_SPEC",
216        "BriefDescription": "Exclusive operation speculatively executed, LDREX or LDX"
217    },
218    {
219        "PublicDescription": "Exclusive operation speculatively executed, STREX or STX pass",
220        "EventCode": "0x6d",
221        "EventName": "STREX_PASS_SPEC",
222        "BriefDescription": "Exclusive operation speculatively executed, STREX or STX pass"
223    },
224    {
225        "PublicDescription": "Exclusive operation speculatively executed, STREX or STX fail",
226        "EventCode": "0x6e",
227        "EventName": "STREX_FAIL_SPEC",
228        "BriefDescription": "Exclusive operation speculatively executed, STREX or STX fail"
229    },
230    {
231        "PublicDescription": "Exclusive operation speculatively executed, STREX or STX",
232        "EventCode": "0x6f",
233        "EventName": "STREX_SPEC",
234        "BriefDescription": "Exclusive operation speculatively executed, STREX or STX"
235    },
236    {
237        "PublicDescription": "Operation speculatively executed, load",
238        "EventCode": "0x70",
239        "EventName": "LD_SPEC",
240        "BriefDescription": "Operation speculatively executed, load"
241    },
242    {
243        "PublicDescription": "Operation speculatively executed, store",
244        "EventCode": "0x71",
245        "EventName": "ST_SPEC",
246        "BriefDescription": "Operation speculatively executed, store"
247    },
248    {
249        "PublicDescription": "Operation speculatively executed, load or store",
250        "EventCode": "0x72",
251        "EventName": "LDST_SPEC",
252        "BriefDescription": "Operation speculatively executed, load or store"
253    },
254    {
255        "PublicDescription": "Operation speculatively executed, integer data processing",
256        "EventCode": "0x73",
257        "EventName": "DP_SPEC",
258        "BriefDescription": "Operation speculatively executed, integer data processing"
259    },
260    {
261        "PublicDescription": "Operation speculatively executed, Advanced SIMD instruction",
262        "EventCode": "0x74",
263        "EventName": "ASE_SPEC",
264        "BriefDescription": "Operation speculatively executed, Advanced SIMD instruction"
265    },
266    {
267        "PublicDescription": "Operation speculatively executed, floating-point instruction",
268        "EventCode": "0x75",
269        "EventName": "VFP_SPEC",
270        "BriefDescription": "Operation speculatively executed, floating-point instruction"
271    },
272    {
273        "PublicDescription": "Operation speculatively executed, software change of the PC",
274        "EventCode": "0x76",
275        "EventName": "PC_WRITE_SPEC",
276        "BriefDescription": "Operation speculatively executed, software change of the PC"
277    },
278    {
279        "PublicDescription": "Operation speculatively executed, Cryptographic instruction",
280        "EventCode": "0x77",
281        "EventName": "CRYPTO_SPEC",
282        "BriefDescription": "Operation speculatively executed, Cryptographic instruction"
283    },
284    {
285        "PublicDescription": "Branch speculatively executed, immediate branch",
286        "EventCode": "0x78",
287        "EventName": "BR_IMMED_SPEC",
288        "BriefDescription": "Branch speculatively executed, immediate branch"
289    },
290    {
291        "PublicDescription": "Branch speculatively executed, procedure return",
292        "EventCode": "0x79",
293        "EventName": "BR_RETURN_SPEC",
294        "BriefDescription": "Branch speculatively executed, procedure return"
295    },
296    {
297        "PublicDescription": "Branch speculatively executed, indirect branch",
298        "EventCode": "0x7a",
299        "EventName": "BR_INDIRECT_SPEC",
300        "BriefDescription": "Branch speculatively executed, indirect branch"
301    },
302    {
303        "PublicDescription": "Barrier speculatively executed, ISB",
304        "EventCode": "0x7c",
305        "EventName": "ISB_SPEC",
306        "BriefDescription": "Barrier speculatively executed, ISB"
307    },
308    {
309        "PublicDescription": "Barrier speculatively executed, DSB",
310        "EventCode": "0x7d",
311        "EventName": "DSB_SPEC",
312        "BriefDescription": "Barrier speculatively executed, DSB"
313    },
314    {
315        "PublicDescription": "Barrier speculatively executed, DMB",
316        "EventCode": "0x7e",
317        "EventName": "DMB_SPEC",
318        "BriefDescription": "Barrier speculatively executed, DMB"
319    },
320    {
321        "PublicDescription": "Exception taken, Other synchronous",
322        "EventCode": "0x81",
323        "EventName": "EXC_UNDEF",
324        "BriefDescription": "Exception taken, Other synchronous"
325    },
326    {
327        "PublicDescription": "Exception taken, Supervisor Call",
328        "EventCode": "0x82",
329        "EventName": "EXC_SVC",
330        "BriefDescription": "Exception taken, Supervisor Call"
331    },
332    {
333        "PublicDescription": "Exception taken, Instruction Abort",
334        "EventCode": "0x83",
335        "EventName": "EXC_PABORT",
336        "BriefDescription": "Exception taken, Instruction Abort"
337    },
338    {
339        "PublicDescription": "Exception taken, Data Abort and SError",
340        "EventCode": "0x84",
341        "EventName": "EXC_DABORT",
342        "BriefDescription": "Exception taken, Data Abort and SError"
343    },
344    {
345        "PublicDescription": "Exception taken, IRQ",
346        "EventCode": "0x86",
347        "EventName": "EXC_IRQ",
348        "BriefDescription": "Exception taken, IRQ"
349    },
350    {
351        "PublicDescription": "Exception taken, FIQ",
352        "EventCode": "0x87",
353        "EventName": "EXC_FIQ",
354        "BriefDescription": "Exception taken, FIQ"
355    },
356    {
357        "PublicDescription": "Exception taken, Secure Monitor Call",
358        "EventCode": "0x88",
359        "EventName": "EXC_SMC",
360        "BriefDescription": "Exception taken, Secure Monitor Call"
361    },
362    {
363        "PublicDescription": "Exception taken, Hypervisor Call",
364        "EventCode": "0x8a",
365        "EventName": "EXC_HVC",
366        "BriefDescription": "Exception taken, Hypervisor Call"
367    },
368    {
369        "PublicDescription": "Exception taken, Instruction Abort not taken locally",
370        "EventCode": "0x8b",
371        "EventName": "EXC_TRAP_PABORT",
372        "BriefDescription": "Exception taken, Instruction Abort not taken locally"
373    },
374    {
375        "PublicDescription": "Exception taken, Data Abort or SError not taken locally",
376        "EventCode": "0x8c",
377        "EventName": "EXC_TRAP_DABORT",
378        "BriefDescription": "Exception taken, Data Abort or SError not taken locally"
379    },
380    {
381        "PublicDescription": "Exception taken, Other traps not taken locally",
382        "EventCode": "0x8d",
383        "EventName": "EXC_TRAP_OTHER",
384        "BriefDescription": "Exception taken, Other traps not taken locally"
385    },
386    {
387        "PublicDescription": "Exception taken, IRQ not taken locally",
388        "EventCode": "0x8e",
389        "EventName": "EXC_TRAP_IRQ",
390        "BriefDescription": "Exception taken, IRQ not taken locally"
391    },
392    {
393        "PublicDescription": "Exception taken, FIQ not taken locally",
394        "EventCode": "0x8f",
395        "EventName": "EXC_TRAP_FIQ",
396        "BriefDescription": "Exception taken, FIQ not taken locally"
397    },
398    {
399        "PublicDescription": "Release consistency operation speculatively executed, Load-Acquire",
400        "EventCode": "0x90",
401        "EventName": "RC_LD_SPEC",
402        "BriefDescription": "Release consistency operation speculatively executed, Load-Acquire"
403    },
404    {
405        "PublicDescription": "Release consistency operation speculatively executed, Store-Release",
406        "EventCode": "0x91",
407        "EventName": "RC_ST_SPEC",
408        "BriefDescription": "Release consistency operation speculatively executed, Store-Release"
409    },
410    {
411        "PublicDescription": "Attributable Level 3 data or unified cache access, read",
412        "EventCode": "0xa0",
413        "EventName": "L3D_CACHE_RD",
414        "BriefDescription": "Attributable Level 3 data or unified cache access, read"
415    },
416    {
417        "PublicDescription": "Attributable Level 3 data or unified cache access, write",
418        "EventCode": "0xa1",
419        "EventName": "L3D_CACHE_WR",
420        "BriefDescription": "Attributable Level 3 data or unified cache access, write"
421    },
422    {
423        "PublicDescription": "Attributable Level 3 data or unified cache refill, read",
424        "EventCode": "0xa2",
425        "EventName": "L3D_CACHE_REFILL_RD",
426        "BriefDescription": "Attributable Level 3 data or unified cache refill, read"
427    },
428    {
429        "PublicDescription": "Attributable Level 3 data or unified cache refill, write",
430        "EventCode": "0xa3",
431        "EventName": "L3D_CACHE_REFILL_WR",
432        "BriefDescription": "Attributable Level 3 data or unified cache refill, write"
433    },
434    {
435        "PublicDescription": "Attributable Level 3 data or unified cache Write-Back, victim",
436        "EventCode": "0xa6",
437        "EventName": "L3D_CACHE_WB_VICTIM",
438        "BriefDescription": "Attributable Level 3 data or unified cache Write-Back, victim"
439    },
440    {
441        "PublicDescription": "Attributable Level 3 data or unified cache Write-Back, cache clean",
442        "EventCode": "0xa7",
443        "EventName": "L3D_CACHE_WB_CLEAN",
444        "BriefDescription": "Attributable Level 3 data or unified cache Write-Back, cache clean"
445    },
446    {
447        "PublicDescription": "Attributable Level 3 data or unified cache access, invalidate",
448        "EventCode": "0xa8",
449        "EventName": "L3D_CACHE_INVAL",
450        "BriefDescription": "Attributable Level 3 data or unified cache access, invalidate"
451    }
452]
453