xref: /linux/tools/perf/pmu-events/arch/x86/icelakex/frontend.json (revision 0e2b2a76278153d1ac312b0691cb65dabb9aef3e)
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        "EventCode": "0xe6",
5        "EventName": "BACLEARS.ANY",
6        "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.",
7        "SampleAfterValue": "100003",
8        "UMask": "0x1"
9    },
10    {
11        "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]",
12        "EventCode": "0x87",
13        "EventName": "DECODE.LCP",
14        "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]",
15        "SampleAfterValue": "500009",
16        "UMask": "0x1"
17    },
18    {
19        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.",
20        "CounterMask": "1",
21        "EdgeDetect": "1",
22        "EventCode": "0xab",
23        "EventName": "DSB2MITE_SWITCHES.COUNT",
24        "PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE speculative transitions.",
25        "SampleAfterValue": "100003",
26        "UMask": "0x2"
27    },
28    {
29        "BriefDescription": "DSB-to-MITE switch true penalty cycles.",
30        "EventCode": "0xab",
31        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
32        "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.",
33        "SampleAfterValue": "100003",
34        "UMask": "0x2"
35    },
36    {
37        "BriefDescription": "Retired Instructions who experienced DSB miss.",
38        "EventCode": "0xc6",
39        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
40        "MSRIndex": "0x3F7",
41        "MSRValue": "0x1",
42        "PEBS": "1",
43        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
44        "SampleAfterValue": "100007",
45        "UMask": "0x1"
46    },
47    {
48        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
49        "EventCode": "0xc6",
50        "EventName": "FRONTEND_RETIRED.DSB_MISS",
51        "MSRIndex": "0x3F7",
52        "MSRValue": "0x11",
53        "PEBS": "1",
54        "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.",
55        "SampleAfterValue": "100007",
56        "UMask": "0x1"
57    },
58    {
59        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
60        "EventCode": "0xc6",
61        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
62        "MSRIndex": "0x3F7",
63        "MSRValue": "0x14",
64        "PEBS": "1",
65        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
66        "SampleAfterValue": "100007",
67        "UMask": "0x1"
68    },
69    {
70        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
71        "EventCode": "0xc6",
72        "EventName": "FRONTEND_RETIRED.L1I_MISS",
73        "MSRIndex": "0x3F7",
74        "MSRValue": "0x12",
75        "PEBS": "1",
76        "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.",
77        "SampleAfterValue": "100007",
78        "UMask": "0x1"
79    },
80    {
81        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
82        "EventCode": "0xc6",
83        "EventName": "FRONTEND_RETIRED.L2_MISS",
84        "MSRIndex": "0x3F7",
85        "MSRValue": "0x13",
86        "PEBS": "1",
87        "PublicDescription": "Counts retired Instructions who experienced Instruction L2 Cache true miss.",
88        "SampleAfterValue": "100007",
89        "UMask": "0x1"
90    },
91    {
92        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
93        "EventCode": "0xc6",
94        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
95        "MSRIndex": "0x3F7",
96        "MSRValue": "0x500106",
97        "PEBS": "1",
98        "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.",
99        "SampleAfterValue": "100007",
100        "UMask": "0x1"
101    },
102    {
103        "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.",
104        "EventCode": "0xc6",
105        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
106        "MSRIndex": "0x3F7",
107        "MSRValue": "0x508006",
108        "PEBS": "1",
109        "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.",
110        "SampleAfterValue": "100007",
111        "UMask": "0x1"
112    },
113    {
114        "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.",
115        "EventCode": "0xc6",
116        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
117        "MSRIndex": "0x3F7",
118        "MSRValue": "0x501006",
119        "PEBS": "1",
120        "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.",
121        "SampleAfterValue": "100007",
122        "UMask": "0x1"
123    },
124    {
125        "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles",
126        "EventCode": "0xc6",
127        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
128        "MSRIndex": "0x3F7",
129        "MSRValue": "0x500206",
130        "PEBS": "1",
131        "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.",
132        "SampleAfterValue": "100007",
133        "UMask": "0x1"
134    },
135    {
136        "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.",
137        "EventCode": "0xc6",
138        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
139        "MSRIndex": "0x3F7",
140        "MSRValue": "0x510006",
141        "PEBS": "1",
142        "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.",
143        "SampleAfterValue": "100007",
144        "UMask": "0x1"
145    },
146    {
147        "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.",
148        "EventCode": "0xc6",
149        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
150        "MSRIndex": "0x3F7",
151        "MSRValue": "0x100206",
152        "PEBS": "1",
153        "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.",
154        "SampleAfterValue": "100007",
155        "UMask": "0x1"
156    },
157    {
158        "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.",
159        "EventCode": "0xc6",
160        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
161        "MSRIndex": "0x3F7",
162        "MSRValue": "0x502006",
163        "PEBS": "1",
164        "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.",
165        "SampleAfterValue": "100007",
166        "UMask": "0x1"
167    },
168    {
169        "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.",
170        "EventCode": "0xc6",
171        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
172        "MSRIndex": "0x3F7",
173        "MSRValue": "0x500406",
174        "PEBS": "1",
175        "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.",
176        "SampleAfterValue": "100007",
177        "UMask": "0x1"
178    },
179    {
180        "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.",
181        "EventCode": "0xc6",
182        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
183        "MSRIndex": "0x3F7",
184        "MSRValue": "0x520006",
185        "PEBS": "1",
186        "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.",
187        "SampleAfterValue": "100007",
188        "UMask": "0x1"
189    },
190    {
191        "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.",
192        "EventCode": "0xc6",
193        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
194        "MSRIndex": "0x3F7",
195        "MSRValue": "0x504006",
196        "PEBS": "1",
197        "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.",
198        "SampleAfterValue": "100007",
199        "UMask": "0x1"
200    },
201    {
202        "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.",
203        "EventCode": "0xc6",
204        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
205        "MSRIndex": "0x3F7",
206        "MSRValue": "0x500806",
207        "PEBS": "1",
208        "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.",
209        "SampleAfterValue": "100007",
210        "UMask": "0x1"
211    },
212    {
213        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
214        "EventCode": "0xc6",
215        "EventName": "FRONTEND_RETIRED.STLB_MISS",
216        "MSRIndex": "0x3F7",
217        "MSRValue": "0x15",
218        "PEBS": "1",
219        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
220        "SampleAfterValue": "100007",
221        "UMask": "0x1"
222    },
223    {
224        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss. [This event is alias to ICACHE_DATA.STALLS]",
225        "EventCode": "0x80",
226        "EventName": "ICACHE_16B.IFDATA_STALL",
227        "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]",
228        "SampleAfterValue": "500009",
229        "UMask": "0x4"
230    },
231    {
232        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
233        "EventCode": "0x83",
234        "EventName": "ICACHE_64B.IFTAG_HIT",
235        "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.",
236        "SampleAfterValue": "200003",
237        "UMask": "0x1"
238    },
239    {
240        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
241        "EventCode": "0x83",
242        "EventName": "ICACHE_64B.IFTAG_MISS",
243        "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.",
244        "SampleAfterValue": "200003",
245        "UMask": "0x2"
246    },
247    {
248        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
249        "EventCode": "0x83",
250        "EventName": "ICACHE_64B.IFTAG_STALL",
251        "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
252        "SampleAfterValue": "200003",
253        "UMask": "0x4"
254    },
255    {
256        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss. [This event is alias to ICACHE_16B.IFDATA_STALL]",
257        "EventCode": "0x80",
258        "EventName": "ICACHE_DATA.STALLS",
259        "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]",
260        "SampleAfterValue": "500009",
261        "UMask": "0x4"
262    },
263    {
264        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
265        "EventCode": "0x83",
266        "EventName": "ICACHE_TAG.STALLS",
267        "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]",
268        "SampleAfterValue": "200003",
269        "UMask": "0x4"
270    },
271    {
272        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
273        "CounterMask": "1",
274        "EventCode": "0x79",
275        "EventName": "IDQ.DSB_CYCLES_ANY",
276        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
277        "SampleAfterValue": "2000003",
278        "UMask": "0x8"
279    },
280    {
281        "BriefDescription": "Cycles DSB is delivering optimal number of Uops",
282        "CounterMask": "5",
283        "EventCode": "0x79",
284        "EventName": "IDQ.DSB_CYCLES_OK",
285        "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).",
286        "SampleAfterValue": "2000003",
287        "UMask": "0x8"
288    },
289    {
290        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
291        "EventCode": "0x79",
292        "EventName": "IDQ.DSB_UOPS",
293        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
294        "SampleAfterValue": "2000003",
295        "UMask": "0x8"
296    },
297    {
298        "BriefDescription": "Cycles MITE is delivering any Uop",
299        "CounterMask": "1",
300        "EventCode": "0x79",
301        "EventName": "IDQ.MITE_CYCLES_ANY",
302        "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).",
303        "SampleAfterValue": "2000003",
304        "UMask": "0x4"
305    },
306    {
307        "BriefDescription": "Cycles MITE is delivering optimal number of Uops",
308        "CounterMask": "5",
309        "EventCode": "0x79",
310        "EventName": "IDQ.MITE_CYCLES_OK",
311        "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).",
312        "SampleAfterValue": "2000003",
313        "UMask": "0x4"
314    },
315    {
316        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
317        "EventCode": "0x79",
318        "EventName": "IDQ.MITE_UOPS",
319        "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).",
320        "SampleAfterValue": "2000003",
321        "UMask": "0x4"
322    },
323    {
324        "BriefDescription": "Number of switches from DSB or MITE to the MS",
325        "CounterMask": "1",
326        "EdgeDetect": "1",
327        "EventCode": "0x79",
328        "EventName": "IDQ.MS_SWITCHES",
329        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
330        "SampleAfterValue": "100003",
331        "UMask": "0x30"
332    },
333    {
334        "BriefDescription": "Uops delivered to IDQ while MS is busy",
335        "EventCode": "0x79",
336        "EventName": "IDQ.MS_UOPS",
337        "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.",
338        "SampleAfterValue": "100003",
339        "UMask": "0x30"
340    },
341    {
342        "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled",
343        "EventCode": "0x9c",
344        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
345        "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.",
346        "SampleAfterValue": "1000003",
347        "UMask": "0x1"
348    },
349    {
350        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled",
351        "CounterMask": "5",
352        "EventCode": "0x9c",
353        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
354        "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.",
355        "SampleAfterValue": "1000003",
356        "UMask": "0x1"
357    },
358    {
359        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled",
360        "CounterMask": "1",
361        "EventCode": "0x9C",
362        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
363        "Invert": "1",
364        "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.",
365        "SampleAfterValue": "1000003",
366        "UMask": "0x1"
367    }
368]
369