xref: /freebsd/lib/libpmc/pmu-events/arch/x86/tigerlake/cache.json (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1[
2    {
3        "BriefDescription": "Counts the number of cache lines replaced in L1 data cache.",
4        "CollectPEBSRecord": "2",
5        "Counter": "0,1,2,3",
6        "EventCode": "0x51",
7        "EventName": "L1D.REPLACEMENT",
8        "PEBScounters": "0,1,2,3",
9        "PublicDescription": "Counts L1D data line replacements including opportunistic replacements, and replacements that require stall-for-replace or block-for-replace.",
10        "SampleAfterValue": "100003",
11        "UMask": "0x1"
12    },
13    {
14        "BriefDescription": "Number of cycles a demand request has waited due to L1D Fill Buffer (FB) unavailability.",
15        "CollectPEBSRecord": "2",
16        "Counter": "0,1,2,3",
17        "EventCode": "0x48",
18        "EventName": "L1D_PEND_MISS.FB_FULL",
19        "PEBScounters": "0,1,2,3",
20        "PublicDescription": "Counts number of cycles a demand request has waited due to L1D Fill Buffer (FB) unavailablability. Demand requests include cacheable/uncacheable demand load, store, lock or SW prefetch accesses.",
21        "SampleAfterValue": "1000003",
22        "UMask": "0x2"
23    },
24    {
25        "BriefDescription": "Number of phases a demand request has waited due to L1D Fill Buffer (FB) unavailablability.",
26        "CollectPEBSRecord": "2",
27        "Counter": "0,1,2,3",
28        "CounterMask": "1",
29        "EdgeDetect": "1",
30        "EventCode": "0x48",
31        "EventName": "L1D_PEND_MISS.FB_FULL_PERIODS",
32        "PEBScounters": "0,1,2,3",
33        "PublicDescription": "Counts number of phases a demand request has waited due to L1D Fill Buffer (FB) unavailablability. Demand requests include cacheable/uncacheable demand load, store, lock or SW prefetch accesses.",
34        "SampleAfterValue": "1000003",
35        "UMask": "0x2"
36    },
37    {
38        "BriefDescription": "Number of cycles a demand request has waited due to L1D due to lack of L2 resources.",
39        "CollectPEBSRecord": "2",
40        "Counter": "0,1,2,3",
41        "EventCode": "0x48",
42        "EventName": "L1D_PEND_MISS.L2_STALL",
43        "PEBScounters": "0,1,2,3",
44        "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.",
45        "SampleAfterValue": "1000003",
46        "UMask": "0x4"
47    },
48    {
49        "BriefDescription": "Number of L1D misses that are outstanding",
50        "CollectPEBSRecord": "2",
51        "Counter": "0,1,2,3",
52        "EventCode": "0x48",
53        "EventName": "L1D_PEND_MISS.PENDING",
54        "PEBScounters": "0,1,2,3",
55        "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.",
56        "SampleAfterValue": "1000003",
57        "UMask": "0x1"
58    },
59    {
60        "BriefDescription": "Cycles with L1D load Misses outstanding.",
61        "CollectPEBSRecord": "2",
62        "Counter": "0,1,2,3",
63        "CounterMask": "1",
64        "EventCode": "0x48",
65        "EventName": "L1D_PEND_MISS.PENDING_CYCLES",
66        "PEBScounters": "0,1,2,3",
67        "PublicDescription": "Counts duration of L1D miss outstanding in cycles.",
68        "SampleAfterValue": "1000003",
69        "UMask": "0x1"
70    },
71    {
72        "BriefDescription": "L2 cache lines filling L2",
73        "CollectPEBSRecord": "2",
74        "Counter": "0,1,2,3",
75        "EventCode": "0xf1",
76        "EventName": "L2_LINES_IN.ALL",
77        "PEBScounters": "0,1,2,3",
78        "PublicDescription": "Counts the number of L2 cache lines filling the L2. Counting does not cover rejects.",
79        "SampleAfterValue": "100003",
80        "UMask": "0x1f"
81    },
82    {
83        "BriefDescription": "Modified cache lines that are evicted by L2 cache when triggered by an L2 cache fill.",
84        "CollectPEBSRecord": "2",
85        "Counter": "0,1,2,3",
86        "EventCode": "0xf2",
87        "EventName": "L2_LINES_OUT.NON_SILENT",
88        "PEBScounters": "0,1,2,3",
89        "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",
90        "SampleAfterValue": "200003",
91        "UMask": "0x2"
92    },
93    {
94        "BriefDescription": "Non-modified cache lines that are silently dropped by L2 cache when triggered by an L2 cache fill.",
95        "CollectPEBSRecord": "2",
96        "Counter": "0,1,2,3",
97        "EventCode": "0xf2",
98        "EventName": "L2_LINES_OUT.SILENT",
99        "PEBScounters": "0,1,2,3",
100        "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.",
101        "SampleAfterValue": "200003",
102        "UMask": "0x1"
103    },
104    {
105        "BriefDescription": "L2 code requests",
106        "CollectPEBSRecord": "2",
107        "Counter": "0,1,2,3",
108        "EventCode": "0x24",
109        "EventName": "L2_RQSTS.ALL_CODE_RD",
110        "PEBScounters": "0,1,2,3",
111        "PublicDescription": "Counts the total number of L2 code requests.",
112        "SampleAfterValue": "200003",
113        "UMask": "0xe4"
114    },
115    {
116        "BriefDescription": "RFO requests to L2 cache",
117        "CollectPEBSRecord": "2",
118        "Counter": "0,1,2,3",
119        "EventCode": "0x24",
120        "EventName": "L2_RQSTS.ALL_RFO",
121        "PEBScounters": "0,1,2,3",
122        "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.",
123        "SampleAfterValue": "200003",
124        "UMask": "0xe2"
125    },
126    {
127        "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
128        "CollectPEBSRecord": "2",
129        "Counter": "0,1,2,3",
130        "EventCode": "0x24",
131        "EventName": "L2_RQSTS.CODE_RD_HIT",
132        "PEBScounters": "0,1,2,3",
133        "PublicDescription": "Counts L2 cache hits when fetching instructions, code reads.",
134        "SampleAfterValue": "200003",
135        "UMask": "0xc4"
136    },
137    {
138        "BriefDescription": "L2 cache misses when fetching instructions",
139        "CollectPEBSRecord": "2",
140        "Counter": "0,1,2,3",
141        "EventCode": "0x24",
142        "EventName": "L2_RQSTS.CODE_RD_MISS",
143        "PEBScounters": "0,1,2,3",
144        "PublicDescription": "Counts L2 cache misses when fetching instructions.",
145        "SampleAfterValue": "200003",
146        "UMask": "0x24"
147    },
148    {
149        "BriefDescription": "Demand Data Read requests that hit L2 cache",
150        "CollectPEBSRecord": "2",
151        "Counter": "0,1,2,3",
152        "EventCode": "0x24",
153        "EventName": "L2_RQSTS.DEMAND_DATA_RD_HIT",
154        "PEBScounters": "0,1,2,3",
155        "PublicDescription": "Counts the number of demand Data Read requests initiated by load instructions that hit L2 cache.",
156        "SampleAfterValue": "200003",
157        "UMask": "0xc1"
158    },
159    {
160        "BriefDescription": "All requests that miss L2 cache",
161        "CollectPEBSRecord": "2",
162        "Counter": "0,1,2,3",
163        "EventCode": "0x24",
164        "EventName": "L2_RQSTS.MISS",
165        "PEBScounters": "0,1,2,3",
166        "PublicDescription": "Counts all requests that miss L2 cache.",
167        "SampleAfterValue": "200003",
168        "UMask": "0x3f"
169    },
170    {
171        "BriefDescription": "RFO requests that hit L2 cache",
172        "CollectPEBSRecord": "2",
173        "Counter": "0,1,2,3",
174        "EventCode": "0x24",
175        "EventName": "L2_RQSTS.RFO_HIT",
176        "PEBScounters": "0,1,2,3",
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        "CollectPEBSRecord": "2",
184        "Counter": "0,1,2,3",
185        "EventCode": "0x24",
186        "EventName": "L2_RQSTS.RFO_MISS",
187        "PEBScounters": "0,1,2,3",
188        "PublicDescription": "Counts the RFO (Read-for-Ownership) requests that miss L2 cache.",
189        "SampleAfterValue": "200003",
190        "UMask": "0x22"
191    },
192    {
193        "BriefDescription": "SW prefetch requests that hit L2 cache.",
194        "CollectPEBSRecord": "2",
195        "Counter": "0,1,2,3",
196        "EventCode": "0x24",
197        "EventName": "L2_RQSTS.SWPF_HIT",
198        "PEBScounters": "0,1,2,3",
199        "PublicDescription": "Counts Software prefetch requests that hit the L2 cache. Accounts for PREFETCHNTA and PREFETCHT0/1/2 instructions when FB is not full.",
200        "SampleAfterValue": "200003",
201        "UMask": "0xc8"
202    },
203    {
204        "BriefDescription": "SW prefetch requests that miss L2 cache.",
205        "CollectPEBSRecord": "2",
206        "Counter": "0,1,2,3",
207        "EventCode": "0x24",
208        "EventName": "L2_RQSTS.SWPF_MISS",
209        "PEBScounters": "0,1,2,3",
210        "PublicDescription": "Counts Software prefetch requests that miss the L2 cache. Accounts for PREFETCHNTA and PREFETCHT0/1/2 instructions when FB is not full.",
211        "SampleAfterValue": "200003",
212        "UMask": "0x28"
213    },
214    {
215        "BriefDescription": "L2 writebacks that access L2 cache",
216        "CollectPEBSRecord": "2",
217        "Counter": "0,1,2,3",
218        "EventCode": "0xf0",
219        "EventName": "L2_TRANS.L2_WB",
220        "PEBScounters": "0,1,2,3",
221        "PublicDescription": "Counts L2 writebacks that access L2 cache.",
222        "SampleAfterValue": "200003",
223        "UMask": "0x40"
224    },
225    {
226        "BriefDescription": "Cycles when L1D is locked",
227        "CollectPEBSRecord": "2",
228        "Counter": "0,1,2,3",
229        "EventCode": "0x63",
230        "EventName": "LOCK_CYCLES.CACHE_LOCK_DURATION",
231        "PEBScounters": "0,1,2,3",
232        "PublicDescription": "This event counts the number of cycles when the L1D is locked. It is a superset of the 0x1 mask (BUS_LOCK_CLOCKS.BUS_LOCK_DURATION).",
233        "SampleAfterValue": "2000003",
234        "UMask": "0x2"
235    },
236    {
237        "BriefDescription": "Core-originated cacheable requests that missed L3  (Except hardware prefetches to the L3)",
238        "CollectPEBSRecord": "2",
239        "Counter": "0,1,2,3,4,5,6,7",
240        "EventCode": "0x2e",
241        "EventName": "LONGEST_LAT_CACHE.MISS",
242        "PEBScounters": "0,1,2,3,4,5,6,7",
243        "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.",
244        "SampleAfterValue": "100003",
245        "UMask": "0x41"
246    },
247    {
248        "BriefDescription": "All retired load instructions.",
249        "CollectPEBSRecord": "2",
250        "Counter": "0,1,2,3",
251        "Data_LA": "1",
252        "EventCode": "0xd0",
253        "EventName": "MEM_INST_RETIRED.ALL_LOADS",
254        "PEBS": "1",
255        "PEBScounters": "0,1,2,3",
256        "PublicDescription": "Counts all retired load instructions. This event accounts for SW prefetch instructions for loads.",
257        "SampleAfterValue": "1000003",
258        "UMask": "0x81"
259    },
260    {
261        "BriefDescription": "All retired store instructions.",
262        "CollectPEBSRecord": "2",
263        "Counter": "0,1,2,3",
264        "Data_LA": "1",
265        "EventCode": "0xd0",
266        "EventName": "MEM_INST_RETIRED.ALL_STORES",
267        "L1_Hit_Indication": "1",
268        "PEBS": "1",
269        "PEBScounters": "0,1,2,3",
270        "PublicDescription": "Counts all retired store instructions. This event account for SW prefetch instructions and PREFETCHW instruction for stores.",
271        "SampleAfterValue": "1000003",
272        "UMask": "0x82"
273    },
274    {
275        "BriefDescription": "All retired memory instructions.",
276        "CollectPEBSRecord": "2",
277        "Counter": "0,1,2,3",
278        "Data_LA": "1",
279        "EventCode": "0xd0",
280        "EventName": "MEM_INST_RETIRED.ANY",
281        "L1_Hit_Indication": "1",
282        "PEBS": "1",
283        "PEBScounters": "0,1,2,3",
284        "PublicDescription": "Counts all retired memory instructions - loads and stores.",
285        "SampleAfterValue": "1000003",
286        "UMask": "0x83"
287    },
288    {
289        "BriefDescription": "Retired load instructions with locked access.",
290        "CollectPEBSRecord": "2",
291        "Counter": "0,1,2,3",
292        "Data_LA": "1",
293        "EventCode": "0xd0",
294        "EventName": "MEM_INST_RETIRED.LOCK_LOADS",
295        "PEBS": "1",
296        "PEBScounters": "0,1,2,3",
297        "PublicDescription": "Counts retired load instructions with locked access.",
298        "SampleAfterValue": "100007",
299        "UMask": "0x21"
300    },
301    {
302        "BriefDescription": "Retired load instructions that split across a cacheline boundary.",
303        "CollectPEBSRecord": "2",
304        "Counter": "0,1,2,3",
305        "Data_LA": "1",
306        "EventCode": "0xd0",
307        "EventName": "MEM_INST_RETIRED.SPLIT_LOADS",
308        "PEBS": "1",
309        "PEBScounters": "0,1,2,3",
310        "PublicDescription": "Counts retired load instructions that split across a cacheline boundary.",
311        "SampleAfterValue": "100003",
312        "UMask": "0x41"
313    },
314    {
315        "BriefDescription": "Retired store instructions that split across a cacheline boundary.",
316        "CollectPEBSRecord": "2",
317        "Counter": "0,1,2,3",
318        "Data_LA": "1",
319        "EventCode": "0xd0",
320        "EventName": "MEM_INST_RETIRED.SPLIT_STORES",
321        "L1_Hit_Indication": "1",
322        "PEBS": "1",
323        "PEBScounters": "0,1,2,3",
324        "PublicDescription": "Counts retired store instructions that split across a cacheline boundary.",
325        "SampleAfterValue": "100003",
326        "UMask": "0x42"
327    },
328    {
329        "BriefDescription": "Retired load instructions that miss the STLB.",
330        "CollectPEBSRecord": "2",
331        "Counter": "0,1,2,3",
332        "Data_LA": "1",
333        "EventCode": "0xd0",
334        "EventName": "MEM_INST_RETIRED.STLB_MISS_LOADS",
335        "PEBS": "1",
336        "PEBScounters": "0,1,2,3",
337        "PublicDescription": "Number of retired load instructions that (start a) miss in the 2nd-level TLB (STLB).",
338        "SampleAfterValue": "100003",
339        "UMask": "0x11"
340    },
341    {
342        "BriefDescription": "Retired store instructions that miss the STLB.",
343        "CollectPEBSRecord": "2",
344        "Counter": "0,1,2,3",
345        "Data_LA": "1",
346        "EventCode": "0xd0",
347        "EventName": "MEM_INST_RETIRED.STLB_MISS_STORES",
348        "L1_Hit_Indication": "1",
349        "PEBS": "1",
350        "PEBScounters": "0,1,2,3",
351        "PublicDescription": "Number of retired store instructions that (start a) miss in the 2nd-level TLB (STLB).",
352        "SampleAfterValue": "100003",
353        "UMask": "0x12"
354    },
355    {
356        "BriefDescription": "TBD",
357        "CollectPEBSRecord": "2",
358        "Counter": "0,1,2,3",
359        "Data_LA": "1",
360        "EventCode": "0xd2",
361        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD",
362        "PEBS": "1",
363        "PEBScounters": "0,1,2,3",
364        "SampleAfterValue": "20011",
365        "UMask": "0x4"
366    },
367    {
368        "BriefDescription": "Retired load instructions whose data sources were L3 hit and cross-core snoop missed in on-pkg core cache.",
369        "CollectPEBSRecord": "2",
370        "Counter": "0,1,2,3",
371        "Data_LA": "1",
372        "EventCode": "0xd2",
373        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS",
374        "PEBS": "1",
375        "PEBScounters": "0,1,2,3",
376        "PublicDescription": "Counts the retired load instructions whose data sources were L3 hit and cross-core snoop missed in on-pkg core cache.",
377        "SampleAfterValue": "20011",
378        "UMask": "0x1"
379    },
380    {
381        "BriefDescription": "Retired load instructions whose data sources were hits in L3 without snoops required",
382        "CollectPEBSRecord": "2",
383        "Counter": "0,1,2,3",
384        "Data_LA": "1",
385        "EventCode": "0xd2",
386        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_NONE",
387        "PEBS": "1",
388        "PEBScounters": "0,1,2,3",
389        "PublicDescription": "Counts retired load instructions whose data sources were hits in L3 without snoops required.",
390        "SampleAfterValue": "100003",
391        "UMask": "0x8"
392    },
393    {
394        "BriefDescription": "TBD",
395        "CollectPEBSRecord": "2",
396        "Counter": "0,1,2,3",
397        "Data_LA": "1",
398        "EventCode": "0xd2",
399        "EventName": "MEM_LOAD_L3_HIT_RETIRED.XSNP_NO_FWD",
400        "PEBS": "1",
401        "PEBScounters": "0,1,2,3",
402        "SampleAfterValue": "20011",
403        "UMask": "0x2"
404    },
405    {
406        "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.",
407        "CollectPEBSRecord": "2",
408        "Counter": "0,1,2,3",
409        "Data_LA": "1",
410        "EventCode": "0xd1",
411        "EventName": "MEM_LOAD_RETIRED.FB_HIT",
412        "PEBS": "1",
413        "PEBScounters": "0,1,2,3",
414        "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.",
415        "SampleAfterValue": "100007",
416        "UMask": "0x40"
417    },
418    {
419        "BriefDescription": "Retired load instructions with L1 cache hits as data sources",
420        "CollectPEBSRecord": "2",
421        "Counter": "0,1,2,3",
422        "Data_LA": "1",
423        "EventCode": "0xd1",
424        "EventName": "MEM_LOAD_RETIRED.L1_HIT",
425        "PEBS": "1",
426        "PEBScounters": "0,1,2,3",
427        "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.",
428        "SampleAfterValue": "1000003",
429        "UMask": "0x1"
430    },
431    {
432        "BriefDescription": "Retired load instructions missed L1 cache as data sources",
433        "CollectPEBSRecord": "2",
434        "Counter": "0,1,2,3",
435        "Data_LA": "1",
436        "EventCode": "0xd1",
437        "EventName": "MEM_LOAD_RETIRED.L1_MISS",
438        "PEBS": "1",
439        "PEBScounters": "0,1,2,3",
440        "PublicDescription": "Counts retired load instructions with at least one uop that missed in the L1 cache.",
441        "SampleAfterValue": "200003",
442        "UMask": "0x8"
443    },
444    {
445        "BriefDescription": "Retired load instructions with L2 cache hits as data sources",
446        "CollectPEBSRecord": "2",
447        "Counter": "0,1,2,3",
448        "Data_LA": "1",
449        "EventCode": "0xd1",
450        "EventName": "MEM_LOAD_RETIRED.L2_HIT",
451        "PEBS": "1",
452        "PEBScounters": "0,1,2,3",
453        "PublicDescription": "Counts retired load instructions with L2 cache hits as data sources.",
454        "SampleAfterValue": "200003",
455        "UMask": "0x2"
456    },
457    {
458        "BriefDescription": "Retired load instructions missed L2 cache as data sources",
459        "CollectPEBSRecord": "2",
460        "Counter": "0,1,2,3",
461        "Data_LA": "1",
462        "EventCode": "0xd1",
463        "EventName": "MEM_LOAD_RETIRED.L2_MISS",
464        "PEBS": "1",
465        "PEBScounters": "0,1,2,3",
466        "PublicDescription": "Counts retired load instructions missed L2 cache as data sources.",
467        "SampleAfterValue": "100021",
468        "UMask": "0x10"
469    },
470    {
471        "BriefDescription": "Retired load instructions with L3 cache hits as data sources",
472        "CollectPEBSRecord": "2",
473        "Counter": "0,1,2,3",
474        "Data_LA": "1",
475        "EventCode": "0xd1",
476        "EventName": "MEM_LOAD_RETIRED.L3_HIT",
477        "PEBS": "1",
478        "PEBScounters": "0,1,2,3",
479        "PublicDescription": "Counts retired load instructions with at least one uop that hit in the L3 cache.",
480        "SampleAfterValue": "100021",
481        "UMask": "0x4"
482    },
483    {
484        "BriefDescription": "Retired load instructions missed L3 cache as data sources",
485        "CollectPEBSRecord": "2",
486        "Counter": "0,1,2,3",
487        "Data_LA": "1",
488        "EventCode": "0xd1",
489        "EventName": "MEM_LOAD_RETIRED.L3_MISS",
490        "PEBS": "1",
491        "PEBScounters": "0,1,2,3",
492        "PublicDescription": "Counts retired load instructions with at least one uop that missed in the L3 cache.",
493        "SampleAfterValue": "50021",
494        "UMask": "0x20"
495    },
496    {
497        "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.",
498        "CollectPEBSRecord": "2",
499        "Counter": "0,1,2,3",
500        "EventCode": "0xB7, 0xBB",
501        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM",
502        "MSRIndex": "0x1a6,0x1a7",
503        "MSRValue": "0x10003C0001",
504        "Offcore": "1",
505        "PEBScounters": "0,1,2,3",
506        "PublicDescription": "Offcore response can be programmed only with a specific pair of event select and counter MSR, and with specific event codes and predefine mask bit value in a dedicated MSR to specify attributes of the offcore transaction.",
507        "SampleAfterValue": "100003",
508        "UMask": "0x1"
509    },
510    {
511        "BriefDescription": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD",
512        "CollectPEBSRecord": "2",
513        "Counter": "0,1,2,3",
514        "EventCode": "0xB7, 0xBB",
515        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD",
516        "MSRIndex": "0x1a6,0x1a7",
517        "MSRValue": "0x8003C0001",
518        "Offcore": "1",
519        "PEBScounters": "0,1,2,3",
520        "PublicDescription": "Offcore response can be programmed only with a specific pair of event select and counter MSR, and with specific event codes and predefine mask bit value in a dedicated MSR to specify attributes of the offcore transaction.",
521        "SampleAfterValue": "100003",
522        "UMask": "0x1"
523    },
524    {
525        "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.",
526        "CollectPEBSRecord": "2",
527        "Counter": "0,1,2,3",
528        "EventCode": "0xB7, 0xBB",
529        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM",
530        "MSRIndex": "0x1a6,0x1a7",
531        "MSRValue": "0x10003C0002",
532        "Offcore": "1",
533        "PEBScounters": "0,1,2,3",
534        "PublicDescription": "Offcore response can be programmed only with a specific pair of event select and counter MSR, and with specific event codes and predefine mask bit value in a dedicated MSR to specify attributes of the offcore transaction.",
535        "SampleAfterValue": "100003",
536        "UMask": "0x1"
537    },
538    {
539        "BriefDescription": "Demand and prefetch data reads",
540        "CollectPEBSRecord": "2",
541        "Counter": "0,1,2,3",
542        "EventCode": "0xb0",
543        "EventName": "OFFCORE_REQUESTS.ALL_DATA_RD",
544        "PEBScounters": "0,1,2,3",
545        "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.",
546        "SampleAfterValue": "100003",
547        "UMask": "0x8"
548    },
549    {
550        "BriefDescription": "Any memory transaction that reached the SQ.",
551        "CollectPEBSRecord": "2",
552        "Counter": "0,1,2,3",
553        "EventCode": "0xb0",
554        "EventName": "OFFCORE_REQUESTS.ALL_REQUESTS",
555        "PEBScounters": "0,1,2,3",
556        "PublicDescription": "Counts memory transactions reached the super queue including requests initiated by the core, all L3 prefetches, page walks, etc..",
557        "SampleAfterValue": "100003",
558        "UMask": "0x80"
559    },
560    {
561        "BriefDescription": "Demand Data Read requests sent to uncore",
562        "CollectPEBSRecord": "2",
563        "Counter": "0,1,2,3",
564        "EventCode": "0xb0",
565        "EventName": "OFFCORE_REQUESTS.DEMAND_DATA_RD",
566        "PEBScounters": "0,1,2,3",
567        "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.",
568        "SampleAfterValue": "100003",
569        "UMask": "0x1"
570    },
571    {
572        "BriefDescription": "Demand RFO requests including regular RFOs, locks, ItoM",
573        "CollectPEBSRecord": "2",
574        "Counter": "0,1,2,3",
575        "EventCode": "0xb0",
576        "EventName": "OFFCORE_REQUESTS.DEMAND_RFO",
577        "PEBScounters": "0,1,2,3",
578        "PublicDescription": "Counts the demand RFO (read for ownership) requests including regular RFOs, locks, ItoM.",
579        "SampleAfterValue": "100003",
580        "UMask": "0x4"
581    },
582    {
583        "BriefDescription": "Offcore outstanding cacheable Core Data Read transactions in SuperQueue (SQ), queue to uncore",
584        "CollectPEBSRecord": "2",
585        "Counter": "0,1,2,3",
586        "EventCode": "0x60",
587        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD",
588        "PEBScounters": "0,1,2,3",
589        "PublicDescription": "Counts the number of offcore outstanding cacheable Core Data Read transactions in the super queue every cycle. A transaction is considered to be in the Offcore outstanding state between L2 miss and transaction completion sent to requestor (SQ de-allocation). See corresponding Umask under OFFCORE_REQUESTS.",
590        "SampleAfterValue": "1000003",
591        "UMask": "0x8"
592    },
593    {
594        "BriefDescription": "Cycles when offcore outstanding cacheable Core Data Read transactions are present in SuperQueue (SQ), queue to uncore.",
595        "CollectPEBSRecord": "2",
596        "Counter": "0,1,2,3",
597        "CounterMask": "1",
598        "EventCode": "0x60",
599        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD",
600        "PEBScounters": "0,1,2,3",
601        "PublicDescription": "Counts cycles when offcore outstanding cacheable Core Data Read transactions are present in the super queue. A transaction is considered to be in the Offcore outstanding state between L2 miss and transaction completion sent to requestor (SQ de-allocation). See corresponding Umask under OFFCORE_REQUESTS.",
602        "SampleAfterValue": "1000003",
603        "UMask": "0x8"
604    },
605    {
606        "BriefDescription": "Cycles when offcore outstanding Demand Data Read transactions are present in SuperQueue (SQ), queue to uncore",
607        "CollectPEBSRecord": "2",
608        "Counter": "0,1,2,3",
609        "CounterMask": "1",
610        "EventCode": "0x60",
611        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_DATA_RD",
612        "PEBScounters": "0,1,2,3",
613        "PublicDescription": "Counts cycles when offcore outstanding Demand Data Read transactions are present in the super queue (SQ). A transaction is considered to be in the Offcore outstanding state between L2 miss and transaction completion sent to requestor (SQ de-allocation).",
614        "SampleAfterValue": "2000003",
615        "UMask": "0x1"
616    },
617    {
618        "BriefDescription": "Cycles with offcore outstanding demand rfo reads transactions in SuperQueue (SQ), queue to uncore.",
619        "CollectPEBSRecord": "2",
620        "Counter": "0,1,2,3",
621        "CounterMask": "1",
622        "EventCode": "0x60",
623        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO",
624        "PEBScounters": "0,1,2,3",
625        "PublicDescription": "Counts the number of offcore outstanding demand rfo Reads transactions in the super queue every cycle. The 'Offcore outstanding' state of the transaction lasts from the L2 miss until the sending transaction completion to requestor (SQ deallocation). See the corresponding Umask under OFFCORE_REQUESTS.",
626        "SampleAfterValue": "1000003",
627        "UMask": "0x4"
628    },
629    {
630        "BriefDescription": "Demand Data Read transactions pending for off-core. Highly correlated.",
631        "CollectPEBSRecord": "2",
632        "Counter": "0,1,2,3",
633        "EventCode": "0x60",
634        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD",
635        "PEBScounters": "0,1,2,3",
636        "PublicDescription": "Counts the number of off-core outstanding Demand Data Read transactions every cycle. A transaction is considered to be in the Off-core outstanding state between L2 cache miss and data-return to the core.",
637        "SampleAfterValue": "1000003",
638        "UMask": "0x1"
639    },
640    {
641        "BriefDescription": "Cycles with at least 6 offcore outstanding Demand Data Read transactions in uncore queue.",
642        "CollectPEBSRecord": "2",
643        "Counter": "0,1,2,3",
644        "CounterMask": "6",
645        "EventCode": "0x60",
646        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD_GE_6",
647        "PEBScounters": "0,1,2,3",
648        "SampleAfterValue": "2000003",
649        "UMask": "0x1"
650    },
651    {
652        "BriefDescription": "Store Read transactions pending for off-core. Highly correlated.",
653        "CollectPEBSRecord": "2",
654        "Counter": "0,1,2,3",
655        "EventCode": "0x60",
656        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_RFO",
657        "PEBScounters": "0,1,2,3",
658        "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.",
659        "SampleAfterValue": "1000003",
660        "UMask": "0x4"
661    },
662    {
663        "BriefDescription": "Cycles the superQ cannot take any more entries.",
664        "CollectPEBSRecord": "2",
665        "Counter": "0,1,2,3",
666        "EventCode": "0xf4",
667        "EventName": "SQ_MISC.SQ_FULL",
668        "PEBScounters": "0,1,2,3",
669        "PublicDescription": "Counts the cycles for which the thread is active and the superQ cannot take any more entries.",
670        "SampleAfterValue": "100003",
671        "UMask": "0x4"
672    },
673    {
674        "BriefDescription": "Number of PREFETCHNTA instructions executed.",
675        "CollectPEBSRecord": "2",
676        "Counter": "0,1,2,3",
677        "EventCode": "0x32",
678        "EventName": "SW_PREFETCH_ACCESS.NTA",
679        "PEBScounters": "0,1,2,3",
680        "PublicDescription": "Counts the number of PREFETCHNTA instructions executed.",
681        "SampleAfterValue": "100003",
682        "UMask": "0x1"
683    },
684    {
685        "BriefDescription": "Number of PREFETCHW instructions executed.",
686        "CollectPEBSRecord": "2",
687        "Counter": "0,1,2,3",
688        "EventCode": "0x32",
689        "EventName": "SW_PREFETCH_ACCESS.PREFETCHW",
690        "PEBScounters": "0,1,2,3",
691        "PublicDescription": "Counts the number of PREFETCHW instructions executed.",
692        "SampleAfterValue": "100003",
693        "UMask": "0x8"
694    },
695    {
696        "BriefDescription": "Number of PREFETCHT0 instructions executed.",
697        "CollectPEBSRecord": "2",
698        "Counter": "0,1,2,3",
699        "EventCode": "0x32",
700        "EventName": "SW_PREFETCH_ACCESS.T0",
701        "PEBScounters": "0,1,2,3",
702        "PublicDescription": "Counts the number of PREFETCHT0 instructions executed.",
703        "SampleAfterValue": "100003",
704        "UMask": "0x2"
705    },
706    {
707        "BriefDescription": "Number of PREFETCHT1 or PREFETCHT2 instructions executed.",
708        "CollectPEBSRecord": "2",
709        "Counter": "0,1,2,3",
710        "EventCode": "0x32",
711        "EventName": "SW_PREFETCH_ACCESS.T1_T2",
712        "PEBScounters": "0,1,2,3",
713        "PublicDescription": "Counts the number of PREFETCHT1 or PREFETCHT2 instructions executed.",
714        "SampleAfterValue": "100003",
715        "UMask": "0x4"
716    }
717]