xref: /linux/tools/perf/pmu-events/arch/x86/meteorlake/cache.json (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
1[
2    {
3        "BriefDescription": "L1D.HWPF_MISS",
4        "EventCode": "0x51",
5        "EventName": "L1D.HWPF_MISS",
6        "SampleAfterValue": "1000003",
7        "UMask": "0x20",
8        "Unit": "cpu_core"
9    },
10    {
11        "BriefDescription": "Counts the number of cache lines replaced in L1 data cache.",
12        "EventCode": "0x51",
13        "EventName": "L1D.REPLACEMENT",
14        "PublicDescription": "Counts L1D data line replacements including opportunistic replacements, and replacements that require stall-for-replace or block-for-replace.",
15        "SampleAfterValue": "100003",
16        "UMask": "0x1",
17        "Unit": "cpu_core"
18    },
19    {
20        "BriefDescription": "Number of cycles a demand request has waited due to L1D Fill Buffer (FB) unavailability.",
21        "EventCode": "0x48",
22        "EventName": "L1D_PEND_MISS.FB_FULL",
23        "PublicDescription": "Counts number of cycles a demand request has waited due to L1D Fill Buffer (FB) unavailability. Demand requests include cacheable/uncacheable demand load, store, lock or SW prefetch accesses.",
24        "SampleAfterValue": "1000003",
25        "UMask": "0x2",
26        "Unit": "cpu_core"
27    },
28    {
29        "BriefDescription": "Number of phases a demand request has waited due to L1D Fill Buffer (FB) unavailability.",
30        "CounterMask": "1",
31        "EdgeDetect": "1",
32        "EventCode": "0x48",
33        "EventName": "L1D_PEND_MISS.FB_FULL_PERIODS",
34        "PublicDescription": "Counts number of phases a demand request has waited due to L1D Fill Buffer (FB) unavailability. Demand requests include cacheable/uncacheable demand load, store, lock or SW prefetch accesses.",
35        "SampleAfterValue": "1000003",
36        "UMask": "0x2",
37        "Unit": "cpu_core"
38    },
39    {
40        "BriefDescription": "Number of L1D misses that are outstanding",
41        "EventCode": "0x48",
42        "EventName": "L1D_PEND_MISS.PENDING",
43        "PublicDescription": "Counts number of L1D misses that are outstanding in each cycle, that is each cycle the number of Fill Buffers (FB) outstanding required by Demand Reads. FB either is held by demand loads, or it is held by non-demand loads and gets hit at least once by demand. The valid outstanding interval is defined until the FB deallocation by one of the following ways: from FB allocation, if FB is allocated by demand from the demand Hit FB, if it is allocated by hardware or software prefetch. Note: In the L1D, a Demand Read contains cacheable or noncacheable demand loads, including ones causing cache-line splits and reads due to page walks resulted from any request type.",
44        "SampleAfterValue": "1000003",
45        "UMask": "0x1",
46        "Unit": "cpu_core"
47    },
48    {
49        "BriefDescription": "Cycles with L1D load Misses outstanding.",
50        "CounterMask": "1",
51        "EventCode": "0x48",
52        "EventName": "L1D_PEND_MISS.PENDING_CYCLES",
53        "PublicDescription": "Counts duration of L1D miss outstanding in cycles.",
54        "SampleAfterValue": "1000003",
55        "UMask": "0x1",
56        "Unit": "cpu_core"
57    },
58    {
59        "BriefDescription": "L2 cache lines filling L2",
60        "EventCode": "0x25",
61        "EventName": "L2_LINES_IN.ALL",
62        "PublicDescription": "Counts the number of L2 cache lines filling the L2. Counting does not cover rejects.",
63        "SampleAfterValue": "100003",
64        "UMask": "0x1f",
65        "Unit": "cpu_core"
66    },
67    {
68        "BriefDescription": "Modified cache lines that are evicted by L2 cache when triggered by an L2 cache fill.",
69        "EventCode": "0x26",
70        "EventName": "L2_LINES_OUT.NON_SILENT",
71        "PublicDescription": "Counts the number of lines that are evicted by L2 cache when triggered by an L2 cache fill. Those lines are in Modified state. Modified lines are written back to L3",
72        "SampleAfterValue": "200003",
73        "UMask": "0x2",
74        "Unit": "cpu_core"
75    },
76    {
77        "BriefDescription": "Non-modified cache lines that are silently dropped by L2 cache when triggered by an L2 cache fill.",
78        "EventCode": "0x26",
79        "EventName": "L2_LINES_OUT.SILENT",
80        "PublicDescription": "Counts the number of lines that are silently dropped by L2 cache when triggered by an L2 cache fill. These lines are typically in Shared or Exclusive state. A non-threaded event.",
81        "SampleAfterValue": "200003",
82        "UMask": "0x1",
83        "Unit": "cpu_core"
84    },
85    {
86        "BriefDescription": "All accesses to L2 cache [This event is alias to L2_RQSTS.REFERENCES]",
87        "EventCode": "0x24",
88        "EventName": "L2_REQUEST.ALL",
89        "PublicDescription": "Counts all requests that were hit or true misses in L2 cache. True-miss excludes misses that were merged with ongoing L2 misses. [This event is alias to L2_RQSTS.REFERENCES]",
90        "SampleAfterValue": "200003",
91        "UMask": "0xff",
92        "Unit": "cpu_core"
93    },
94    {
95        "BriefDescription": "All requests that hit L2 cache. [This event is alias to L2_RQSTS.HIT]",
96        "EventCode": "0x24",
97        "EventName": "L2_REQUEST.HIT",
98        "PublicDescription": "Counts all requests that hit L2 cache. [This event is alias to L2_RQSTS.HIT]",
99        "SampleAfterValue": "200003",
100        "UMask": "0xdf",
101        "Unit": "cpu_core"
102    },
103    {
104        "BriefDescription": "Read requests with true-miss in L2 cache [This event is alias to L2_RQSTS.MISS]",
105        "EventCode": "0x24",
106        "EventName": "L2_REQUEST.MISS",
107        "PublicDescription": "Counts read requests of any type with true-miss in the L2 cache. True-miss excludes L2 misses that were merged with ongoing L2 misses. [This event is alias to L2_RQSTS.MISS]",
108        "SampleAfterValue": "200003",
109        "UMask": "0x3f",
110        "Unit": "cpu_core"
111    },
112    {
113        "BriefDescription": "L2 code requests",
114        "EventCode": "0x24",
115        "EventName": "L2_RQSTS.ALL_CODE_RD",
116        "PublicDescription": "Counts the total number of L2 code requests.",
117        "SampleAfterValue": "200003",
118        "UMask": "0xe4",
119        "Unit": "cpu_core"
120    },
121    {
122        "BriefDescription": "Demand Data Read access L2 cache",
123        "EventCode": "0x24",
124        "EventName": "L2_RQSTS.ALL_DEMAND_DATA_RD",
125        "PublicDescription": "Counts Demand Data Read requests accessing the L2 cache. These requests may hit or miss L2 cache. True-miss exclude misses that were merged with ongoing L2 misses. An access is counted once.",
126        "SampleAfterValue": "200003",
127        "UMask": "0xe1",
128        "Unit": "cpu_core"
129    },
130    {
131        "BriefDescription": "Demand requests that miss L2 cache",
132        "EventCode": "0x24",
133        "EventName": "L2_RQSTS.ALL_DEMAND_MISS",
134        "PublicDescription": "Counts demand requests that miss L2 cache.",
135        "SampleAfterValue": "200003",
136        "UMask": "0x27",
137        "Unit": "cpu_core"
138    },
139    {
140        "BriefDescription": "Demand requests to L2 cache",
141        "EventCode": "0x24",
142        "EventName": "L2_RQSTS.ALL_DEMAND_REFERENCES",
143        "PublicDescription": "Counts demand requests to L2 cache.",
144        "SampleAfterValue": "200003",
145        "UMask": "0xe7",
146        "Unit": "cpu_core"
147    },
148    {
149        "BriefDescription": "L2_RQSTS.ALL_HWPF",
150        "EventCode": "0x24",
151        "EventName": "L2_RQSTS.ALL_HWPF",
152        "SampleAfterValue": "200003",
153        "UMask": "0xf0",
154        "Unit": "cpu_core"
155    },
156    {
157        "BriefDescription": "RFO requests to L2 cache",
158        "EventCode": "0x24",
159        "EventName": "L2_RQSTS.ALL_RFO",
160        "PublicDescription": "Counts the total number of RFO (read for ownership) requests to L2 cache. L2 RFO requests include both L1D demand RFO misses as well as L1D RFO prefetches.",
161        "SampleAfterValue": "200003",
162        "UMask": "0xe2",
163        "Unit": "cpu_core"
164    },
165    {
166        "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
167        "EventCode": "0x24",
168        "EventName": "L2_RQSTS.CODE_RD_HIT",
169        "PublicDescription": "Counts L2 cache hits when fetching instructions, code reads.",
170        "SampleAfterValue": "200003",
171        "UMask": "0xc4",
172        "Unit": "cpu_core"
173    },
174    {
175        "BriefDescription": "L2 cache misses when fetching instructions",
176        "EventCode": "0x24",
177        "EventName": "L2_RQSTS.CODE_RD_MISS",
178        "PublicDescription": "Counts L2 cache misses when fetching instructions.",
179        "SampleAfterValue": "200003",
180        "UMask": "0x24",
181        "Unit": "cpu_core"
182    },
183    {
184        "BriefDescription": "Demand Data Read requests that hit L2 cache",
185        "EventCode": "0x24",
186        "EventName": "L2_RQSTS.DEMAND_DATA_RD_HIT",
187        "PublicDescription": "Counts the number of demand Data Read requests initiated by load instructions that hit L2 cache.",
188        "SampleAfterValue": "200003",
189        "UMask": "0xc1",
190        "Unit": "cpu_core"
191    },
192    {
193        "BriefDescription": "Demand Data Read miss L2 cache",
194        "EventCode": "0x24",
195        "EventName": "L2_RQSTS.DEMAND_DATA_RD_MISS",
196        "PublicDescription": "Counts demand Data Read requests with true-miss in the L2 cache. True-miss excludes misses that were merged with ongoing L2 misses. An access is counted once.",
197        "SampleAfterValue": "200003",
198        "UMask": "0x21",
199        "Unit": "cpu_core"
200    },
201    {
202        "BriefDescription": "All requests that hit L2 cache. [This event is alias to L2_REQUEST.HIT]",
203        "EventCode": "0x24",
204        "EventName": "L2_RQSTS.HIT",
205        "PublicDescription": "Counts all requests that hit L2 cache. [This event is alias to L2_REQUEST.HIT]",
206        "SampleAfterValue": "200003",
207        "UMask": "0xdf",
208        "Unit": "cpu_core"
209    },
210    {
211        "BriefDescription": "L2_RQSTS.HWPF_MISS",
212        "EventCode": "0x24",
213        "EventName": "L2_RQSTS.HWPF_MISS",
214        "SampleAfterValue": "200003",
215        "UMask": "0x30",
216        "Unit": "cpu_core"
217    },
218    {
219        "BriefDescription": "Read requests with true-miss in L2 cache [This event is alias to L2_REQUEST.MISS]",
220        "EventCode": "0x24",
221        "EventName": "L2_RQSTS.MISS",
222        "PublicDescription": "Counts read requests of any type with true-miss in the L2 cache. True-miss excludes L2 misses that were merged with ongoing L2 misses. [This event is alias to L2_REQUEST.MISS]",
223        "SampleAfterValue": "200003",
224        "UMask": "0x3f",
225        "Unit": "cpu_core"
226    },
227    {
228        "BriefDescription": "All accesses to L2 cache [This event is alias to L2_REQUEST.ALL]",
229        "EventCode": "0x24",
230        "EventName": "L2_RQSTS.REFERENCES",
231        "PublicDescription": "Counts all requests that were hit or true misses in L2 cache. True-miss excludes misses that were merged with ongoing L2 misses. [This event is alias to L2_REQUEST.ALL]",
232        "SampleAfterValue": "200003",
233        "UMask": "0xff",
234        "Unit": "cpu_core"
235    },
236    {
237        "BriefDescription": "RFO requests that hit L2 cache",
238        "EventCode": "0x24",
239        "EventName": "L2_RQSTS.RFO_HIT",
240        "PublicDescription": "Counts the RFO (Read-for-Ownership) requests that hit L2 cache.",
241        "SampleAfterValue": "200003",
242        "UMask": "0xc2",
243        "Unit": "cpu_core"
244    },
245    {
246        "BriefDescription": "RFO requests that miss L2 cache",
247        "EventCode": "0x24",
248        "EventName": "L2_RQSTS.RFO_MISS",
249        "PublicDescription": "Counts the RFO (Read-for-Ownership) requests that miss L2 cache.",
250        "SampleAfterValue": "200003",
251        "UMask": "0x22",
252        "Unit": "cpu_core"
253    },
254    {
255        "BriefDescription": "L2 writebacks that access L2 cache",
256        "EventCode": "0x23",
257        "EventName": "L2_TRANS.L2_WB",
258        "PublicDescription": "Counts L2 writebacks that access L2 cache.",
259        "SampleAfterValue": "200003",
260        "UMask": "0x40",
261        "Unit": "cpu_core"
262    },
263    {
264        "BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
265        "EventCode": "0x2e",
266        "EventName": "LONGEST_LAT_CACHE.MISS",
267        "PublicDescription": "Counts the number of cacheable memory requests that miss in the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
268        "SampleAfterValue": "200003",
269        "UMask": "0x41",
270        "Unit": "cpu_atom"
271    },
272    {
273        "BriefDescription": "Core-originated cacheable requests that missed L3  (Except hardware prefetches to the L3)",
274        "EventCode": "0x2e",
275        "EventName": "LONGEST_LAT_CACHE.MISS",
276        "PublicDescription": "Counts core-originated cacheable requests that miss the L3 cache (Longest Latency cache). Requests include data and code reads, Reads-for-Ownership (RFOs), speculative accesses and hardware prefetches to the L1 and L2.  It does not include hardware prefetches to the L3, and may not count other types of requests to the L3.",
277        "SampleAfterValue": "100003",
278        "UMask": "0x41",
279        "Unit": "cpu_core"
280    },
281    {
282        "BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
283        "EventCode": "0x2e",
284        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
285        "PublicDescription": "Counts the number of cacheable memory requests that access the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
286        "SampleAfterValue": "200003",
287        "UMask": "0x4f",
288        "Unit": "cpu_atom"
289    },
290    {
291        "BriefDescription": "Core-originated cacheable requests that refer to L3 (Except hardware prefetches to the L3)",
292        "EventCode": "0x2e",
293        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
294        "PublicDescription": "Counts core-originated cacheable requests to the L3 cache (Longest Latency cache). Requests include data and code reads, Reads-for-Ownership (RFOs), speculative accesses and hardware prefetches to the L1 and L2.  It does not include hardware prefetches to the L3, and may not count other types of requests to the L3.",
295        "SampleAfterValue": "100003",
296        "UMask": "0x4f",
297        "Unit": "cpu_core"
298    },
299    {
300        "BriefDescription": "Counts the number of unhalted cycles when the core is stalled due to an instruction cache or TLB miss.",
301        "EventCode": "0x35",
302        "EventName": "MEM_BOUND_STALLS_IFETCH.ALL",
303        "SampleAfterValue": "1000003",
304        "UMask": "0x6f",
305        "Unit": "cpu_atom"
306    },
307    {
308        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the L2 cache.",
309        "EventCode": "0x35",
310        "EventName": "MEM_BOUND_STALLS_IFETCH.L2_HIT",
311        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or Translation Lookaside Buffer (TLB) miss which hit in the L2 cache.",
312        "SampleAfterValue": "1000003",
313        "UMask": "0x1",
314        "Unit": "cpu_atom"
315    },
316    {
317        "BriefDescription": "Counts the number of unhalted cycles when the core is stalled due to an icache or itlb miss which hit in the LLC.",
318        "EventCode": "0x35",
319        "EventName": "MEM_BOUND_STALLS_IFETCH.LLC_HIT",
320        "SampleAfterValue": "1000003",
321        "UMask": "0x6",
322        "Unit": "cpu_atom"
323    },
324    {
325        "BriefDescription": "Counts the number of unhalted cycles when the core is stalled due to an icache or itlb miss which missed all the caches.",
326        "EventCode": "0x35",
327        "EventName": "MEM_BOUND_STALLS_IFETCH.LLC_MISS",
328        "SampleAfterValue": "1000003",
329        "UMask": "0x68",
330        "Unit": "cpu_atom"
331    },
332    {
333        "BriefDescription": "Counts the number of unhalted cycles when the core is stalled due to an L1 demand load miss.",
334        "EventCode": "0x34",
335        "EventName": "MEM_BOUND_STALLS_LOAD.ALL",
336        "SampleAfterValue": "1000003",
337        "UMask": "0x6f",
338        "Unit": "cpu_atom"
339    },
340    {
341        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the L2 cache.",
342        "EventCode": "0x34",
343        "EventName": "MEM_BOUND_STALLS_LOAD.L2_HIT",
344        "PublicDescription": "Counts the number of cycles a core is stalled due to a demand load which hit in the L2 cache.",
345        "SampleAfterValue": "1000003",
346        "UMask": "0x1",
347        "Unit": "cpu_atom"
348    },
349    {
350        "BriefDescription": "Counts the number of unhalted cycles when the core is stalled due to a demand load miss which hit in the LLC.",
351        "EventCode": "0x34",
352        "EventName": "MEM_BOUND_STALLS_LOAD.LLC_HIT",
353        "SampleAfterValue": "1000003",
354        "UMask": "0x6",
355        "Unit": "cpu_atom"
356    },
357    {
358        "BriefDescription": "Counts the number of unhalted cycles when the core is stalled due to a demand load miss which missed all the local caches.",
359        "EventCode": "0x34",
360        "EventName": "MEM_BOUND_STALLS_LOAD.LLC_MISS",
361        "SampleAfterValue": "1000003",
362        "UMask": "0x68",
363        "Unit": "cpu_atom"
364    },
365    {
366        "BriefDescription": "Retired load instructions.",
367        "Data_LA": "1",
368        "EventCode": "0xd0",
369        "EventName": "MEM_INST_RETIRED.ALL_LOADS",
370        "PEBS": "1",
371        "PublicDescription": "Counts all retired load instructions. This event accounts for SW prefetch instructions of PREFETCHNTA or PREFETCHT0/1/2 or PREFETCHW.",
372        "SampleAfterValue": "1000003",
373        "UMask": "0x81",
374        "Unit": "cpu_core"
375    },
376    {
377        "BriefDescription": "Retired store instructions.",
378        "Data_LA": "1",
379        "EventCode": "0xd0",
380        "EventName": "MEM_INST_RETIRED.ALL_STORES",
381        "PEBS": "1",
382        "PublicDescription": "Counts all retired store instructions.",
383        "SampleAfterValue": "1000003",
384        "UMask": "0x82",
385        "Unit": "cpu_core"
386    },
387    {
388        "BriefDescription": "All retired memory instructions.",
389        "Data_LA": "1",
390        "EventCode": "0xd0",
391        "EventName": "MEM_INST_RETIRED.ANY",
392        "PEBS": "1",
393        "PublicDescription": "Counts all retired memory instructions - loads and stores.",
394        "SampleAfterValue": "1000003",
395        "UMask": "0x83",
396        "Unit": "cpu_core"
397    },
398    {
399        "BriefDescription": "Retired load instructions with locked access.",
400        "Data_LA": "1",
401        "EventCode": "0xd0",
402        "EventName": "MEM_INST_RETIRED.LOCK_LOADS",
403        "PEBS": "1",
404        "PublicDescription": "Counts retired load instructions with locked access.",
405        "SampleAfterValue": "100007",
406        "UMask": "0x21",
407        "Unit": "cpu_core"
408    },
409    {
410        "BriefDescription": "Retired load instructions that split across a cacheline boundary.",
411        "Data_LA": "1",
412        "EventCode": "0xd0",
413        "EventName": "MEM_INST_RETIRED.SPLIT_LOADS",
414        "PEBS": "1",
415        "PublicDescription": "Counts retired load instructions that split across a cacheline boundary.",
416        "SampleAfterValue": "100003",
417        "UMask": "0x41",
418        "Unit": "cpu_core"
419    },
420    {
421        "BriefDescription": "Retired store instructions that split across a cacheline boundary.",
422        "Data_LA": "1",
423        "EventCode": "0xd0",
424        "EventName": "MEM_INST_RETIRED.SPLIT_STORES",
425        "PEBS": "1",
426        "PublicDescription": "Counts retired store instructions that split across a cacheline boundary.",
427        "SampleAfterValue": "100003",
428        "UMask": "0x42",
429        "Unit": "cpu_core"
430    },
431    {
432        "BriefDescription": "Retired load instructions that hit the STLB.",
433        "Data_LA": "1",
434        "EventCode": "0xd0",
435        "EventName": "MEM_INST_RETIRED.STLB_HIT_LOADS",
436        "PEBS": "1",
437        "PublicDescription": "Number of retired load instructions with a clean hit in the 2nd-level TLB (STLB).",
438        "SampleAfterValue": "100003",
439        "UMask": "0x9",
440        "Unit": "cpu_core"
441    },
442    {
443        "BriefDescription": "Retired store instructions that hit the STLB.",
444        "Data_LA": "1",
445        "EventCode": "0xd0",
446        "EventName": "MEM_INST_RETIRED.STLB_HIT_STORES",
447        "PEBS": "1",
448        "PublicDescription": "Number of retired store instructions that hit in the 2nd-level TLB (STLB).",
449        "SampleAfterValue": "100003",
450        "UMask": "0xa",
451        "Unit": "cpu_core"
452    },
453    {
454        "BriefDescription": "Retired load instructions that miss the STLB.",
455        "Data_LA": "1",
456        "EventCode": "0xd0",
457        "EventName": "MEM_INST_RETIRED.STLB_MISS_LOADS",
458        "PEBS": "1",
459        "PublicDescription": "Number of retired load instructions that (start a) miss in the 2nd-level TLB (STLB).",
460        "SampleAfterValue": "100003",
461        "UMask": "0x11",
462        "Unit": "cpu_core"
463    },
464    {
465        "BriefDescription": "Retired store instructions that miss the STLB.",
466        "Data_LA": "1",
467        "EventCode": "0xd0",
468        "EventName": "MEM_INST_RETIRED.STLB_MISS_STORES",
469        "PEBS": "1",
470        "PublicDescription": "Number of retired store instructions that (start a) miss in the 2nd-level TLB (STLB).",
471        "SampleAfterValue": "100003",
472        "UMask": "0x12",
473        "Unit": "cpu_core"
474    },
475    {
476        "BriefDescription": "Completed demand load uops that miss the L1 d-cache.",
477        "EventCode": "0x43",
478        "EventName": "MEM_LOAD_COMPLETED.L1_MISS_ANY",
479        "PublicDescription": "Number of completed demand load requests that missed the L1 data cache including shadow misses (FB hits, merge to an ongoing L1D miss)",
480        "SampleAfterValue": "1000003",
481        "UMask": "0xfd",
482        "Unit": "cpu_core"
483    },
484    {
485        "BriefDescription": "Retired load instructions whose data sources were HitM responses from shared L3",
486        "Data_LA": "1",
487        "EventCode": "0xd2",
488        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD",
489        "PEBS": "1",
490        "PublicDescription": "Counts retired load instructions whose data sources were HitM responses from shared L3.",
491        "SampleAfterValue": "20011",
492        "UMask": "0x4",
493        "Unit": "cpu_core"
494    },
495    {
496        "BriefDescription": "Retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cache",
497        "Data_LA": "1",
498        "EventCode": "0xd2",
499        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_HIT",
500        "PEBS": "1",
501        "PublicDescription": "Counts retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cache.",
502        "SampleAfterValue": "20011",
503        "UMask": "0x2",
504        "Unit": "cpu_core"
505    },
506    {
507        "BriefDescription": "Retired load instructions whose data sources were HitM responses from shared L3",
508        "Data_LA": "1",
509        "EventCode": "0xd2",
510        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM",
511        "PEBS": "1",
512        "PublicDescription": "Counts retired load instructions whose data sources were HitM responses from shared L3.",
513        "SampleAfterValue": "20011",
514        "UMask": "0x4",
515        "Unit": "cpu_core"
516    },
517    {
518        "BriefDescription": "Retired load instructions whose data sources were hits in L3 without snoops required",
519        "Data_LA": "1",
520        "EventCode": "0xd2",
521        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_NONE",
522        "PEBS": "1",
523        "PublicDescription": "Counts retired load instructions whose data sources were hits in L3 without snoops required.",
524        "SampleAfterValue": "100003",
525        "UMask": "0x8",
526        "Unit": "cpu_core"
527    },
528    {
529        "BriefDescription": "Retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cache",
530        "Data_LA": "1",
531        "EventCode": "0xd2",
532        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_NO_FWD",
533        "PEBS": "1",
534        "PublicDescription": "Counts retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cache.",
535        "SampleAfterValue": "20011",
536        "UMask": "0x2",
537        "Unit": "cpu_core"
538    },
539    {
540        "BriefDescription": "Retired load instructions which data sources missed L3 but serviced from local dram",
541        "Data_LA": "1",
542        "EventCode": "0xd3",
543        "EventName": "MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM",
544        "PEBS": "1",
545        "PublicDescription": "Retired load instructions which data sources missed L3 but serviced from local DRAM.",
546        "SampleAfterValue": "100007",
547        "UMask": "0x1",
548        "Unit": "cpu_core"
549    },
550    {
551        "BriefDescription": "Retired instructions with at least 1 uncacheable load or lock.",
552        "Data_LA": "1",
553        "EventCode": "0xd4",
554        "EventName": "MEM_LOAD_MISC_RETIRED.UC",
555        "PEBS": "1",
556        "PublicDescription": "Retired instructions with at least one load to uncacheable memory-type, or at least one cache-line split locked access (Bus Lock).",
557        "SampleAfterValue": "100007",
558        "UMask": "0x4",
559        "Unit": "cpu_core"
560    },
561    {
562        "BriefDescription": "Number of completed demand load requests that missed the L1, but hit the FB(fill buffer), because a preceding miss to the same cacheline initiated the line to be brought into L1, but data is not yet ready in L1.",
563        "Data_LA": "1",
564        "EventCode": "0xd1",
565        "EventName": "MEM_LOAD_RETIRED.FB_HIT",
566        "PEBS": "1",
567        "PublicDescription": "Counts retired load instructions with at least one uop was load missed in L1 but hit FB (Fill Buffers) due to preceding miss to the same cache line with data not ready.",
568        "SampleAfterValue": "100007",
569        "UMask": "0x40",
570        "Unit": "cpu_core"
571    },
572    {
573        "BriefDescription": "Retired load instructions with L1 cache hits as data sources",
574        "Data_LA": "1",
575        "EventCode": "0xd1",
576        "EventName": "MEM_LOAD_RETIRED.L1_HIT",
577        "PEBS": "1",
578        "PublicDescription": "Counts retired load instructions with at least one uop that hit in the L1 data cache. This event includes all SW prefetches and lock instructions regardless of the data source.",
579        "SampleAfterValue": "1000003",
580        "UMask": "0x1",
581        "Unit": "cpu_core"
582    },
583    {
584        "BriefDescription": "Retired load instructions missed L1 cache as data sources",
585        "Data_LA": "1",
586        "EventCode": "0xd1",
587        "EventName": "MEM_LOAD_RETIRED.L1_MISS",
588        "PEBS": "1",
589        "PublicDescription": "Counts retired load instructions with at least one uop that missed in the L1 cache.",
590        "SampleAfterValue": "200003",
591        "UMask": "0x8",
592        "Unit": "cpu_core"
593    },
594    {
595        "BriefDescription": "Retired load instructions with L2 cache hits as data sources",
596        "Data_LA": "1",
597        "EventCode": "0xd1",
598        "EventName": "MEM_LOAD_RETIRED.L2_HIT",
599        "PEBS": "1",
600        "PublicDescription": "Counts retired load instructions with L2 cache hits as data sources.",
601        "SampleAfterValue": "200003",
602        "UMask": "0x2",
603        "Unit": "cpu_core"
604    },
605    {
606        "BriefDescription": "Retired load instructions missed L2 cache as data sources",
607        "Data_LA": "1",
608        "EventCode": "0xd1",
609        "EventName": "MEM_LOAD_RETIRED.L2_MISS",
610        "PEBS": "1",
611        "PublicDescription": "Counts retired load instructions missed L2 cache as data sources.",
612        "SampleAfterValue": "100021",
613        "UMask": "0x10",
614        "Unit": "cpu_core"
615    },
616    {
617        "BriefDescription": "Retired load instructions with L3 cache hits as data sources",
618        "Data_LA": "1",
619        "EventCode": "0xd1",
620        "EventName": "MEM_LOAD_RETIRED.L3_HIT",
621        "PEBS": "1",
622        "PublicDescription": "Counts retired load instructions with at least one uop that hit in the L3 cache.",
623        "SampleAfterValue": "100021",
624        "UMask": "0x4",
625        "Unit": "cpu_core"
626    },
627    {
628        "BriefDescription": "Retired load instructions missed L3 cache as data sources",
629        "Data_LA": "1",
630        "EventCode": "0xd1",
631        "EventName": "MEM_LOAD_RETIRED.L3_MISS",
632        "PEBS": "1",
633        "PublicDescription": "Counts retired load instructions with at least one uop that missed in the L3 cache.",
634        "SampleAfterValue": "50021",
635        "UMask": "0x20",
636        "Unit": "cpu_core"
637    },
638    {
639        "BriefDescription": "Counts the number of load ops retired that miss the L3 cache and hit in DRAM",
640        "EventCode": "0xd4",
641        "EventName": "MEM_LOAD_UOPS_MISC_RETIRED.LOCAL_DRAM",
642        "PEBS": "1",
643        "SampleAfterValue": "1000003",
644        "UMask": "0x2",
645        "Unit": "cpu_atom"
646    },
647    {
648        "BriefDescription": "Counts the number of load ops retired that hit the L1 data cache.",
649        "EventCode": "0xd1",
650        "EventName": "MEM_LOAD_UOPS_RETIRED.L1_HIT",
651        "PEBS": "1",
652        "SampleAfterValue": "200003",
653        "UMask": "0x1",
654        "Unit": "cpu_atom"
655    },
656    {
657        "BriefDescription": "Counts the number of load ops retired that miss in the L1 data cache.",
658        "EventCode": "0xd1",
659        "EventName": "MEM_LOAD_UOPS_RETIRED.L1_MISS",
660        "PEBS": "1",
661        "SampleAfterValue": "200003",
662        "UMask": "0x40",
663        "Unit": "cpu_atom"
664    },
665    {
666        "BriefDescription": "Counts the number of load ops retired that hit in the L2 cache.",
667        "EventCode": "0xd1",
668        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_HIT",
669        "PEBS": "1",
670        "SampleAfterValue": "200003",
671        "UMask": "0x2",
672        "Unit": "cpu_atom"
673    },
674    {
675        "BriefDescription": "Counts the number of load ops retired that miss in the L2 cache.",
676        "EventCode": "0xd1",
677        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_MISS",
678        "PEBS": "1",
679        "SampleAfterValue": "200003",
680        "UMask": "0x80",
681        "Unit": "cpu_atom"
682    },
683    {
684        "BriefDescription": "Counts the number of load ops retired that hit in the L3 cache.",
685        "EventCode": "0xd1",
686        "EventName": "MEM_LOAD_UOPS_RETIRED.L3_HIT",
687        "PEBS": "1",
688        "SampleAfterValue": "200003",
689        "UMask": "0x1c",
690        "Unit": "cpu_atom"
691    },
692    {
693        "BriefDescription": "Counts the number of loads that hit in a write combining buffer (WCB), excluding the first load that caused the WCB to allocate.",
694        "EventCode": "0xd1",
695        "EventName": "MEM_LOAD_UOPS_RETIRED.WCB_HIT",
696        "PEBS": "1",
697        "SampleAfterValue": "200003",
698        "UMask": "0x20",
699        "Unit": "cpu_atom"
700    },
701    {
702        "BriefDescription": "Counts the number of cycles that uops are blocked for any of the following reasons:  load buffer, store buffer or RSV full.",
703        "EventCode": "0x04",
704        "EventName": "MEM_SCHEDULER_BLOCK.ALL",
705        "SampleAfterValue": "20003",
706        "UMask": "0x7",
707        "Unit": "cpu_atom"
708    },
709    {
710        "BriefDescription": "Counts the number of cycles that uops are blocked due to a load buffer full condition.",
711        "EventCode": "0x04",
712        "EventName": "MEM_SCHEDULER_BLOCK.LD_BUF",
713        "SampleAfterValue": "20003",
714        "UMask": "0x2",
715        "Unit": "cpu_atom"
716    },
717    {
718        "BriefDescription": "Counts the number of cycles that uops are blocked due to an RSV full condition.",
719        "EventCode": "0x04",
720        "EventName": "MEM_SCHEDULER_BLOCK.RSV",
721        "SampleAfterValue": "20003",
722        "UMask": "0x4",
723        "Unit": "cpu_atom"
724    },
725    {
726        "BriefDescription": "Counts the number of cycles that uops are blocked due to a store buffer full condition.",
727        "EventCode": "0x04",
728        "EventName": "MEM_SCHEDULER_BLOCK.ST_BUF",
729        "SampleAfterValue": "20003",
730        "UMask": "0x1",
731        "Unit": "cpu_atom"
732    },
733    {
734        "BriefDescription": "Counts the number of load ops retired.",
735        "Data_LA": "1",
736        "EventCode": "0xd0",
737        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
738        "PEBS": "1",
739        "SampleAfterValue": "200003",
740        "UMask": "0x81",
741        "Unit": "cpu_atom"
742    },
743    {
744        "BriefDescription": "Counts the number of store ops retired.",
745        "Data_LA": "1",
746        "EventCode": "0xd0",
747        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
748        "PEBS": "1",
749        "SampleAfterValue": "200003",
750        "UMask": "0x82",
751        "Unit": "cpu_atom"
752    },
753    {
754        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
755        "Data_LA": "1",
756        "EventCode": "0xd0",
757        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_1024",
758        "MSRIndex": "0x3F6",
759        "MSRValue": "0x400",
760        "PEBS": "2",
761        "SampleAfterValue": "1000003",
762        "UMask": "0x5",
763        "Unit": "cpu_atom"
764    },
765    {
766        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
767        "Data_LA": "1",
768        "EventCode": "0xd0",
769        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
770        "MSRIndex": "0x3F6",
771        "MSRValue": "0x80",
772        "PEBS": "2",
773        "SampleAfterValue": "1000003",
774        "UMask": "0x5",
775        "Unit": "cpu_atom"
776    },
777    {
778        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
779        "Data_LA": "1",
780        "EventCode": "0xd0",
781        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
782        "MSRIndex": "0x3F6",
783        "MSRValue": "0x10",
784        "PEBS": "2",
785        "SampleAfterValue": "1000003",
786        "UMask": "0x5",
787        "Unit": "cpu_atom"
788    },
789    {
790        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
791        "Data_LA": "1",
792        "EventCode": "0xd0",
793        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_2048",
794        "MSRIndex": "0x3F6",
795        "MSRValue": "0x800",
796        "PEBS": "2",
797        "SampleAfterValue": "1000003",
798        "UMask": "0x5",
799        "Unit": "cpu_atom"
800    },
801    {
802        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
803        "Data_LA": "1",
804        "EventCode": "0xd0",
805        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
806        "MSRIndex": "0x3F6",
807        "MSRValue": "0x100",
808        "PEBS": "2",
809        "SampleAfterValue": "1000003",
810        "UMask": "0x5",
811        "Unit": "cpu_atom"
812    },
813    {
814        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
815        "Data_LA": "1",
816        "EventCode": "0xd0",
817        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
818        "MSRIndex": "0x3F6",
819        "MSRValue": "0x20",
820        "PEBS": "2",
821        "SampleAfterValue": "1000003",
822        "UMask": "0x5",
823        "Unit": "cpu_atom"
824    },
825    {
826        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
827        "Data_LA": "1",
828        "EventCode": "0xd0",
829        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
830        "MSRIndex": "0x3F6",
831        "MSRValue": "0x4",
832        "PEBS": "2",
833        "SampleAfterValue": "1000003",
834        "UMask": "0x5",
835        "Unit": "cpu_atom"
836    },
837    {
838        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
839        "Data_LA": "1",
840        "EventCode": "0xd0",
841        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
842        "MSRIndex": "0x3F6",
843        "MSRValue": "0x200",
844        "PEBS": "2",
845        "SampleAfterValue": "1000003",
846        "UMask": "0x5",
847        "Unit": "cpu_atom"
848    },
849    {
850        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
851        "Data_LA": "1",
852        "EventCode": "0xd0",
853        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
854        "MSRIndex": "0x3F6",
855        "MSRValue": "0x40",
856        "PEBS": "2",
857        "SampleAfterValue": "1000003",
858        "UMask": "0x5",
859        "Unit": "cpu_atom"
860    },
861    {
862        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
863        "Data_LA": "1",
864        "EventCode": "0xd0",
865        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
866        "MSRIndex": "0x3F6",
867        "MSRValue": "0x8",
868        "PEBS": "2",
869        "SampleAfterValue": "1000003",
870        "UMask": "0x5",
871        "Unit": "cpu_atom"
872    },
873    {
874        "BriefDescription": "Counts the number of load uops retired that performed one or more locks",
875        "Data_LA": "1",
876        "EventCode": "0xd0",
877        "EventName": "MEM_UOPS_RETIRED.LOCK_LOADS",
878        "PEBS": "1",
879        "SampleAfterValue": "200003",
880        "UMask": "0x21",
881        "Unit": "cpu_atom"
882    },
883    {
884        "BriefDescription": "Counts the number of memory uops retired that were splits.",
885        "Data_LA": "1",
886        "EventCode": "0xd0",
887        "EventName": "MEM_UOPS_RETIRED.SPLIT",
888        "PEBS": "1",
889        "SampleAfterValue": "200003",
890        "UMask": "0x43",
891        "Unit": "cpu_atom"
892    },
893    {
894        "BriefDescription": "Counts the number of retired split load uops.",
895        "Data_LA": "1",
896        "EventCode": "0xd0",
897        "EventName": "MEM_UOPS_RETIRED.SPLIT_LOADS",
898        "PEBS": "1",
899        "SampleAfterValue": "200003",
900        "UMask": "0x41",
901        "Unit": "cpu_atom"
902    },
903    {
904        "BriefDescription": "Counts the number of retired split store uops.",
905        "Data_LA": "1",
906        "EventCode": "0xd0",
907        "EventName": "MEM_UOPS_RETIRED.SPLIT_STORES",
908        "PEBS": "1",
909        "SampleAfterValue": "200003",
910        "UMask": "0x42",
911        "Unit": "cpu_atom"
912    },
913    {
914        "BriefDescription": "Counts the number of  stores uops retired same as MEM_UOPS_RETIRED.ALL_STORES",
915        "Data_LA": "1",
916        "EventCode": "0xd0",
917        "EventName": "MEM_UOPS_RETIRED.STORE_LATENCY",
918        "PEBS": "2",
919        "SampleAfterValue": "1000003",
920        "UMask": "0x6",
921        "Unit": "cpu_atom"
922    },
923    {
924        "BriefDescription": "Retired memory uops for any access",
925        "EventCode": "0xe5",
926        "EventName": "MEM_UOP_RETIRED.ANY",
927        "PublicDescription": "Number of retired micro-operations (uops) for load or store memory accesses",
928        "SampleAfterValue": "1000003",
929        "UMask": "0x3",
930        "Unit": "cpu_core"
931    },
932    {
933        "BriefDescription": "Counts demand data reads that resulted in a snoop hit in another cores caches, data forwarding is required as the data is modified.",
934        "EventCode": "0x2A,0x2B",
935        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM",
936        "MSRIndex": "0x1a6,0x1a7",
937        "MSRValue": "0x10003C0001",
938        "SampleAfterValue": "100003",
939        "UMask": "0x1",
940        "Unit": "cpu_core"
941    },
942    {
943        "BriefDescription": "Counts demand data reads that resulted in a snoop hit in another cores caches which forwarded the unmodified data to the requesting core.",
944        "EventCode": "0x2A,0x2B",
945        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD",
946        "MSRIndex": "0x1a6,0x1a7",
947        "MSRValue": "0x8003C0001",
948        "SampleAfterValue": "100003",
949        "UMask": "0x1",
950        "Unit": "cpu_core"
951    },
952    {
953        "BriefDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that resulted in a snoop hit in another cores caches, data forwarding is required as the data is modified.",
954        "EventCode": "0x2A,0x2B",
955        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM",
956        "MSRIndex": "0x1a6,0x1a7",
957        "MSRValue": "0x10003C0002",
958        "SampleAfterValue": "100003",
959        "UMask": "0x1",
960        "Unit": "cpu_core"
961    },
962    {
963        "BriefDescription": "Any memory transaction that reached the SQ.",
964        "EventCode": "0x21",
965        "EventName": "OFFCORE_REQUESTS.ALL_REQUESTS",
966        "PublicDescription": "Counts memory transactions reached the super queue including requests initiated by the core, all L3 prefetches, page walks, etc..",
967        "SampleAfterValue": "100003",
968        "UMask": "0x80",
969        "Unit": "cpu_core"
970    },
971    {
972        "BriefDescription": "Demand and prefetch data reads",
973        "EventCode": "0x21",
974        "EventName": "OFFCORE_REQUESTS.DATA_RD",
975        "PublicDescription": "Counts the demand and prefetch data reads. All Core Data Reads include cacheable 'Demands' and L2 prefetchers (not L3 prefetchers). Counting also covers reads due to page walks resulted from any request type.",
976        "SampleAfterValue": "100003",
977        "UMask": "0x8",
978        "Unit": "cpu_core"
979    },
980    {
981        "BriefDescription": "Demand Data Read requests sent to uncore",
982        "EventCode": "0x21",
983        "EventName": "OFFCORE_REQUESTS.DEMAND_DATA_RD",
984        "PublicDescription": "Counts the Demand Data Read requests sent to uncore. Use it in conjunction with OFFCORE_REQUESTS_OUTSTANDING to determine average latency in the uncore.",
985        "SampleAfterValue": "100003",
986        "UMask": "0x1",
987        "Unit": "cpu_core"
988    },
989    {
990        "BriefDescription": "Demand RFO requests including regular RFOs, locks, ItoM",
991        "EventCode": "0x21",
992        "EventName": "OFFCORE_REQUESTS.DEMAND_RFO",
993        "PublicDescription": "Counts the demand RFO (read for ownership) requests including regular RFOs, locks, ItoM.",
994        "SampleAfterValue": "100003",
995        "UMask": "0x4",
996        "Unit": "cpu_core"
997    },
998    {
999        "BriefDescription": "Counts bus locks, accounts for cache line split locks and UC locks.",
1000        "EventCode": "0x2c",
1001        "EventName": "SQ_MISC.BUS_LOCK",
1002        "PublicDescription": "Counts the more expensive bus lock needed to enforce cache coherency for certain memory accesses that need to be done atomically.  Can be created by issuing an atomic instruction (via the LOCK prefix) which causes a cache line split or accesses uncacheable memory.",
1003        "SampleAfterValue": "100003",
1004        "UMask": "0x10",
1005        "Unit": "cpu_core"
1006    },
1007    {
1008        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to an icache miss",
1009        "EventCode": "0x71",
1010        "EventName": "TOPDOWN_FE_BOUND.ICACHE",
1011        "SampleAfterValue": "1000003",
1012        "UMask": "0x20",
1013        "Unit": "cpu_atom"
1014    }
1015]
1016