xref: /linux/tools/perf/pmu-events/arch/x86/amdzen4/cache.json (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1[
2  {
3    "EventName": "ls_mab_alloc.load_store_allocations",
4    "EventCode": "0x41",
5    "BriefDescription": "Miss Address Buffer (MAB) entries allocated by a Load-Store (LS) pipe for load-store allocations.",
6    "UMask": "0x3f"
7  },
8  {
9    "EventName": "ls_mab_alloc.hardware_prefetcher_allocations",
10    "EventCode": "0x41",
11    "BriefDescription": "Miss Address Buffer (MAB) entries allocated by a Load-Store (LS) pipe for hardware prefetcher allocations.",
12    "UMask": "0x40"
13  },
14  {
15    "EventName": "ls_mab_alloc.all_allocations",
16    "EventCode": "0x41",
17    "BriefDescription": "Miss Address Buffer (MAB) entries allocated by a Load-Store (LS) pipe for all types of allocations.",
18    "UMask": "0x7f"
19  },
20  {
21    "EventName": "ls_dmnd_fills_from_sys.local_l2",
22    "EventCode": "0x43",
23    "BriefDescription": "Demand data cache fills from local L2 cache.",
24    "UMask": "0x01"
25  },
26  {
27    "EventName": "ls_dmnd_fills_from_sys.local_ccx",
28    "EventCode": "0x43",
29    "BriefDescription": "Demand data cache fills from L3 cache or different L2 cache in the same CCX.",
30    "UMask": "0x02"
31  },
32  {
33    "EventName": "ls_dmnd_fills_from_sys.near_cache",
34    "EventCode": "0x43",
35    "BriefDescription": "Demand data cache fills from cache of another CCX when the address was in the same NUMA node.",
36    "UMask": "0x04"
37  },
38  {
39    "EventName": "ls_dmnd_fills_from_sys.dram_io_near",
40    "EventCode": "0x43",
41    "BriefDescription": "Demand data cache fills from either DRAM or MMIO in the same NUMA node.",
42    "UMask": "0x08"
43  },
44  {
45    "EventName": "ls_dmnd_fills_from_sys.far_cache",
46    "EventCode": "0x43",
47    "BriefDescription": "Demand data cache fills from cache of another CCX when the address was in a different NUMA node.",
48    "UMask": "0x10"
49  },
50  {
51    "EventName": "ls_dmnd_fills_from_sys.dram_io_far",
52    "EventCode": "0x43",
53    "BriefDescription": "Demand data cache fills from either DRAM or MMIO in a different NUMA node (same or different socket).",
54    "UMask": "0x40"
55  },
56  {
57    "EventName": "ls_dmnd_fills_from_sys.alternate_memories",
58    "EventCode": "0x43",
59    "BriefDescription": "Demand data cache fills from extension memory.",
60    "UMask": "0x80"
61  },
62  {
63    "EventName": "ls_dmnd_fills_from_sys.all",
64    "EventCode": "0x43",
65    "BriefDescription": "Demand data cache fills from all types of data sources.",
66    "UMask": "0xff"
67  },
68  {
69    "EventName": "ls_any_fills_from_sys.local_l2",
70    "EventCode": "0x44",
71    "BriefDescription": "Any data cache fills from local L2 cache.",
72    "UMask": "0x01"
73  },
74  {
75    "EventName": "ls_any_fills_from_sys.local_ccx",
76    "EventCode": "0x44",
77    "BriefDescription": "Any data cache fills from L3 cache or different L2 cache in the same CCX.",
78    "UMask": "0x02"
79  },
80  {
81    "EventName": "ls_any_fills_from_sys.local_all",
82    "EventCode": "0x44",
83    "BriefDescription": "Any data cache fills from local L2 cache or L3 cache or different L2 cache in the same CCX.",
84    "UMask": "0x03"
85  },
86  {
87    "EventName": "ls_any_fills_from_sys.near_cache",
88    "EventCode": "0x44",
89    "BriefDescription": "Any data cache fills from cache of another CCX when the address was in the same NUMA node.",
90    "UMask": "0x04"
91  },
92  {
93    "EventName": "ls_any_fills_from_sys.dram_io_near",
94    "EventCode": "0x44",
95    "BriefDescription": "Any data cache fills from either DRAM or MMIO in the same NUMA node.",
96    "UMask": "0x08"
97  },
98  {
99    "EventName": "ls_any_fills_from_sys.far_cache",
100    "EventCode": "0x44",
101    "BriefDescription": "Any data cache fills from cache of another CCX when the address was in a different NUMA node.",
102    "UMask": "0x10"
103  },
104  {
105    "EventName": "ls_any_fills_from_sys.remote_cache",
106    "EventCode": "0x44",
107    "BriefDescription": "Any data cache fills from cache of another CCX when the address was in the same or a different NUMA node.",
108    "UMask": "0x14"
109  },
110  {
111    "EventName": "ls_any_fills_from_sys.dram_io_far",
112    "EventCode": "0x44",
113    "BriefDescription": "Any data cache fills from either DRAM or MMIO in a different NUMA node (same or different socket).",
114    "UMask": "0x40"
115  },
116  {
117    "EventName": "ls_any_fills_from_sys.dram_io_all",
118    "EventCode": "0x44",
119    "BriefDescription": "Any data cache fills from either DRAM or MMIO in any NUMA node (same or different socket).",
120    "UMask": "0x48"
121  },
122  {
123    "EventName": "ls_any_fills_from_sys.far_all",
124    "EventCode": "0x44",
125    "BriefDescription": "Any data cache fills from either cache of another CCX, DRAM or MMIO when the address was in a different NUMA node (same or different socket).",
126    "UMask": "0x50"
127  },
128  {
129    "EventName": "ls_any_fills_from_sys.all_dram_io",
130    "EventCode": "0x44",
131    "BriefDescription": "Any data cache fills from either DRAM or MMIO in any NUMA node (same or different socket).",
132    "UMask": "0x48"
133  },
134  {
135    "EventName": "ls_any_fills_from_sys.alternate_memories",
136    "EventCode": "0x44",
137    "BriefDescription": "Any data cache fills from extension memory.",
138    "UMask": "0x80"
139  },
140  {
141    "EventName": "ls_any_fills_from_sys.all",
142    "EventCode": "0x44",
143    "BriefDescription": "Any data cache fills from all types of data sources.",
144    "UMask": "0xff"
145  },
146  {
147    "EventName": "ls_pref_instr_disp.prefetch",
148    "EventCode": "0x4b",
149    "BriefDescription": "Software prefetch instructions dispatched (speculative) of type PrefetchT0 (move data to all cache levels), T1 (move data to all cache levels except L1) and T2 (move data to all cache levels except L1 and L2).",
150    "UMask": "0x01"
151  },
152  {
153    "EventName": "ls_pref_instr_disp.prefetch_w",
154    "EventCode": "0x4b",
155    "BriefDescription": "Software prefetch instructions dispatched (speculative) of type PrefetchW (move data to L1 cache and mark it modifiable).",
156    "UMask": "0x02"
157  },
158  {
159    "EventName": "ls_pref_instr_disp.prefetch_nta",
160    "EventCode": "0x4b",
161    "BriefDescription": "Software prefetch instructions dispatched (speculative) of type PrefetchNTA (move data with minimum cache pollution i.e. non-temporal access).",
162    "UMask": "0x04"
163  },
164  {
165    "EventName": "ls_pref_instr_disp.all",
166    "EventCode": "0x4b",
167    "BriefDescription": "Software prefetch instructions dispatched (speculative) of all types.",
168    "UMask": "0x07"
169  },
170  {
171    "EventName": "ls_inef_sw_pref.data_pipe_sw_pf_dc_hit",
172    "EventCode": "0x52",
173    "BriefDescription": "Software prefetches that did not fetch data outside of the processor core as the PREFETCH instruction saw a data cache hit.",
174    "UMask": "0x01"
175  },
176  {
177    "EventName": "ls_inef_sw_pref.mab_mch_cnt",
178    "EventCode": "0x52",
179    "BriefDescription": "Software prefetches that did not fetch data outside of the processor core as the PREFETCH instruction saw a match on an already allocated Miss Address Buffer (MAB).",
180    "UMask": "0x02"
181  },
182  {
183    "EventName": "ls_inef_sw_pref.all",
184    "EventCode": "0x52",
185    "BriefDescript6ion": "Software prefetches that did not fetch data outside of the processor core for any reason.",
186    "UMask": "0x03"
187  },
188  {
189    "EventName": "ls_sw_pf_dc_fills.local_l2",
190    "EventCode": "0x59",
191    "BriefDescription": "Software prefetch data cache fills from local L2 cache.",
192    "UMask": "0x01"
193  },
194  {
195    "EventName": "ls_sw_pf_dc_fills.local_ccx",
196    "EventCode": "0x59",
197    "BriefDescription": "Software prefetch data cache fills from L3 cache or different L2 cache in the same CCX.",
198    "UMask": "0x02"
199  },
200  {
201    "EventName": "ls_sw_pf_dc_fills.near_cache",
202    "EventCode": "0x59",
203    "BriefDescription": "Software prefetch data cache fills from cache of another CCX in the same NUMA node.",
204    "UMask": "0x04"
205  },
206  {
207    "EventName": "ls_sw_pf_dc_fills.dram_io_near",
208    "EventCode": "0x59",
209    "BriefDescription": "Software prefetch data cache fills from either DRAM or MMIO in the same NUMA node.",
210    "UMask": "0x08"
211  },
212  {
213    "EventName": "ls_sw_pf_dc_fills.far_cache",
214    "EventCode": "0x59",
215    "BriefDescription": "Software prefetch data cache fills from cache of another CCX in a different NUMA node.",
216    "UMask": "0x10"
217  },
218  {
219    "EventName": "ls_sw_pf_dc_fills.dram_io_far",
220    "EventCode": "0x59",
221    "BriefDescription": "Software prefetch data cache fills from either DRAM or MMIO in a different NUMA node (same or different socket).",
222    "UMask": "0x40"
223  },
224  {
225    "EventName": "ls_sw_pf_dc_fills.alternate_memories",
226    "EventCode": "0x59",
227    "BriefDescription": "Software prefetch data cache fills from extension memory.",
228    "UMask": "0x80"
229  },
230  {
231    "EventName": "ls_sw_pf_dc_fills.all",
232    "EventCode": "0x59",
233    "BriefDescription": "Software prefetch data cache fills from all types of data sources.",
234    "UMask": "0xdf"
235  },
236  {
237    "EventName": "ls_hw_pf_dc_fills.local_l2",
238    "EventCode": "0x5a",
239    "BriefDescription": "Hardware prefetch data cache fills from local L2 cache.",
240    "UMask": "0x01"
241  },
242  {
243    "EventName": "ls_hw_pf_dc_fills.local_ccx",
244    "EventCode": "0x5a",
245    "BriefDescription": "Hardware prefetch data cache fills from L3 cache or different L2 cache in the same CCX.",
246    "UMask": "0x02"
247  },
248  {
249    "EventName": "ls_hw_pf_dc_fills.near_cache",
250    "EventCode": "0x5a",
251    "BriefDescription": "Hardware prefetch data cache fills from cache of another CCX when the address was in the same NUMA node.",
252    "UMask": "0x04"
253  },
254  {
255    "EventName": "ls_hw_pf_dc_fills.dram_io_near",
256    "EventCode": "0x5a",
257    "BriefDescription": "Hardware prefetch data cache fills from either DRAM or MMIO in the same NUMA node.",
258    "UMask": "0x08"
259  },
260  {
261    "EventName": "ls_hw_pf_dc_fills.far_cache",
262    "EventCode": "0x5a",
263    "BriefDescription": "Hardware prefetch data cache fills from cache of another CCX when the address was in a different NUMA node.",
264    "UMask": "0x10"
265  },
266  {
267    "EventName": "ls_hw_pf_dc_fills.dram_io_far",
268    "EventCode": "0x5a",
269    "BriefDescription": "Hardware prefetch data cache fills from either DRAM or MMIO in a different NUMA node (same or different socket).",
270    "UMask": "0x40"
271  },
272  {
273    "EventName": "ls_hw_pf_dc_fills.alternate_memories",
274    "EventCode": "0x5a",
275    "BriefDescription": "Hardware prefetch data cache fills from extension memory.",
276    "UMask": "0x80"
277  },
278  {
279    "EventName": "ls_hw_pf_dc_fills.all",
280    "EventCode": "0x5a",
281    "BriefDescription": "Hardware prefetch data cache fills from all types of data sources.",
282    "UMask": "0xdf"
283  },
284  {
285    "EventName": "ls_alloc_mab_count",
286    "EventCode": "0x5f",
287    "BriefDescription": "In-flight L1 data cache misses i.e. Miss Address Buffer (MAB) allocations each cycle."
288  },
289  {
290    "EventName": "l2_request_g1.group2",
291    "EventCode": "0x60",
292    "BriefDescription": "L2 cache requests of non-cacheable type (non-cached data and instructions reads, self-modifying code checks).",
293    "UMask": "0x01"
294  },
295  {
296    "EventName": "l2_request_g1.l2_hw_pf",
297    "EventCode": "0x60",
298    "BriefDescription": "L2 cache requests: from hardware prefetchers to prefetch directly into L2 (hit or miss).",
299    "UMask": "0x02"
300  },
301  {
302    "EventName": "l2_request_g1.prefetch_l2_cmd",
303    "EventCode": "0x60",
304    "BriefDescription": "L2 cache requests: prefetch directly into L2.",
305    "UMask": "0x04"
306  },
307  {
308    "EventName": "l2_request_g1.change_to_x",
309    "EventCode": "0x60",
310    "BriefDescription": "L2 cache requests: data cache state change to writable, check L2 for current state.",
311    "UMask": "0x08"
312  },
313  {
314    "EventName": "l2_request_g1.cacheable_ic_read",
315    "EventCode": "0x60",
316    "BriefDescription": "L2 cache requests: instruction cache reads.",
317    "UMask": "0x10"
318  },
319  {
320    "EventName": "l2_request_g1.ls_rd_blk_c_s",
321    "EventCode": "0x60",
322    "BriefDescription": "L2 cache requests: data cache shared reads.",
323    "UMask": "0x20"
324  },
325  {
326    "EventName": "l2_request_g1.rd_blk_x",
327    "EventCode": "0x60",
328    "BriefDescription": "L2 cache requests: data cache stores.",
329    "UMask": "0x40"
330  },
331  {
332    "EventName": "l2_request_g1.rd_blk_l",
333    "EventCode": "0x60",
334    "BriefDescription": "L2 cache requests: data cache reads including hardware and software prefetch.",
335    "UMask": "0x80"
336  },
337  {
338    "EventName": "l2_request_g1.all_dc",
339    "EventCode": "0x60",
340    "BriefDescription": "L2 cache requests of common types from L1 data cache (including prefetches).",
341    "UMask": "0xe8"
342  },
343  {
344    "EventName": "l2_request_g1.all_no_prefetch",
345    "EventCode": "0x60",
346    "BriefDescription": "L2 cache requests of common types not including prefetches.",
347    "UMask": "0xf9"
348  },
349  {
350    "EventName": "l2_request_g1.all",
351    "EventCode": "0x60",
352    "BriefDescription": "L2 cache requests of all types.",
353    "UMask": "0xff"
354  },
355  {
356    "EventName": "l2_cache_req_stat.ic_fill_miss",
357    "EventCode": "0x64",
358    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: instruction cache request miss in L2.",
359    "UMask": "0x01"
360  },
361  {
362    "EventName": "l2_cache_req_stat.ic_fill_hit_s",
363    "EventCode": "0x64",
364    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: instruction cache hit non-modifiable line in L2.",
365    "UMask": "0x02"
366  },
367  {
368    "EventName": "l2_cache_req_stat.ic_fill_hit_x",
369    "EventCode": "0x64",
370    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: instruction cache hit modifiable line in L2.",
371    "UMask": "0x04"
372  },
373  {
374    "EventName": "l2_cache_req_stat.ic_hit_in_l2",
375    "EventCode": "0x64",
376    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for instruction cache hits.",
377    "UMask": "0x06"
378  },
379  {
380    "EventName": "l2_cache_req_stat.ic_access_in_l2",
381    "EventCode": "0x64",
382    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for instruction cache access.",
383    "UMask": "0x07"
384  },
385  {
386    "EventName": "l2_cache_req_stat.ls_rd_blk_c",
387    "EventCode": "0x64",
388    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache request miss in L2.",
389    "UMask": "0x08"
390  },
391  {
392    "EventName": "l2_cache_req_stat.ic_dc_miss_in_l2",
393    "EventCode": "0x64",
394    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data and instruction cache misses.",
395    "UMask": "0x09"
396  },
397  {
398    "EventName": "l2_cache_req_stat.ls_rd_blk_x",
399    "EventCode": "0x64",
400    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache store or state change hit in L2.",
401    "UMask": "0x10"
402  },
403  {
404    "EventName": "l2_cache_req_stat.ls_rd_blk_l_hit_s",
405    "EventCode": "0x64",
406    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache read hit non-modifiable line in L2.",
407    "UMask": "0x20"
408  },
409  {
410    "EventName": "l2_cache_req_stat.ls_rd_blk_l_hit_x",
411    "EventCode": "0x64",
412    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache read hit modifiable line in L2.",
413    "UMask": "0x40"
414  },
415  {
416    "EventName": "l2_cache_req_stat.ls_rd_blk_cs",
417    "EventCode": "0x64",
418    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache shared read hit in L2.",
419    "UMask": "0x80"
420  },
421  {
422    "EventName": "l2_cache_req_stat.dc_hit_in_l2",
423    "EventCode": "0x64",
424    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data cache hits.",
425    "UMask": "0xf0"
426  },
427  {
428    "EventName": "l2_cache_req_stat.ic_dc_hit_in_l2",
429    "EventCode": "0x64",
430    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data and instruction cache hits.",
431    "UMask": "0xf6"
432  },
433  {
434    "EventName": "l2_cache_req_stat.dc_access_in_l2",
435    "EventCode": "0x64",
436    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data cache access.",
437    "UMask": "0xf8"
438  },
439  {
440    "EventName": "l2_cache_req_stat.all",
441    "EventCode": "0x64",
442    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data and instruction cache access.",
443    "UMask": "0xff"
444  },
445  {
446    "EventName": "l2_pf_hit_l2.l2_stream",
447    "EventCode": "0x70",
448    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L2Stream (fetch additional sequential lines into L2 cache).",
449    "UMask": "0x01"
450  },
451  {
452    "EventName": "l2_pf_hit_l2.l2_next_line",
453    "EventCode": "0x70",
454    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L2NextLine (fetch the next line into L2 cache).",
455    "UMask": "0x02"
456  },
457  {
458    "EventName": "l2_pf_hit_l2.l2_up_down",
459    "EventCode": "0x70",
460    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L2UpDown (fetch the next or previous line into L2 cache for all memory accesses).",
461    "UMask": "0x04"
462  },
463  {
464    "EventName": "l2_pf_hit_l2.l2_burst",
465    "EventCode": "0x70",
466    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L2Burst (aggressively fetch additional sequential lines into L2 cache).",
467    "UMask": "0x08"
468  },
469  {
470    "EventName": "l2_pf_hit_l2.l2_stride",
471    "EventCode": "0x70",
472    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L2Stride (fetch additional lines into L2 cache when each access is at a constant distance from the previous).",
473    "UMask": "0x10"
474  },
475  {
476    "EventName": "l2_pf_hit_l2.l1_stream",
477    "EventCode": "0x70",
478    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L1Stream (fetch additional sequential lines into L1 cache).",
479    "UMask": "0x20"
480  },
481  {
482    "EventName": "l2_pf_hit_l2.l1_stride",
483    "EventCode": "0x70",
484    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L1Stride (fetch additional lines into L1 cache when each access is a constant distance from the previous).",
485    "UMask": "0x40"
486  },
487  {
488    "EventName": "l2_pf_hit_l2.l1_region",
489    "EventCode": "0x70",
490    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of type L1Region (fetch additional lines into L1 cache when the data access for a given instruction tends to be followed by a consistent pattern of other accesses within a localized region).",
491    "UMask": "0x80"
492  },
493  {
494    "EventName": "l2_pf_hit_l2.all",
495    "EventCode": "0x70",
496    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache of all types.",
497    "UMask": "0xff"
498  },
499  {
500    "EventName": "l2_pf_miss_l2_hit_l3.l2_stream",
501    "EventCode": "0x71",
502    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L2Stream (fetch additional sequential lines into L2 cache).",
503    "UMask": "0x01"
504  },
505  {
506    "EventName": "l2_pf_miss_l2_hit_l3.l2_next_line",
507    "EventCode": "0x71",
508    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L2NextLine (fetch the next line into L2 cache).",
509    "UMask": "0x02"
510  },
511  {
512    "EventName": "l2_pf_miss_l2_hit_l3.l2_up_down",
513    "EventCode": "0x71",
514    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L2UpDown (fetch the next or previous line into L2 cache for all memory accesses).",
515    "UMask": "0x04"
516  },
517  {
518    "EventName": "l2_pf_miss_l2_hit_l3.l2_burst",
519    "EventCode": "0x71",
520    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L2Burst (aggressively fetch additional sequential lines into L2 cache).",
521    "UMask": "0x08"
522  },
523  {
524    "EventName": "l2_pf_miss_l2_hit_l3.l2_stride",
525    "EventCode": "0x71",
526    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L2Stride (fetch additional lines into L2 cache when each access is a constant distance from the previous).",
527    "UMask": "0x10"
528  },
529  {
530    "EventName": "l2_pf_miss_l2_hit_l3.l1_stream",
531    "EventCode": "0x71",
532    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L1Stream (fetch additional sequential lines into L1 cache).",
533    "UMask": "0x20"
534  },
535  {
536    "EventName": "l2_pf_miss_l2_hit_l3.l1_stride",
537    "EventCode": "0x71",
538    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L1Stride (fetch additional lines into L1 cache when each access is a constant distance from the previous).",
539    "UMask": "0x40"
540  },
541  {
542    "EventName": "l2_pf_miss_l2_hit_l3.l1_region",
543    "EventCode": "0x71",
544    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache of type L1Region (fetch additional lines into L1 cache when the data access for a given instruction tends to be followed by a consistent pattern of other accesses within a localized region).",
545    "UMask": "0x80"
546  },
547  {
548    "EventName": "l2_pf_miss_l2_hit_l3.all",
549    "EventCode": "0x71",
550    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit in the L3 cache cache of all types.",
551    "UMask": "0xff"
552  },
553  {
554    "EventName": "l2_pf_miss_l2_l3.l2_stream",
555    "EventCode": "0x72",
556    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L2Stream (fetch additional sequential lines into L2 cache).",
557    "UMask": "0x01"
558  },
559  {
560    "EventName": "l2_pf_miss_l2_l3.l2_next_line",
561    "EventCode": "0x72",
562    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L2NextLine (fetch the next line into L2 cache).",
563    "UMask": "0x02"
564  },
565  {
566    "EventName": "l2_pf_miss_l2_l3.l2_up_down",
567    "EventCode": "0x72",
568    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L2UpDown (fetch the next or previous line into L2 cache for all memory accesses).",
569    "UMask": "0x04"
570  },
571  {
572    "EventName": "l2_pf_miss_l2_l3.l2_burst",
573    "EventCode": "0x72",
574    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L2Burst (aggressively fetch additional sequential lines into L2 cache).",
575    "UMask": "0x08"
576  },
577  {
578    "EventName": "l2_pf_miss_l2_l3.l2_stride",
579    "EventCode": "0x72",
580    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L2Stride (fetch additional lines into L2 cache when each access is a constant distance from the previous).",
581    "UMask": "0x10"
582  },
583  {
584    "EventName": "l2_pf_miss_l2_l3.l1_stream",
585    "EventCode": "0x72",
586    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L1Stream (fetch additional sequential lines into L1 cache).",
587    "UMask": "0x20"
588  },
589  {
590    "EventName": "l2_pf_miss_l2_l3.l1_stride",
591    "EventCode": "0x72",
592    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L1Stride (fetch additional lines into L1 cache when each access is a constant distance from the previous).",
593    "UMask": "0x40"
594  },
595  {
596    "EventName": "l2_pf_miss_l2_l3.l1_region",
597    "EventCode": "0x72",
598    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of type L1Region (fetch additional lines into L1 cache when the data access for a given instruction tends to be followed by a consistent pattern of other accesses within a localized region).",
599    "UMask": "0x80"
600  },
601  {
602    "EventName": "l2_pf_miss_l2_l3.all",
603    "EventCode": "0x72",
604    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches of all types.",
605    "UMask": "0xff"
606  },
607  {
608    "EventName": "ic_cache_fill_l2",
609    "EventCode": "0x82",
610    "BriefDescription": "Instruction cache lines (64 bytes) fulfilled from the L2 cache."
611  },
612  {
613    "EventName": "ic_cache_fill_sys",
614    "EventCode": "0x83",
615    "BriefDescription": "Instruction cache lines (64 bytes) fulfilled from system memory or another cache."
616  },
617  {
618    "EventName": "ic_tag_hit_miss.instruction_cache_hit",
619    "EventCode": "0x18e",
620    "BriefDescription": "Instruction cache hits.",
621    "UMask": "0x07"
622  },
623  {
624    "EventName": "ic_tag_hit_miss.instruction_cache_miss",
625    "EventCode": "0x18e",
626    "BriefDescription": "Instruction cache misses.",
627    "UMask": "0x18"
628  },
629  {
630    "EventName": "ic_tag_hit_miss.all_instruction_cache_accesses",
631    "EventCode": "0x18e",
632    "BriefDescription": "Instruction cache accesses of all types.",
633    "UMask": "0x1f"
634  },
635  {
636    "EventName": "op_cache_hit_miss.op_cache_hit",
637    "EventCode": "0x28f",
638    "BriefDescription": "Op cache hits.",
639    "UMask": "0x03"
640  },
641  {
642    "EventName": "op_cache_hit_miss.op_cache_miss",
643    "EventCode": "0x28f",
644    "BriefDescription": "Op cache misses.",
645    "UMask": "0x04"
646  },
647  {
648    "EventName": "op_cache_hit_miss.all_op_cache_accesses",
649    "EventCode": "0x28f",
650    "BriefDescription": "Op cache accesses of all types.",
651    "UMask": "0x07"
652  },
653  {
654    "EventName": "l3_lookup_state.l3_miss",
655    "EventCode": "0x04",
656    "BriefDescription": "L3 cache misses.",
657    "UMask": "0x01",
658    "Unit": "L3PMC"
659  },
660  {
661    "EventName": "l3_lookup_state.l3_hit",
662    "EventCode": "0x04",
663    "BriefDescription": "L3 cache hits.",
664    "UMask": "0xfe",
665    "Unit": "L3PMC"
666  },
667  {
668    "EventName": "l3_lookup_state.all_coherent_accesses_to_l3",
669    "EventCode": "0x04",
670    "BriefDescription": "L3 cache requests for all coherent accesses.",
671    "UMask": "0xff",
672    "Unit": "L3PMC"
673  },
674  {
675    "EventName": "l3_xi_sampled_latency.dram_near",
676    "EventCode": "0xac",
677    "BriefDescription": "Average sampled latency when data is sourced from DRAM in the same NUMA node.",
678    "UMask": "0x01",
679    "EnAllCores": "0x1",
680    "EnAllSlices": "0x1",
681    "SliceId": "0x3",
682    "ThreadMask": "0x3",
683    "Unit": "L3PMC"
684  },
685  {
686    "EventName": "l3_xi_sampled_latency.dram_far",
687    "EventCode": "0xac",
688    "BriefDescription": "Average sampled latency when data is sourced from DRAM in a different NUMA node.",
689    "UMask": "0x02",
690    "EnAllCores": "0x1",
691    "EnAllSlices": "0x1",
692    "SliceId": "0x3",
693    "ThreadMask": "0x3",
694    "Unit": "L3PMC"
695  },
696  {
697    "EventName": "l3_xi_sampled_latency.near_cache",
698    "EventCode": "0xac",
699    "BriefDescription": "Average sampled latency when data is sourced from another CCX's cache when the address was in the same NUMA node.",
700    "UMask": "0x04",
701    "EnAllCores": "0x1",
702    "EnAllSlices": "0x1",
703    "SliceId": "0x3",
704    "ThreadMask": "0x3",
705    "Unit": "L3PMC"
706  },
707  {
708    "EventName": "l3_xi_sampled_latency.far_cache",
709    "EventCode": "0xac",
710    "BriefDescription": "Average sampled latency when data is sourced from another CCX's cache when the address was in a different NUMA node.",
711    "UMask": "0x08",
712    "EnAllCores": "0x1",
713    "EnAllSlices": "0x1",
714    "SliceId": "0x3",
715    "ThreadMask": "0x3",
716    "Unit": "L3PMC"
717  },
718  {
719    "EventName": "l3_xi_sampled_latency.ext_near",
720    "EventCode": "0xac",
721    "BriefDescription": "Average sampled latency when data is sourced from extension memory (CXL) in the same NUMA node.",
722    "UMask": "0x10",
723    "EnAllCores": "0x1",
724    "EnAllSlices": "0x1",
725    "SliceId": "0x3",
726    "ThreadMask": "0x3",
727    "Unit": "L3PMC"
728  },
729  {
730    "EventName": "l3_xi_sampled_latency.ext_far",
731    "EventCode": "0xac",
732    "BriefDescription": "Average sampled latency when data is sourced from extension memory (CXL) in a different NUMA node.",
733    "UMask": "0x20",
734    "EnAllCores": "0x1",
735    "EnAllSlices": "0x1",
736    "SliceId": "0x3",
737    "ThreadMask": "0x3",
738    "Unit": "L3PMC"
739  },
740  {
741    "EventName": "l3_xi_sampled_latency.all",
742    "EventCode": "0xac",
743    "BriefDescription": "Average sampled latency from all data sources.",
744    "UMask": "0x3f",
745    "EnAllCores": "0x1",
746    "EnAllSlices": "0x1",
747    "SliceId": "0x3",
748    "ThreadMask": "0x3",
749    "Unit": "L3PMC"
750  },
751  {
752    "EventName": "l3_xi_sampled_latency_requests.dram_near",
753    "EventCode": "0xad",
754    "BriefDescription": "L3 cache fill requests sourced from DRAM in the same NUMA node.",
755    "UMask": "0x01",
756    "EnAllCores": "0x1",
757    "EnAllSlices": "0x1",
758    "SliceId": "0x3",
759    "ThreadMask": "0x3",
760    "Unit": "L3PMC"
761  },
762  {
763    "EventName": "l3_xi_sampled_latency_requests.dram_far",
764    "EventCode": "0xad",
765    "BriefDescription": "L3 cache fill requests sourced from DRAM in a different NUMA node.",
766    "UMask": "0x02",
767    "EnAllCores": "0x1",
768    "EnAllSlices": "0x1",
769    "SliceId": "0x3",
770    "ThreadMask": "0x3",
771    "Unit": "L3PMC"
772  },
773  {
774    "EventName": "l3_xi_sampled_latency_requests.near_cache",
775    "EventCode": "0xad",
776    "BriefDescription": "L3 cache fill requests sourced from another CCX's cache when the address was in the same NUMA node.",
777    "UMask": "0x04",
778    "EnAllCores": "0x1",
779    "EnAllSlices": "0x1",
780    "SliceId": "0x3",
781    "ThreadMask": "0x3",
782    "Unit": "L3PMC"
783  },
784  {
785    "EventName": "l3_xi_sampled_latency_requests.far_cache",
786    "EventCode": "0xad",
787    "BriefDescription": "L3 cache fill requests sourced from another CCX's cache when the address was in a different NUMA node.",
788    "UMask": "0x08",
789    "EnAllCores": "0x1",
790    "EnAllSlices": "0x1",
791    "SliceId": "0x3",
792    "ThreadMask": "0x3",
793    "Unit": "L3PMC"
794  },
795  {
796    "EventName": "l3_xi_sampled_latency_requests.ext_near",
797    "EventCode": "0xad",
798    "BriefDescription": "L3 cache fill requests sourced from extension memory (CXL) in the same NUMA node.",
799    "UMask": "0x10",
800    "EnAllCores": "0x1",
801    "EnAllSlices": "0x1",
802    "SliceId": "0x3",
803    "ThreadMask": "0x3",
804    "Unit": "L3PMC"
805  },
806  {
807    "EventName": "l3_xi_sampled_latency_requests.ext_far",
808    "EventCode": "0xad",
809    "BriefDescription": "L3 cache fill requests sourced from extension memory (CXL) in a different NUMA node.",
810    "UMask": "0x20",
811    "EnAllCores": "0x1",
812    "EnAllSlices": "0x1",
813    "SliceId": "0x3",
814    "ThreadMask": "0x3",
815    "Unit": "L3PMC"
816  },
817  {
818    "EventName": "l3_xi_sampled_latency_requests.all",
819    "EventCode": "0xad",
820    "BriefDescription": "L3 cache fill requests sourced from all data sources.",
821    "UMask": "0x3f",
822    "EnAllCores": "0x1",
823    "EnAllSlices": "0x1",
824    "SliceId": "0x3",
825    "ThreadMask": "0x3",
826    "Unit": "L3PMC"
827  }
828]
829