xref: /linux/tools/perf/pmu-events/arch/x86/rocketlake/frontend.json (revision cb787f4ac0c2e439ea8d7e6387b925f74576bdf8)
1[
2    {
3        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
4        "Counter": "0,1,2,3",
5        "EventCode": "0xe6",
6        "EventName": "BACLEARS.ANY",
7        "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.",
8        "SampleAfterValue": "100003",
9        "UMask": "0x1"
10    },
11    {
12        "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]",
13        "Counter": "0,1,2,3",
14        "EventCode": "0x87",
15        "EventName": "DECODE.LCP",
16        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to ILD_STALL.LCP]",
17        "SampleAfterValue": "500009",
18        "UMask": "0x1"
19    },
20    {
21        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.",
22        "Counter": "0,1,2,3",
23        "CounterMask": "1",
24        "EdgeDetect": "1",
25        "EventCode": "0xab",
26        "EventName": "DSB2MITE_SWITCHES.COUNT",
27        "PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE speculative transitions.",
28        "SampleAfterValue": "100003",
29        "UMask": "0x2"
30    },
31    {
32        "BriefDescription": "DSB-to-MITE switch true penalty cycles.",
33        "Counter": "0,1,2,3",
34        "EventCode": "0xab",
35        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
36        "PublicDescription": "Decode Stream Buffer (DSB) is a Uop-cache that holds translations of previously fetched instructions that were decoded by the legacy x86 decode pipeline (MITE). This event counts fetch penalty cycles when a transition occurs from DSB to MITE.",
37        "SampleAfterValue": "100003",
38        "UMask": "0x2"
39    },
40    {
41        "BriefDescription": "Retired Instructions who experienced DSB miss.",
42        "Counter": "0,1,2,3,4,5,6,7",
43        "EventCode": "0xc6",
44        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
45        "MSRIndex": "0x3F7",
46        "MSRValue": "0x1",
47        "PEBS": "1",
48        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
49        "SampleAfterValue": "100007",
50        "UMask": "0x1"
51    },
52    {
53        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
54        "Counter": "0,1,2,3,4,5,6,7",
55        "EventCode": "0xc6",
56        "EventName": "FRONTEND_RETIRED.DSB_MISS",
57        "MSRIndex": "0x3F7",
58        "MSRValue": "0x11",
59        "PEBS": "1",
60        "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.",
61        "SampleAfterValue": "100007",
62        "UMask": "0x1"
63    },
64    {
65        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
66        "Counter": "0,1,2,3,4,5,6,7",
67        "EventCode": "0xc6",
68        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
69        "MSRIndex": "0x3F7",
70        "MSRValue": "0x14",
71        "PEBS": "1",
72        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
73        "SampleAfterValue": "100007",
74        "UMask": "0x1"
75    },
76    {
77        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
78        "Counter": "0,1,2,3,4,5,6,7",
79        "EventCode": "0xc6",
80        "EventName": "FRONTEND_RETIRED.L1I_MISS",
81        "MSRIndex": "0x3F7",
82        "MSRValue": "0x12",
83        "PEBS": "1",
84        "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.",
85        "SampleAfterValue": "100007",
86        "UMask": "0x1"
87    },
88    {
89        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
90        "Counter": "0,1,2,3,4,5,6,7",
91        "EventCode": "0xc6",
92        "EventName": "FRONTEND_RETIRED.L2_MISS",
93        "MSRIndex": "0x3F7",
94        "MSRValue": "0x13",
95        "PEBS": "1",
96        "PublicDescription": "Counts retired Instructions who experienced Instruction L2 Cache true miss.",
97        "SampleAfterValue": "100007",
98        "UMask": "0x1"
99    },
100    {
101        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
102        "Counter": "0,1,2,3,4,5,6,7",
103        "EventCode": "0xc6",
104        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
105        "MSRIndex": "0x3F7",
106        "MSRValue": "0x500106",
107        "PEBS": "1",
108        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.",
109        "SampleAfterValue": "100007",
110        "UMask": "0x1"
111    },
112    {
113        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
114        "Counter": "0,1,2,3,4,5,6,7",
115        "EventCode": "0xc6",
116        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
117        "MSRIndex": "0x3F7",
118        "MSRValue": "0x508006",
119        "PEBS": "1",
120        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
121        "SampleAfterValue": "100007",
122        "UMask": "0x1"
123    },
124    {
125        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 16 cycles which was not interrupted by a back-end stall.",
126        "Counter": "0,1,2,3,4,5,6,7",
127        "EventCode": "0xc6",
128        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
129        "MSRIndex": "0x3F7",
130        "MSRValue": "0x501006",
131        "PEBS": "1",
132        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 16 cycles. During this period the front-end delivered no uops.",
133        "SampleAfterValue": "100007",
134        "UMask": "0x1"
135    },
136    {
137        "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles",
138        "Counter": "0,1,2,3,4,5,6,7",
139        "EventCode": "0xc6",
140        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
141        "MSRIndex": "0x3F7",
142        "MSRValue": "0x500206",
143        "PEBS": "1",
144        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 2 cycles which was not interrupted by a back-end stall.",
145        "SampleAfterValue": "100007",
146        "UMask": "0x1"
147    },
148    {
149        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
150        "Counter": "0,1,2,3,4,5,6,7",
151        "EventCode": "0xc6",
152        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
153        "MSRIndex": "0x3F7",
154        "MSRValue": "0x510006",
155        "PEBS": "1",
156        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
157        "SampleAfterValue": "100007",
158        "UMask": "0x1"
159    },
160    {
161        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which was not interrupted by a back-end stall.",
162        "Counter": "0,1,2,3,4,5,6,7",
163        "EventCode": "0xc6",
164        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
165        "MSRIndex": "0x3F7",
166        "MSRValue": "0x100206",
167        "PEBS": "1",
168        "PublicDescription": "Counts retired instructions that are delivered to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bubble-slot is an empty issue-pipeline slot while there was no RAT stall.",
169        "SampleAfterValue": "100007",
170        "UMask": "0x1"
171    },
172    {
173        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 32 cycles which was not interrupted by a back-end stall.",
174        "Counter": "0,1,2,3,4,5,6,7",
175        "EventCode": "0xc6",
176        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
177        "MSRIndex": "0x3F7",
178        "MSRValue": "0x502006",
179        "PEBS": "1",
180        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 32 cycles. During this period the front-end delivered no uops.",
181        "SampleAfterValue": "100007",
182        "UMask": "0x1"
183    },
184    {
185        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
186        "Counter": "0,1,2,3,4,5,6,7",
187        "EventCode": "0xc6",
188        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
189        "MSRIndex": "0x3F7",
190        "MSRValue": "0x500406",
191        "PEBS": "1",
192        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
193        "SampleAfterValue": "100007",
194        "UMask": "0x1"
195    },
196    {
197        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
198        "Counter": "0,1,2,3,4,5,6,7",
199        "EventCode": "0xc6",
200        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
201        "MSRIndex": "0x3F7",
202        "MSRValue": "0x520006",
203        "PEBS": "1",
204        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
205        "SampleAfterValue": "100007",
206        "UMask": "0x1"
207    },
208    {
209        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
210        "Counter": "0,1,2,3,4,5,6,7",
211        "EventCode": "0xc6",
212        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
213        "MSRIndex": "0x3F7",
214        "MSRValue": "0x504006",
215        "PEBS": "1",
216        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
217        "SampleAfterValue": "100007",
218        "UMask": "0x1"
219    },
220    {
221        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 8 cycles which was not interrupted by a back-end stall.",
222        "Counter": "0,1,2,3,4,5,6,7",
223        "EventCode": "0xc6",
224        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
225        "MSRIndex": "0x3F7",
226        "MSRValue": "0x500806",
227        "PEBS": "1",
228        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 8 cycles. During this period the front-end delivered no uops.",
229        "SampleAfterValue": "100007",
230        "UMask": "0x1"
231    },
232    {
233        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
234        "Counter": "0,1,2,3,4,5,6,7",
235        "EventCode": "0xc6",
236        "EventName": "FRONTEND_RETIRED.STLB_MISS",
237        "MSRIndex": "0x3F7",
238        "MSRValue": "0x15",
239        "PEBS": "1",
240        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
241        "SampleAfterValue": "100007",
242        "UMask": "0x1"
243    },
244    {
245        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss. [This event is alias to ICACHE_DATA.STALLS]",
246        "Counter": "0,1,2,3",
247        "EventCode": "0x80",
248        "EventName": "ICACHE_16B.IFDATA_STALL",
249        "PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity. [This event is alias to ICACHE_DATA.STALLS]",
250        "SampleAfterValue": "500009",
251        "UMask": "0x4"
252    },
253    {
254        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
255        "Counter": "0,1,2,3",
256        "EventCode": "0x83",
257        "EventName": "ICACHE_64B.IFTAG_HIT",
258        "PublicDescription": "Counts instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity. Accounts for both cacheable and uncacheable accesses.",
259        "SampleAfterValue": "200003",
260        "UMask": "0x1"
261    },
262    {
263        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
264        "Counter": "0,1,2,3",
265        "EventCode": "0x83",
266        "EventName": "ICACHE_64B.IFTAG_MISS",
267        "PublicDescription": "Counts instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity. Accounts for both cacheable and uncacheable accesses.",
268        "SampleAfterValue": "200003",
269        "UMask": "0x2"
270    },
271    {
272        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
273        "Counter": "0,1,2,3",
274        "EventCode": "0x83",
275        "EventName": "ICACHE_64B.IFTAG_STALL",
276        "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
277        "SampleAfterValue": "200003",
278        "UMask": "0x4"
279    },
280    {
281        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss. [This event is alias to ICACHE_16B.IFDATA_STALL]",
282        "Counter": "0,1,2,3",
283        "EventCode": "0x80",
284        "EventName": "ICACHE_DATA.STALLS",
285        "PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity. [This event is alias to ICACHE_16B.IFDATA_STALL]",
286        "SampleAfterValue": "500009",
287        "UMask": "0x4"
288    },
289    {
290        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
291        "Counter": "0,1,2,3",
292        "EventCode": "0x83",
293        "EventName": "ICACHE_TAG.STALLS",
294        "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
295        "SampleAfterValue": "200003",
296        "UMask": "0x4"
297    },
298    {
299        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
300        "Counter": "0,1,2,3",
301        "CounterMask": "1",
302        "EventCode": "0x79",
303        "EventName": "IDQ.DSB_CYCLES_ANY",
304        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
305        "SampleAfterValue": "2000003",
306        "UMask": "0x8"
307    },
308    {
309        "BriefDescription": "Cycles DSB is delivering optimal number of Uops",
310        "Counter": "0,1,2,3",
311        "CounterMask": "5",
312        "EventCode": "0x79",
313        "EventName": "IDQ.DSB_CYCLES_OK",
314        "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the DSB (Decode Stream Buffer) path. Count includes uops that may 'bypass' the IDQ.",
315        "SampleAfterValue": "2000003",
316        "UMask": "0x8"
317    },
318    {
319        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
320        "Counter": "0,1,2,3",
321        "EventCode": "0x79",
322        "EventName": "IDQ.DSB_UOPS",
323        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
324        "SampleAfterValue": "2000003",
325        "UMask": "0x8"
326    },
327    {
328        "BriefDescription": "Cycles MITE is delivering any Uop",
329        "Counter": "0,1,2,3",
330        "CounterMask": "1",
331        "EventCode": "0x79",
332        "EventName": "IDQ.MITE_CYCLES_ANY",
333        "PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
334        "SampleAfterValue": "2000003",
335        "UMask": "0x4"
336    },
337    {
338        "BriefDescription": "Cycles MITE is delivering optimal number of Uops",
339        "Counter": "0,1,2,3",
340        "CounterMask": "5",
341        "EventCode": "0x79",
342        "EventName": "IDQ.MITE_CYCLES_OK",
343        "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
344        "SampleAfterValue": "2000003",
345        "UMask": "0x4"
346    },
347    {
348        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
349        "Counter": "0,1,2,3",
350        "EventCode": "0x79",
351        "EventName": "IDQ.MITE_UOPS",
352        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
353        "SampleAfterValue": "2000003",
354        "UMask": "0x4"
355    },
356    {
357        "BriefDescription": "Cycles when uops are being delivered to IDQ while MS is busy",
358        "Counter": "0,1,2,3",
359        "CounterMask": "1",
360        "EventCode": "0x79",
361        "EventName": "IDQ.MS_CYCLES_ANY",
362        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
363        "SampleAfterValue": "2000003",
364        "UMask": "0x30"
365    },
366    {
367        "BriefDescription": "Number of switches from DSB or MITE to the MS",
368        "Counter": "0,1,2,3",
369        "CounterMask": "1",
370        "EdgeDetect": "1",
371        "EventCode": "0x79",
372        "EventName": "IDQ.MS_SWITCHES",
373        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
374        "SampleAfterValue": "100003",
375        "UMask": "0x30"
376    },
377    {
378        "BriefDescription": "Uops delivered to IDQ while MS is busy",
379        "Counter": "0,1,2,3",
380        "EventCode": "0x79",
381        "EventName": "IDQ.MS_UOPS",
382        "PublicDescription": "Counts the total number of uops delivered by the Microcode Sequencer (MS). Any instruction over 4 uops will be delivered by the MS. Some instructions such as transcendentals may additionally generate uops from the MS.",
383        "SampleAfterValue": "100003",
384        "UMask": "0x30"
385    },
386    {
387        "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled",
388        "Counter": "0,1,2,3,4,5,6,7",
389        "EventCode": "0x9c",
390        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
391        "PublicDescription": "Counts the number of uops not delivered to by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.",
392        "SampleAfterValue": "1000003",
393        "UMask": "0x1"
394    },
395    {
396        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled",
397        "Counter": "0,1,2,3,4,5,6,7",
398        "CounterMask": "5",
399        "EventCode": "0x9c",
400        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
401        "PublicDescription": "Counts the number of cycles when no uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.",
402        "SampleAfterValue": "1000003",
403        "UMask": "0x1"
404    },
405    {
406        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled",
407        "Counter": "0,1,2,3,4,5,6,7",
408        "CounterMask": "1",
409        "EventCode": "0x9C",
410        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
411        "Invert": "1",
412        "PublicDescription": "Counts the number of cycles when the optimal number of uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.",
413        "SampleAfterValue": "1000003",
414        "UMask": "0x1"
415    }
416]
417