xref: /linux/tools/perf/pmu-events/arch/x86/icelake/cache.json (revision 70839da6360500a82e4d5f78499284474cbed7c1)
1[
2    {
3        "BriefDescription": "Counts the number of cache lines replaced in L1 data cache.",
4        "EventCode": "0x51",
5        "EventName": "L1D.REPLACEMENT",
6        "PublicDescription": "Counts L1D data line replacements including opportunistic replacements, and replacements that require stall-for-replace or block-for-replace.",
7        "SampleAfterValue": "100003",
8        "UMask": "0x1"
9    },
10    {
11        "BriefDescription": "Number of cycles a demand request has waited due to L1D Fill Buffer (FB) unavailability.",
12        "EventCode": "0x48",
13        "EventName": "L1D_PEND_MISS.FB_FULL",
14        "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.",
15        "SampleAfterValue": "1000003",
16        "UMask": "0x2"
17    },
18    {
19        "BriefDescription": "Number of phases a demand request has waited due to L1D Fill Buffer (FB) unavailability.",
20        "CounterMask": "1",
21        "EdgeDetect": "1",
22        "EventCode": "0x48",
23        "EventName": "L1D_PEND_MISS.FB_FULL_PERIODS",
24        "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.",
25        "SampleAfterValue": "1000003",
26        "UMask": "0x2"
27    },
28    {
29        "BriefDescription": "Number of cycles a demand request has waited due to L1D due to lack of L2 resources.",
30        "EventCode": "0x48",
31        "EventName": "L1D_PEND_MISS.L2_STALL",
32        "PublicDescription": "Counts number of cycles a demand request has waited due to L1D due to lack of L2 resources. Demand requests include cacheable/uncacheable demand load, store, lock or SW prefetch accesses.",
33        "SampleAfterValue": "1000003",
34        "UMask": "0x4"
35    },
36    {
37        "BriefDescription": "Number of L1D misses that are outstanding",
38        "EventCode": "0x48",
39        "EventName": "L1D_PEND_MISS.PENDING",
40        "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.",
41        "SampleAfterValue": "1000003",
42        "UMask": "0x1"
43    },
44    {
45        "BriefDescription": "Cycles with L1D load Misses outstanding.",
46        "CounterMask": "1",
47        "EventCode": "0x48",
48        "EventName": "L1D_PEND_MISS.PENDING_CYCLES",
49        "PublicDescription": "Counts duration of L1D miss outstanding in cycles.",
50        "SampleAfterValue": "1000003",
51        "UMask": "0x1"
52    },
53    {
54        "BriefDescription": "L2 cache lines filling L2",
55        "EventCode": "0xF1",
56        "EventName": "L2_LINES_IN.ALL",
57        "PublicDescription": "Counts the number of L2 cache lines filling the L2. Counting does not cover rejects.",
58        "SampleAfterValue": "100003",
59        "UMask": "0x1f"
60    },
61    {
62        "BriefDescription": "Modified cache lines that are evicted by L2 cache when triggered by an L2 cache fill.",
63        "EventCode": "0xF2",
64        "EventName": "L2_LINES_OUT.NON_SILENT",
65        "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",
66        "SampleAfterValue": "200003",
67        "UMask": "0x2"
68    },
69    {
70        "BriefDescription": "Non-modified cache lines that are silently dropped by L2 cache when triggered by an L2 cache fill.",
71        "EventCode": "0xF2",
72        "EventName": "L2_LINES_OUT.SILENT",
73        "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.",
74        "SampleAfterValue": "200003",
75        "UMask": "0x1"
76    },
77    {
78        "BriefDescription": "Cache lines that have been L2 hardware prefetched but not used by demand accesses",
79        "EventCode": "0xf2",
80        "EventName": "L2_LINES_OUT.USELESS_HWPF",
81        "PublicDescription": "Counts the number of cache lines that have been prefetched by the L2 hardware prefetcher but not used by demand access when evicted from the L2 cache",
82        "SampleAfterValue": "200003",
83        "UMask": "0x4"
84    },
85    {
86        "BriefDescription": "L2 code requests",
87        "EventCode": "0x24",
88        "EventName": "L2_RQSTS.ALL_CODE_RD",
89        "PublicDescription": "Counts the total number of L2 code requests.",
90        "SampleAfterValue": "200003",
91        "UMask": "0xe4"
92    },
93    {
94        "BriefDescription": "Demand Data Read requests",
95        "EventCode": "0x24",
96        "EventName": "L2_RQSTS.ALL_DEMAND_DATA_RD",
97        "PublicDescription": "Counts the number of demand Data Read requests (including requests from L1D hardware prefetchers). These loads may hit or miss L2 cache. Only non rejected loads are counted.",
98        "SampleAfterValue": "200003",
99        "UMask": "0xe1"
100    },
101    {
102        "BriefDescription": "Demand requests that miss L2 cache",
103        "EventCode": "0x24",
104        "EventName": "L2_RQSTS.ALL_DEMAND_MISS",
105        "PublicDescription": "Counts demand requests that miss L2 cache.",
106        "SampleAfterValue": "200003",
107        "UMask": "0x27"
108    },
109    {
110        "BriefDescription": "Demand requests to L2 cache",
111        "EventCode": "0x24",
112        "EventName": "L2_RQSTS.ALL_DEMAND_REFERENCES",
113        "PublicDescription": "Counts demand requests to L2 cache.",
114        "SampleAfterValue": "200003",
115        "UMask": "0xe7"
116    },
117    {
118        "BriefDescription": "RFO requests to L2 cache",
119        "EventCode": "0x24",
120        "EventName": "L2_RQSTS.ALL_RFO",
121        "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.",
122        "SampleAfterValue": "200003",
123        "UMask": "0xe2"
124    },
125    {
126        "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
127        "EventCode": "0x24",
128        "EventName": "L2_RQSTS.CODE_RD_HIT",
129        "PublicDescription": "Counts L2 cache hits when fetching instructions, code reads.",
130        "SampleAfterValue": "200003",
131        "UMask": "0xc4"
132    },
133    {
134        "BriefDescription": "L2 cache misses when fetching instructions",
135        "EventCode": "0x24",
136        "EventName": "L2_RQSTS.CODE_RD_MISS",
137        "PublicDescription": "Counts L2 cache misses when fetching instructions.",
138        "SampleAfterValue": "200003",
139        "UMask": "0x24"
140    },
141    {
142        "BriefDescription": "Demand Data Read requests that hit L2 cache",
143        "EventCode": "0x24",
144        "EventName": "L2_RQSTS.DEMAND_DATA_RD_HIT",
145        "PublicDescription": "Counts the number of demand Data Read requests initiated by load instructions that hit L2 cache.",
146        "SampleAfterValue": "200003",
147        "UMask": "0xc1"
148    },
149    {
150        "BriefDescription": "Demand Data Read miss L2, no rejects",
151        "EventCode": "0x24",
152        "EventName": "L2_RQSTS.DEMAND_DATA_RD_MISS",
153        "PublicDescription": "Counts the number of demand Data Read requests that miss L2 cache. Only not rejected loads are counted.",
154        "SampleAfterValue": "200003",
155        "UMask": "0x21"
156    },
157    {
158        "BriefDescription": "This event is deprecated.",
159        "Deprecated": "1",
160        "EventCode": "0x24",
161        "EventName": "L2_RQSTS.MISS",
162        "SampleAfterValue": "200003",
163        "UMask": "0x3f"
164    },
165    {
166        "BriefDescription": "This event is deprecated.",
167        "Deprecated": "1",
168        "EventCode": "0x24",
169        "EventName": "L2_RQSTS.REFERENCES",
170        "SampleAfterValue": "200003",
171        "UMask": "0xff"
172    },
173    {
174        "BriefDescription": "RFO requests that hit L2 cache",
175        "EventCode": "0x24",
176        "EventName": "L2_RQSTS.RFO_HIT",
177        "PublicDescription": "Counts the RFO (Read-for-Ownership) requests that hit L2 cache.",
178        "SampleAfterValue": "200003",
179        "UMask": "0xc2"
180    },
181    {
182        "BriefDescription": "RFO requests that miss L2 cache",
183        "EventCode": "0x24",
184        "EventName": "L2_RQSTS.RFO_MISS",
185        "PublicDescription": "Counts the RFO (Read-for-Ownership) requests that miss L2 cache.",
186        "SampleAfterValue": "200003",
187        "UMask": "0x22"
188    },
189    {
190        "BriefDescription": "SW prefetch requests that hit L2 cache.",
191        "EventCode": "0x24",
192        "EventName": "L2_RQSTS.SWPF_HIT",
193        "PublicDescription": "Counts Software prefetch requests that hit the L2 cache. Accounts for PREFETCHNTA and PREFETCHT0/1/2 instructions when FB is not full.",
194        "SampleAfterValue": "200003",
195        "UMask": "0xc8"
196    },
197    {
198        "BriefDescription": "SW prefetch requests that miss L2 cache.",
199        "EventCode": "0x24",
200        "EventName": "L2_RQSTS.SWPF_MISS",
201        "PublicDescription": "Counts Software prefetch requests that miss the L2 cache. Accounts for PREFETCHNTA and PREFETCHT0/1/2 instructions when FB is not full.",
202        "SampleAfterValue": "200003",
203        "UMask": "0x28"
204    },
205    {
206        "BriefDescription": "L2 writebacks that access L2 cache",
207        "EventCode": "0xF0",
208        "EventName": "L2_TRANS.L2_WB",
209        "PublicDescription": "Counts L2 writebacks that access L2 cache.",
210        "SampleAfterValue": "200003",
211        "UMask": "0x40"
212    },
213    {
214        "BriefDescription": "Core-originated cacheable requests that missed L3  (Except hardware prefetches to the L3)",
215        "EventCode": "0x2e",
216        "EventName": "LONGEST_LAT_CACHE.MISS",
217        "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.",
218        "SampleAfterValue": "100003",
219        "UMask": "0x41"
220    },
221    {
222        "BriefDescription": "Retired load instructions.",
223        "Data_LA": "1",
224        "EventCode": "0xd0",
225        "EventName": "MEM_INST_RETIRED.ALL_LOADS",
226        "PEBS": "1",
227        "PublicDescription": "Counts all retired load instructions. This event accounts for SW prefetch instructions of PREFETCHNTA or PREFETCHT0/1/2 or PREFETCHW.",
228        "SampleAfterValue": "1000003",
229        "UMask": "0x81"
230    },
231    {
232        "BriefDescription": "Retired store instructions.",
233        "Data_LA": "1",
234        "EventCode": "0xd0",
235        "EventName": "MEM_INST_RETIRED.ALL_STORES",
236        "PEBS": "1",
237        "PublicDescription": "Counts all retired store instructions.",
238        "SampleAfterValue": "1000003",
239        "UMask": "0x82"
240    },
241    {
242        "BriefDescription": "All retired memory instructions.",
243        "Data_LA": "1",
244        "EventCode": "0xd0",
245        "EventName": "MEM_INST_RETIRED.ANY",
246        "PEBS": "1",
247        "PublicDescription": "Counts all retired memory instructions - loads and stores.",
248        "SampleAfterValue": "1000003",
249        "UMask": "0x83"
250    },
251    {
252        "BriefDescription": "Retired load instructions with locked access.",
253        "Data_LA": "1",
254        "EventCode": "0xd0",
255        "EventName": "MEM_INST_RETIRED.LOCK_LOADS",
256        "PEBS": "1",
257        "PublicDescription": "Counts retired load instructions with locked access.",
258        "SampleAfterValue": "100007",
259        "UMask": "0x21"
260    },
261    {
262        "BriefDescription": "Retired load instructions that split across a cacheline boundary.",
263        "Data_LA": "1",
264        "EventCode": "0xd0",
265        "EventName": "MEM_INST_RETIRED.SPLIT_LOADS",
266        "PEBS": "1",
267        "PublicDescription": "Counts retired load instructions that split across a cacheline boundary.",
268        "SampleAfterValue": "100003",
269        "UMask": "0x41"
270    },
271    {
272        "BriefDescription": "Retired store instructions that split across a cacheline boundary.",
273        "Data_LA": "1",
274        "EventCode": "0xd0",
275        "EventName": "MEM_INST_RETIRED.SPLIT_STORES",
276        "PEBS": "1",
277        "PublicDescription": "Counts retired store instructions that split across a cacheline boundary.",
278        "SampleAfterValue": "100003",
279        "UMask": "0x42"
280    },
281    {
282        "BriefDescription": "Retired load instructions that miss the STLB.",
283        "Data_LA": "1",
284        "EventCode": "0xd0",
285        "EventName": "MEM_INST_RETIRED.STLB_MISS_LOADS",
286        "PEBS": "1",
287        "PublicDescription": "Number of retired load instructions that (start a) miss in the 2nd-level TLB (STLB).",
288        "SampleAfterValue": "100003",
289        "UMask": "0x11"
290    },
291    {
292        "BriefDescription": "Retired store instructions that miss the STLB.",
293        "Data_LA": "1",
294        "EventCode": "0xd0",
295        "EventName": "MEM_INST_RETIRED.STLB_MISS_STORES",
296        "PEBS": "1",
297        "PublicDescription": "Number of retired store instructions that (start a) miss in the 2nd-level TLB (STLB).",
298        "SampleAfterValue": "100003",
299        "UMask": "0x12"
300    },
301    {
302        "BriefDescription": "Retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cache",
303        "Data_LA": "1",
304        "EventCode": "0xd2",
305        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_HIT",
306        "PEBS": "1",
307        "PublicDescription": "Counts retired load instructions whose data sources were L3 and cross-core snoop hits in on-pkg core cache.",
308        "SampleAfterValue": "20011",
309        "UMask": "0x2"
310    },
311    {
312        "BriefDescription": "Retired load instructions whose data sources were HitM responses from shared L3",
313        "Data_LA": "1",
314        "EventCode": "0xd2",
315        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM",
316        "PEBS": "1",
317        "PublicDescription": "Counts retired load instructions whose data sources were HitM responses from shared L3.",
318        "SampleAfterValue": "20011",
319        "UMask": "0x4"
320    },
321    {
322        "BriefDescription": "Retired load instructions whose data sources were L3 hit and cross-core snoop missed in on-pkg core cache.",
323        "Data_LA": "1",
324        "EventCode": "0xd2",
325        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS",
326        "PEBS": "1",
327        "PublicDescription": "Counts the retired load instructions whose data sources were L3 hit and cross-core snoop missed in on-pkg core cache.",
328        "SampleAfterValue": "20011",
329        "UMask": "0x1"
330    },
331    {
332        "BriefDescription": "Retired load instructions whose data sources were hits in L3 without snoops required",
333        "Data_LA": "1",
334        "EventCode": "0xd2",
335        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_NONE",
336        "PEBS": "1",
337        "PublicDescription": "Counts retired load instructions whose data sources were hits in L3 without snoops required.",
338        "SampleAfterValue": "100003",
339        "UMask": "0x8"
340    },
341    {
342        "BriefDescription": "Retired instructions with at least 1 uncacheable load or Bus Lock.",
343        "Data_LA": "1",
344        "EventCode": "0xd4",
345        "EventName": "MEM_LOAD_MISC_RETIRED.UC",
346        "PEBS": "1",
347        "PublicDescription": "Retired instructions with at least one load to uncacheable memory-type, or at least one cache-line split locked access (Bus Lock).",
348        "SampleAfterValue": "100007",
349        "UMask": "0x4"
350    },
351    {
352        "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.",
353        "Data_LA": "1",
354        "EventCode": "0xd1",
355        "EventName": "MEM_LOAD_RETIRED.FB_HIT",
356        "PEBS": "1",
357        "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.",
358        "SampleAfterValue": "100007",
359        "UMask": "0x40"
360    },
361    {
362        "BriefDescription": "Retired load instructions with L1 cache hits as data sources",
363        "Data_LA": "1",
364        "EventCode": "0xd1",
365        "EventName": "MEM_LOAD_RETIRED.L1_HIT",
366        "PEBS": "1",
367        "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.",
368        "SampleAfterValue": "1000003",
369        "UMask": "0x1"
370    },
371    {
372        "BriefDescription": "Retired load instructions missed L1 cache as data sources",
373        "Data_LA": "1",
374        "EventCode": "0xd1",
375        "EventName": "MEM_LOAD_RETIRED.L1_MISS",
376        "PEBS": "1",
377        "PublicDescription": "Counts retired load instructions with at least one uop that missed in the L1 cache.",
378        "SampleAfterValue": "200003",
379        "UMask": "0x8"
380    },
381    {
382        "BriefDescription": "Retired load instructions with L2 cache hits as data sources",
383        "Data_LA": "1",
384        "EventCode": "0xd1",
385        "EventName": "MEM_LOAD_RETIRED.L2_HIT",
386        "PEBS": "1",
387        "PublicDescription": "Counts retired load instructions with L2 cache hits as data sources.",
388        "SampleAfterValue": "200003",
389        "UMask": "0x2"
390    },
391    {
392        "BriefDescription": "Retired load instructions missed L2 cache as data sources",
393        "Data_LA": "1",
394        "EventCode": "0xd1",
395        "EventName": "MEM_LOAD_RETIRED.L2_MISS",
396        "PEBS": "1",
397        "PublicDescription": "Counts retired load instructions missed L2 cache as data sources.",
398        "SampleAfterValue": "100021",
399        "UMask": "0x10"
400    },
401    {
402        "BriefDescription": "Retired load instructions with L3 cache hits as data sources",
403        "Data_LA": "1",
404        "EventCode": "0xd1",
405        "EventName": "MEM_LOAD_RETIRED.L3_HIT",
406        "PEBS": "1",
407        "PublicDescription": "Counts retired load instructions with at least one uop that hit in the L3 cache.",
408        "SampleAfterValue": "100021",
409        "UMask": "0x4"
410    },
411    {
412        "BriefDescription": "Retired load instructions missed L3 cache as data sources",
413        "Data_LA": "1",
414        "EventCode": "0xd1",
415        "EventName": "MEM_LOAD_RETIRED.L3_MISS",
416        "PEBS": "1",
417        "PublicDescription": "Counts retired load instructions with at least one uop that missed in the L3 cache.",
418        "SampleAfterValue": "50021",
419        "UMask": "0x20"
420    },
421    {
422        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that hit a cacheline in the L3 where a snoop was sent or not.",
423        "EventCode": "0xB7, 0xBB",
424        "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.ANY",
425        "MSRIndex": "0x1a6,0x1a7",
426        "MSRValue": "0x3FC03C0004",
427        "SampleAfterValue": "100003",
428        "UMask": "0x1"
429    },
430    {
431        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that hit a cacheline in the L3 where a snoop hit in another cores caches, data forwarding is required as the data is modified.",
432        "EventCode": "0xB7, 0xBB",
433        "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HITM",
434        "MSRIndex": "0x1a6,0x1a7",
435        "MSRValue": "0x10003C0004",
436        "SampleAfterValue": "100003",
437        "UMask": "0x1"
438    },
439    {
440        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that hit a cacheline in the L3 where a snoop hit in another core, data forwarding is not required.",
441        "EventCode": "0xB7, 0xBB",
442        "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HIT_NO_FWD",
443        "MSRIndex": "0x1a6,0x1a7",
444        "MSRValue": "0x4003C0004",
445        "SampleAfterValue": "100003",
446        "UMask": "0x1"
447    },
448    {
449        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
450        "EventCode": "0xB7, 0xBB",
451        "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_MISS",
452        "MSRIndex": "0x1a6,0x1a7",
453        "MSRValue": "0x2003C0004",
454        "SampleAfterValue": "100003",
455        "UMask": "0x1"
456    },
457    {
458        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
459        "EventCode": "0xB7, 0xBB",
460        "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_NOT_NEEDED",
461        "MSRIndex": "0x1a6,0x1a7",
462        "MSRValue": "0x1003C0004",
463        "SampleAfterValue": "100003",
464        "UMask": "0x1"
465    },
466    {
467        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that hit a cacheline in the L3 where a snoop was sent.",
468        "EventCode": "0xB7, 0xBB",
469        "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_SENT",
470        "MSRIndex": "0x1a6,0x1a7",
471        "MSRValue": "0x1E003C0004",
472        "SampleAfterValue": "100003",
473        "UMask": "0x1"
474    },
475    {
476        "BriefDescription": "Counts demand data reads that hit a cacheline in the L3 where a snoop was sent or not.",
477        "EventCode": "0xB7, 0xBB",
478        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.ANY",
479        "MSRIndex": "0x1a6,0x1a7",
480        "MSRValue": "0x3FC03C0001",
481        "SampleAfterValue": "100003",
482        "UMask": "0x1"
483    },
484    {
485        "BriefDescription": "Counts demand data reads that hit a cacheline in the L3 where a snoop hit in another cores caches, data forwarding is required as the data is modified.",
486        "EventCode": "0xB7, 0xBB",
487        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM",
488        "MSRIndex": "0x1a6,0x1a7",
489        "MSRValue": "0x10003C0001",
490        "SampleAfterValue": "100003",
491        "UMask": "0x1"
492    },
493    {
494        "BriefDescription": "Counts demand data reads that hit a cacheline in the L3 where a snoop hit in another core, data forwarding is not required.",
495        "EventCode": "0xB7, 0xBB",
496        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD",
497        "MSRIndex": "0x1a6,0x1a7",
498        "MSRValue": "0x4003C0001",
499        "SampleAfterValue": "100003",
500        "UMask": "0x1"
501    },
502    {
503        "BriefDescription": "Counts demand data reads that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
504        "EventCode": "0xB7, 0xBB",
505        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_MISS",
506        "MSRIndex": "0x1a6,0x1a7",
507        "MSRValue": "0x2003C0001",
508        "SampleAfterValue": "100003",
509        "UMask": "0x1"
510    },
511    {
512        "BriefDescription": "Counts demand data reads that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
513        "EventCode": "0xB7, 0xBB",
514        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_NOT_NEEDED",
515        "MSRIndex": "0x1a6,0x1a7",
516        "MSRValue": "0x1003C0001",
517        "SampleAfterValue": "100003",
518        "UMask": "0x1"
519    },
520    {
521        "BriefDescription": "Counts demand data reads that hit a cacheline in the L3 where a snoop was sent.",
522        "EventCode": "0xB7, 0xBB",
523        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_SENT",
524        "MSRIndex": "0x1a6,0x1a7",
525        "MSRValue": "0x1E003C0001",
526        "SampleAfterValue": "100003",
527        "UMask": "0x1"
528    },
529    {
530        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that hit a cacheline in the L3 where a snoop was sent or not.",
531        "EventCode": "0xB7, 0xBB",
532        "EventName": "OCR.DEMAND_RFO.L3_HIT.ANY",
533        "MSRIndex": "0x1a6,0x1a7",
534        "MSRValue": "0x3FC03C0002",
535        "SampleAfterValue": "100003",
536        "UMask": "0x1"
537    },
538    {
539        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that hit a cacheline in the L3 where a snoop hit in another cores caches, data forwarding is required as the data is modified.",
540        "EventCode": "0xB7, 0xBB",
541        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM",
542        "MSRIndex": "0x1a6,0x1a7",
543        "MSRValue": "0x10003C0002",
544        "SampleAfterValue": "100003",
545        "UMask": "0x1"
546    },
547    {
548        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that hit a cacheline in the L3 where a snoop hit in another core, data forwarding is not required.",
549        "EventCode": "0xB7, 0xBB",
550        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HIT_NO_FWD",
551        "MSRIndex": "0x1a6,0x1a7",
552        "MSRValue": "0x4003C0002",
553        "SampleAfterValue": "100003",
554        "UMask": "0x1"
555    },
556    {
557        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
558        "EventCode": "0xB7, 0xBB",
559        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_MISS",
560        "MSRIndex": "0x1a6,0x1a7",
561        "MSRValue": "0x2003C0002",
562        "SampleAfterValue": "100003",
563        "UMask": "0x1"
564    },
565    {
566        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
567        "EventCode": "0xB7, 0xBB",
568        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_NOT_NEEDED",
569        "MSRIndex": "0x1a6,0x1a7",
570        "MSRValue": "0x1003C0002",
571        "SampleAfterValue": "100003",
572        "UMask": "0x1"
573    },
574    {
575        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that hit a cacheline in the L3 where a snoop was sent.",
576        "EventCode": "0xB7, 0xBB",
577        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_SENT",
578        "MSRIndex": "0x1a6,0x1a7",
579        "MSRValue": "0x1E003C0002",
580        "SampleAfterValue": "100003",
581        "UMask": "0x1"
582    },
583    {
584        "BriefDescription": "Counts L1 data cache prefetch requests and software prefetches (except PREFETCHW) that hit a cacheline in the L3 where a snoop was sent or not.",
585        "EventCode": "0xB7, 0xBB",
586        "EventName": "OCR.HWPF_L1D_AND_SWPF.L3_HIT.ANY",
587        "MSRIndex": "0x1a6,0x1a7",
588        "MSRValue": "0x3FC03C0400",
589        "SampleAfterValue": "100003",
590        "UMask": "0x1"
591    },
592    {
593        "BriefDescription": "Counts L1 data cache prefetch requests and software prefetches (except PREFETCHW) that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
594        "EventCode": "0xB7, 0xBB",
595        "EventName": "OCR.HWPF_L1D_AND_SWPF.L3_HIT.SNOOP_MISS",
596        "MSRIndex": "0x1a6,0x1a7",
597        "MSRValue": "0x2003C0400",
598        "SampleAfterValue": "100003",
599        "UMask": "0x1"
600    },
601    {
602        "BriefDescription": "Counts L1 data cache prefetch requests and software prefetches (except PREFETCHW) that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
603        "EventCode": "0xB7, 0xBB",
604        "EventName": "OCR.HWPF_L1D_AND_SWPF.L3_HIT.SNOOP_NOT_NEEDED",
605        "MSRIndex": "0x1a6,0x1a7",
606        "MSRValue": "0x1003C0400",
607        "SampleAfterValue": "100003",
608        "UMask": "0x1"
609    },
610    {
611        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that hit a cacheline in the L3 where a snoop was sent or not.",
612        "EventCode": "0xB7, 0xBB",
613        "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.ANY",
614        "MSRIndex": "0x1a6,0x1a7",
615        "MSRValue": "0x3FC03C0010",
616        "SampleAfterValue": "100003",
617        "UMask": "0x1"
618    },
619    {
620        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that hit a cacheline in the L3 where a snoop hit in another cores caches, data forwarding is required as the data is modified.",
621        "EventCode": "0xB7, 0xBB",
622        "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_HITM",
623        "MSRIndex": "0x1a6,0x1a7",
624        "MSRValue": "0x10003C0010",
625        "SampleAfterValue": "100003",
626        "UMask": "0x1"
627    },
628    {
629        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that hit a cacheline in the L3 where a snoop hit in another core, data forwarding is not required.",
630        "EventCode": "0xB7, 0xBB",
631        "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD",
632        "MSRIndex": "0x1a6,0x1a7",
633        "MSRValue": "0x4003C0010",
634        "SampleAfterValue": "100003",
635        "UMask": "0x1"
636    },
637    {
638        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
639        "EventCode": "0xB7, 0xBB",
640        "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_MISS",
641        "MSRIndex": "0x1a6,0x1a7",
642        "MSRValue": "0x2003C0010",
643        "SampleAfterValue": "100003",
644        "UMask": "0x1"
645    },
646    {
647        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
648        "EventCode": "0xB7, 0xBB",
649        "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_NOT_NEEDED",
650        "MSRIndex": "0x1a6,0x1a7",
651        "MSRValue": "0x1003C0010",
652        "SampleAfterValue": "100003",
653        "UMask": "0x1"
654    },
655    {
656        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that hit a cacheline in the L3 where a snoop was sent.",
657        "EventCode": "0xB7, 0xBB",
658        "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_SENT",
659        "MSRIndex": "0x1a6,0x1a7",
660        "MSRValue": "0x1E003C0010",
661        "SampleAfterValue": "100003",
662        "UMask": "0x1"
663    },
664    {
665        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that hit a cacheline in the L3 where a snoop was sent or not.",
666        "EventCode": "0xB7, 0xBB",
667        "EventName": "OCR.HWPF_L2_RFO.L3_HIT.ANY",
668        "MSRIndex": "0x1a6,0x1a7",
669        "MSRValue": "0x3FC03C0020",
670        "SampleAfterValue": "100003",
671        "UMask": "0x1"
672    },
673    {
674        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that hit a cacheline in the L3 where a snoop hit in another cores caches, data forwarding is required as the data is modified.",
675        "EventCode": "0xB7, 0xBB",
676        "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_HITM",
677        "MSRIndex": "0x1a6,0x1a7",
678        "MSRValue": "0x10003C0020",
679        "SampleAfterValue": "100003",
680        "UMask": "0x1"
681    },
682    {
683        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that hit a cacheline in the L3 where a snoop hit in another core, data forwarding is not required.",
684        "EventCode": "0xB7, 0xBB",
685        "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_HIT_NO_FWD",
686        "MSRIndex": "0x1a6,0x1a7",
687        "MSRValue": "0x4003C0020",
688        "SampleAfterValue": "100003",
689        "UMask": "0x1"
690    },
691    {
692        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
693        "EventCode": "0xB7, 0xBB",
694        "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_MISS",
695        "MSRIndex": "0x1a6,0x1a7",
696        "MSRValue": "0x2003C0020",
697        "SampleAfterValue": "100003",
698        "UMask": "0x1"
699    },
700    {
701        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
702        "EventCode": "0xB7, 0xBB",
703        "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_NOT_NEEDED",
704        "MSRIndex": "0x1a6,0x1a7",
705        "MSRValue": "0x1003C0020",
706        "SampleAfterValue": "100003",
707        "UMask": "0x1"
708    },
709    {
710        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that hit a cacheline in the L3 where a snoop was sent.",
711        "EventCode": "0xB7, 0xBB",
712        "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_SENT",
713        "MSRIndex": "0x1a6,0x1a7",
714        "MSRValue": "0x1E003C0020",
715        "SampleAfterValue": "100003",
716        "UMask": "0x1"
717    },
718    {
719        "BriefDescription": "Counts hardware prefetches to the L3 only that hit a cacheline in the L3 where a snoop was sent or not.",
720        "EventCode": "0xB7, 0xBB",
721        "EventName": "OCR.HWPF_L3.L3_HIT.ANY",
722        "MSRIndex": "0x1a6,0x1a7",
723        "MSRValue": "0x3FC03C2380",
724        "SampleAfterValue": "100003",
725        "UMask": "0x1"
726    },
727    {
728        "BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that hit a cacheline in the L3 where a snoop hit in another core, data forwarding is not required.",
729        "EventCode": "0xB7, 0xBB",
730        "EventName": "OCR.OTHER.L3_HIT.SNOOP_HIT_NO_FWD",
731        "MSRIndex": "0x1a6,0x1a7",
732        "MSRValue": "0x4003C8000",
733        "SampleAfterValue": "100003",
734        "UMask": "0x1"
735    },
736    {
737        "BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that hit a cacheline in the L3 where a snoop was sent but no other cores had the data.",
738        "EventCode": "0xB7, 0xBB",
739        "EventName": "OCR.OTHER.L3_HIT.SNOOP_MISS",
740        "MSRIndex": "0x1a6,0x1a7",
741        "MSRValue": "0x2003C8000",
742        "SampleAfterValue": "100003",
743        "UMask": "0x1"
744    },
745    {
746        "BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that hit a cacheline in the L3 where a snoop was not needed to satisfy the request.",
747        "EventCode": "0xB7, 0xBB",
748        "EventName": "OCR.OTHER.L3_HIT.SNOOP_NOT_NEEDED",
749        "MSRIndex": "0x1a6,0x1a7",
750        "MSRValue": "0x1003C8000",
751        "SampleAfterValue": "100003",
752        "UMask": "0x1"
753    },
754    {
755        "BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that hit a cacheline in the L3 where a snoop was sent.",
756        "EventCode": "0xB7, 0xBB",
757        "EventName": "OCR.OTHER.L3_HIT.SNOOP_SENT",
758        "MSRIndex": "0x1a6,0x1a7",
759        "MSRValue": "0x1E003C8000",
760        "SampleAfterValue": "100003",
761        "UMask": "0x1"
762    },
763    {
764        "BriefDescription": "Counts streaming stores that hit a cacheline in the L3 where a snoop was sent or not.",
765        "EventCode": "0xB7, 0xBB",
766        "EventName": "OCR.STREAMING_WR.L3_HIT.ANY",
767        "MSRIndex": "0x1a6,0x1a7",
768        "MSRValue": "0x3FC03C0800",
769        "SampleAfterValue": "100003",
770        "UMask": "0x1"
771    },
772    {
773        "BriefDescription": "Demand and prefetch data reads",
774        "EventCode": "0xB0",
775        "EventName": "OFFCORE_REQUESTS.ALL_DATA_RD",
776        "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.",
777        "SampleAfterValue": "100003",
778        "UMask": "0x8"
779    },
780    {
781        "BriefDescription": "Counts memory transactions sent to the uncore.",
782        "EventCode": "0xB0",
783        "EventName": "OFFCORE_REQUESTS.ALL_REQUESTS",
784        "PublicDescription": "Counts memory transactions sent to the uncore including requests initiated by the core, all L3 prefetches, reads resulting from page walks, and snoop responses.",
785        "SampleAfterValue": "100003",
786        "UMask": "0x80"
787    },
788    {
789        "BriefDescription": "Demand Data Read requests sent to uncore",
790        "EventCode": "0xb0",
791        "EventName": "OFFCORE_REQUESTS.DEMAND_DATA_RD",
792        "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.",
793        "SampleAfterValue": "100003",
794        "UMask": "0x1"
795    },
796    {
797        "BriefDescription": "Demand RFO requests including regular RFOs, locks, ItoM",
798        "EventCode": "0xb0",
799        "EventName": "OFFCORE_REQUESTS.DEMAND_RFO",
800        "PublicDescription": "Counts the demand RFO (read for ownership) requests including regular RFOs, locks, ItoM.",
801        "SampleAfterValue": "100003",
802        "UMask": "0x4"
803    },
804    {
805        "BriefDescription": "For every cycle, increments by the number of outstanding data read requests pending.",
806        "EventCode": "0x60",
807        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD",
808        "PublicDescription": "For every cycle, increments by the number of outstanding data read requests pending.  Data read requests include cacheable demand reads and L2 prefetches, but do not include RFOs, code reads or prefetches to the L3.  Reads due to page walks resulting from any request type will also be counted.  Requests are considered outstanding from the time they miss the core's L2 cache until the transaction completion message is sent to the requestor.",
809        "SampleAfterValue": "1000003",
810        "UMask": "0x8"
811    },
812    {
813        "BriefDescription": "Cycles where at least 1 outstanding data read request is pending.",
814        "CounterMask": "1",
815        "EventCode": "0x60",
816        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD",
817        "PublicDescription": "Cycles where at least 1 outstanding data read request is pending.  Data read requests include cacheable demand reads and L2 prefetches, but do not include RFOs, code reads or prefetches to the L3.  Reads due to page walks resulting from any request type will also be counted.  Requests are considered outstanding from the time they miss the core's L2 cache until the transaction completion message is sent to the requestor.",
818        "SampleAfterValue": "1000003",
819        "UMask": "0x8"
820    },
821    {
822        "BriefDescription": "Cycles where at least 1 outstanding Demand RFO request is pending.",
823        "CounterMask": "1",
824        "EventCode": "0x60",
825        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO",
826        "PublicDescription": "Cycles where at least 1 outstanding Demand RFO request is pending.   RFOs are initiated by a core as part of a data store operation.  Demand RFO requests include RFOs, locks, and ItoM transactions.  Requests are considered outstanding from the time they miss the core's L2 cache until the transaction completion message is sent to the requestor.",
827        "SampleAfterValue": "1000003",
828        "UMask": "0x4"
829    },
830    {
831        "BriefDescription": "For every cycle, increments by the number of outstanding demand data read requests pending.",
832        "EventCode": "0x60",
833        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD",
834        "PublicDescription": "For every cycle, increments by the number of outstanding demand data read requests pending.   Requests are considered outstanding from the time they miss the core's L2 cache until the transaction completion message is sent to the requestor.",
835        "SampleAfterValue": "1000003",
836        "UMask": "0x1"
837    },
838    {
839        "BriefDescription": "Store Read transactions pending for off-core. Highly correlated.",
840        "EventCode": "0x60",
841        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_RFO",
842        "PublicDescription": "Counts the number of off-core outstanding read-for-ownership (RFO) store transactions every cycle. An RFO transaction is considered to be in the Off-core outstanding state between L2 cache miss and transaction completion.",
843        "SampleAfterValue": "1000003",
844        "UMask": "0x4"
845    },
846    {
847        "BriefDescription": "Counts bus locks, accounts for cache line split locks and UC locks.",
848        "EventCode": "0xF4",
849        "EventName": "SQ_MISC.BUS_LOCK",
850        "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.",
851        "SampleAfterValue": "100003",
852        "UMask": "0x10"
853    },
854    {
855        "BriefDescription": "Cycles the queue waiting for offcore responses is full.",
856        "EventCode": "0xf4",
857        "EventName": "SQ_MISC.SQ_FULL",
858        "PublicDescription": "Counts the cycles for which the thread is active and the queue waiting for responses from the uncore cannot take any more entries.",
859        "SampleAfterValue": "100003",
860        "UMask": "0x4"
861    },
862    {
863        "BriefDescription": "Number of PREFETCHNTA instructions executed.",
864        "EventCode": "0x32",
865        "EventName": "SW_PREFETCH_ACCESS.NTA",
866        "PublicDescription": "Counts the number of PREFETCHNTA instructions executed.",
867        "SampleAfterValue": "100003",
868        "UMask": "0x1"
869    },
870    {
871        "BriefDescription": "Number of PREFETCHW instructions executed.",
872        "EventCode": "0x32",
873        "EventName": "SW_PREFETCH_ACCESS.PREFETCHW",
874        "PublicDescription": "Counts the number of PREFETCHW instructions executed.",
875        "SampleAfterValue": "100003",
876        "UMask": "0x8"
877    },
878    {
879        "BriefDescription": "Number of PREFETCHT0 instructions executed.",
880        "EventCode": "0x32",
881        "EventName": "SW_PREFETCH_ACCESS.T0",
882        "PublicDescription": "Counts the number of PREFETCHT0 instructions executed.",
883        "SampleAfterValue": "100003",
884        "UMask": "0x2"
885    },
886    {
887        "BriefDescription": "Number of PREFETCHT1 or PREFETCHT2 instructions executed.",
888        "EventCode": "0x32",
889        "EventName": "SW_PREFETCH_ACCESS.T1_T2",
890        "PublicDescription": "Counts the number of PREFETCHT1 or PREFETCHT2 instructions executed.",
891        "SampleAfterValue": "100003",
892        "UMask": "0x4"
893    }
894]
895