xref: /linux/tools/perf/pmu-events/arch/x86/sierraforest/pipeline.json (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1[
2    {
3        "BriefDescription": "Counts the number of cycles when any of the dividers are active.",
4        "CounterMask": "1",
5        "EventCode": "0xcd",
6        "EventName": "ARITH.DIV_ACTIVE",
7        "SampleAfterValue": "1000003",
8        "UMask": "0x3"
9    },
10    {
11        "BriefDescription": "Counts the total number of branch instructions retired for all branch types.",
12        "EventCode": "0xc4",
13        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
14        "PEBS": "1",
15        "PublicDescription": "Counts the total number of instructions in which the instruction pointer (IP) of the processor is resteered due to a branch instruction and the branch instruction successfully retires.  All branch type instructions are accounted for.",
16        "SampleAfterValue": "200003"
17    },
18    {
19        "BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructions retired, includes both taken and not taken branches.",
20        "EventCode": "0xc4",
21        "EventName": "BR_INST_RETIRED.COND",
22        "PEBS": "1",
23        "SampleAfterValue": "200003",
24        "UMask": "0x7e"
25    },
26    {
27        "BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions retired.",
28        "EventCode": "0xc4",
29        "EventName": "BR_INST_RETIRED.COND_TAKEN",
30        "PEBS": "1",
31        "SampleAfterValue": "200003",
32        "UMask": "0xfe"
33    },
34    {
35        "BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far call and return, and interrupt call and return.",
36        "EventCode": "0xc4",
37        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
38        "PEBS": "1",
39        "SampleAfterValue": "200003",
40        "UMask": "0xbf"
41    },
42    {
43        "BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instructions retired.",
44        "EventCode": "0xc4",
45        "EventName": "BR_INST_RETIRED.INDIRECT",
46        "PEBS": "1",
47        "SampleAfterValue": "200003",
48        "UMask": "0xeb"
49    },
50    {
51        "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.",
52        "EventCode": "0xc4",
53        "EventName": "BR_INST_RETIRED.INDIRECT_CALL",
54        "PEBS": "1",
55        "SampleAfterValue": "200003",
56        "UMask": "0xfb"
57    },
58    {
59        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.INDIRECT_CALL",
60        "Deprecated": "1",
61        "EventCode": "0xc4",
62        "EventName": "BR_INST_RETIRED.IND_CALL",
63        "PEBS": "1",
64        "SampleAfterValue": "200003",
65        "UMask": "0xfb"
66    },
67    {
68        "BriefDescription": "Counts the number of near CALL branch instructions retired.",
69        "EventCode": "0xc4",
70        "EventName": "BR_INST_RETIRED.NEAR_CALL",
71        "PEBS": "1",
72        "SampleAfterValue": "200003",
73        "UMask": "0xf9"
74    },
75    {
76        "BriefDescription": "Counts the number of near RET branch instructions retired.",
77        "EventCode": "0xc4",
78        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
79        "PEBS": "1",
80        "SampleAfterValue": "200003",
81        "UMask": "0xf7"
82    },
83    {
84        "BriefDescription": "Counts the total number of mispredicted branch instructions retired for all branch types.",
85        "EventCode": "0xc5",
86        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
87        "PEBS": "1",
88        "PublicDescription": "Counts the total number of mispredicted branch instructions retired.  All branch type instructions are accounted for.  Prediction of the branch target address enables the processor to begin executing instructions before the non-speculative execution path is known. The branch prediction unit (BPU) predicts the target address based on the instruction pointer (IP) of the branch and on the execution path through which execution reached this IP.    A branch misprediction occurs when the prediction is wrong, and results in discarding all instructions executed in the speculative path and re-fetching from the correct path.",
89        "SampleAfterValue": "200003"
90    },
91    {
92        "BriefDescription": "Counts the number of mispredicted JCC (Jump on Conditional Code) branch instructions retired.",
93        "EventCode": "0xc5",
94        "EventName": "BR_MISP_RETIRED.COND",
95        "PEBS": "1",
96        "SampleAfterValue": "200003",
97        "UMask": "0x7e"
98    },
99    {
100        "BriefDescription": "Counts the number of mispredicted taken JCC (Jump on Conditional Code) branch instructions retired.",
101        "EventCode": "0xc5",
102        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
103        "PEBS": "1",
104        "SampleAfterValue": "200003",
105        "UMask": "0xfe"
106    },
107    {
108        "BriefDescription": "Counts the number of mispredicted near indirect JMP and near indirect CALL branch instructions retired.",
109        "EventCode": "0xc5",
110        "EventName": "BR_MISP_RETIRED.INDIRECT",
111        "PEBS": "1",
112        "SampleAfterValue": "200003",
113        "UMask": "0xeb"
114    },
115    {
116        "BriefDescription": "Counts the number of mispredicted near indirect CALL branch instructions retired.",
117        "EventCode": "0xc5",
118        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
119        "PEBS": "1",
120        "SampleAfterValue": "200003",
121        "UMask": "0xfb"
122    },
123    {
124        "BriefDescription": "Counts the number of mispredicted near taken branch instructions retired.",
125        "EventCode": "0xc5",
126        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
127        "PEBS": "1",
128        "SampleAfterValue": "200003",
129        "UMask": "0x80"
130    },
131    {
132        "BriefDescription": "Counts the number of mispredicted near RET branch instructions retired.",
133        "EventCode": "0xc5",
134        "EventName": "BR_MISP_RETIRED.RETURN",
135        "PEBS": "1",
136        "SampleAfterValue": "200003",
137        "UMask": "0xf7"
138    },
139    {
140        "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles",
141        "EventName": "CPU_CLK_UNHALTED.CORE",
142        "SampleAfterValue": "2000003",
143        "UMask": "0x2"
144    },
145    {
146        "BriefDescription": "Counts the number of unhalted core clock cycles [This event is alias to CPU_CLK_UNHALTED.THREAD_P]",
147        "EventCode": "0x3c",
148        "EventName": "CPU_CLK_UNHALTED.CORE_P",
149        "SampleAfterValue": "2000003"
150    },
151    {
152        "BriefDescription": "Fixed Counter: Counts the number of unhalted reference clock cycles",
153        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
154        "SampleAfterValue": "2000003",
155        "UMask": "0x3"
156    },
157    {
158        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.",
159        "EventCode": "0x3c",
160        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
161        "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. This event is not affected by core frequency changes and increments at a fixed frequency that is also used for the Time Stamp Counter (TSC). This event uses a programmable general purpose performance counter.",
162        "SampleAfterValue": "2000003",
163        "UMask": "0x1"
164    },
165    {
166        "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles",
167        "EventName": "CPU_CLK_UNHALTED.THREAD",
168        "SampleAfterValue": "2000003",
169        "UMask": "0x2"
170    },
171    {
172        "BriefDescription": "Counts the number of unhalted core clock cycles [This event is alias to CPU_CLK_UNHALTED.CORE_P]",
173        "EventCode": "0x3c",
174        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
175        "SampleAfterValue": "2000003"
176    },
177    {
178        "BriefDescription": "Fixed Counter: Counts the number of instructions retired",
179        "EventName": "INST_RETIRED.ANY",
180        "PEBS": "1",
181        "SampleAfterValue": "2000003",
182        "UMask": "0x1"
183    },
184    {
185        "BriefDescription": "Counts the number of instructions retired",
186        "EventCode": "0xc0",
187        "EventName": "INST_RETIRED.ANY_P",
188        "PEBS": "1",
189        "SampleAfterValue": "2000003"
190    },
191    {
192        "BriefDescription": "Counts the number of retired loads that are blocked because it initially appears to be store forward blocked, but subsequently is shown not to be blocked based on 4K alias check.",
193        "EventCode": "0x03",
194        "EventName": "LD_BLOCKS.ADDRESS_ALIAS",
195        "PEBS": "1",
196        "SampleAfterValue": "1000003",
197        "UMask": "0x4"
198    },
199    {
200        "BriefDescription": "Counts the number of retired loads that are blocked because its address exactly matches an older store whose data is not ready.",
201        "EventCode": "0x03",
202        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
203        "PEBS": "1",
204        "SampleAfterValue": "1000003",
205        "UMask": "0x1"
206    },
207    {
208        "BriefDescription": "Counts the number of retired loads that are blocked because its address partially overlapped with an older store.",
209        "EventCode": "0x03",
210        "EventName": "LD_BLOCKS.STORE_FORWARD",
211        "PEBS": "1",
212        "SampleAfterValue": "1000003",
213        "UMask": "0x2"
214    },
215    {
216        "BriefDescription": "Counts the number of machine clears due to memory ordering in which an internal load passes an older store within the same CPU.",
217        "EventCode": "0xc3",
218        "EventName": "MACHINE_CLEARS.DISAMBIGUATION",
219        "SampleAfterValue": "20003",
220        "UMask": "0x8"
221    },
222    {
223        "BriefDescription": "Counts the number of machine clears due to a page fault.  Counts both I-Side and D-Side (Loads/Stores) page faults.  A page fault occurs when either the page is not present, or an access violation occurs.",
224        "EventCode": "0xc3",
225        "EventName": "MACHINE_CLEARS.PAGE_FAULT",
226        "SampleAfterValue": "20003",
227        "UMask": "0x20"
228    },
229    {
230        "BriefDescription": "Counts the number of machine clears that flush the pipeline and restart the machine with the use of microcode due to SMC, MEMORY_ORDERING, FP_ASSISTS, PAGE_FAULT, DISAMBIGUATION, and FPC_VIRTUAL_TRAP.",
231        "EventCode": "0xc3",
232        "EventName": "MACHINE_CLEARS.SLOW",
233        "SampleAfterValue": "20003",
234        "UMask": "0x6f"
235    },
236    {
237        "BriefDescription": "Counts the number of machine clears due to program modifying data (self modifying code) within 1K of a recently fetched code page.",
238        "EventCode": "0xc3",
239        "EventName": "MACHINE_CLEARS.SMC",
240        "SampleAfterValue": "20003",
241        "UMask": "0x1"
242    },
243    {
244        "BriefDescription": "Counts the number of Last Branch Record (LBR) entries. Requires LBRs to be enabled and configured in IA32_LBR_CTL. [This event is alias to LBR_INSERTS.ANY]",
245        "EventCode": "0xe4",
246        "EventName": "MISC_RETIRED.LBR_INSERTS",
247        "PEBS": "1",
248        "SampleAfterValue": "1000003",
249        "UMask": "0x1"
250    },
251    {
252        "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
253        "EventCode": "0x73",
254        "EventName": "TOPDOWN_BAD_SPECULATION.ALL",
255        "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
256        "SampleAfterValue": "1000003"
257    },
258    {
259        "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
260        "EventCode": "0x73",
261        "EventName": "TOPDOWN_BAD_SPECULATION.ALL_P",
262        "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
263        "SampleAfterValue": "1000003"
264    },
265    {
266        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Fast Nukes such as  Memory Ordering Machine clears and MRN nukes",
267        "EventCode": "0x73",
268        "EventName": "TOPDOWN_BAD_SPECULATION.FASTNUKE",
269        "SampleAfterValue": "1000003",
270        "UMask": "0x2"
271    },
272    {
273        "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
274        "EventCode": "0x73",
275        "EventName": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS",
276        "SampleAfterValue": "1000003",
277        "UMask": "0x3"
278    },
279    {
280        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Branch Mispredict",
281        "EventCode": "0x73",
282        "EventName": "TOPDOWN_BAD_SPECULATION.MISPREDICT",
283        "SampleAfterValue": "1000003",
284        "UMask": "0x4"
285    },
286    {
287        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to a machine clear (nuke).",
288        "EventCode": "0x73",
289        "EventName": "TOPDOWN_BAD_SPECULATION.NUKE",
290        "SampleAfterValue": "1000003",
291        "UMask": "0x1"
292    },
293    {
294        "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls [This event is alias to TOPDOWN_BE_BOUND.ALL_P]",
295        "EventCode": "0x74",
296        "EventName": "TOPDOWN_BE_BOUND.ALL",
297        "SampleAfterValue": "1000003"
298    },
299    {
300        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to due to certain allocation restrictions",
301        "EventCode": "0x74",
302        "EventName": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS",
303        "SampleAfterValue": "1000003",
304        "UMask": "0x1"
305    },
306    {
307        "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls [This event is alias to TOPDOWN_BE_BOUND.ALL]",
308        "EventCode": "0x74",
309        "EventName": "TOPDOWN_BE_BOUND.ALL_P",
310        "SampleAfterValue": "1000003"
311    },
312    {
313        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to memory reservation stall (scheduler not being able to accept another uop).  This could be caused by RSV full or load/store buffer block.",
314        "EventCode": "0x74",
315        "EventName": "TOPDOWN_BE_BOUND.MEM_SCHEDULER",
316        "SampleAfterValue": "1000003",
317        "UMask": "0x2"
318    },
319    {
320        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to IEC and FPC RAT stalls - which can be due to the FIQ and IEC reservation station stall (integer, FP and SIMD scheduler not being able to accept another uop. )",
321        "EventCode": "0x74",
322        "EventName": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER",
323        "SampleAfterValue": "1000003",
324        "UMask": "0x8"
325    },
326    {
327        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to mrbl stall.  A 'marble' refers to a physical register file entry, also known as the physical destination (PDST).",
328        "EventCode": "0x74",
329        "EventName": "TOPDOWN_BE_BOUND.REGISTER",
330        "SampleAfterValue": "1000003",
331        "UMask": "0x20"
332    },
333    {
334        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to ROB full",
335        "EventCode": "0x74",
336        "EventName": "TOPDOWN_BE_BOUND.REORDER_BUFFER",
337        "SampleAfterValue": "1000003",
338        "UMask": "0x40"
339    },
340    {
341        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to iq/jeu scoreboards or ms scb",
342        "EventCode": "0x74",
343        "EventName": "TOPDOWN_BE_BOUND.SERIALIZATION",
344        "SampleAfterValue": "1000003",
345        "UMask": "0x10"
346    },
347    {
348        "BriefDescription": "Counts the number of retirement slots not consumed due to front end stalls [This event is alias to TOPDOWN_FE_BOUND.ALL_P]",
349        "EventCode": "0x71",
350        "EventName": "TOPDOWN_FE_BOUND.ALL",
351        "SampleAfterValue": "1000003"
352    },
353    {
354        "BriefDescription": "Counts the number of retirement slots not consumed due to front end stalls [This event is alias to TOPDOWN_FE_BOUND.ALL]",
355        "EventCode": "0x71",
356        "EventName": "TOPDOWN_FE_BOUND.ALL_P",
357        "SampleAfterValue": "1000003"
358    },
359    {
360        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BAClear",
361        "EventCode": "0x71",
362        "EventName": "TOPDOWN_FE_BOUND.BRANCH_DETECT",
363        "SampleAfterValue": "1000003",
364        "UMask": "0x2"
365    },
366    {
367        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BTClear",
368        "EventCode": "0x71",
369        "EventName": "TOPDOWN_FE_BOUND.BRANCH_RESTEER",
370        "SampleAfterValue": "1000003",
371        "UMask": "0x40"
372    },
373    {
374        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to ms",
375        "EventCode": "0x71",
376        "EventName": "TOPDOWN_FE_BOUND.CISC",
377        "SampleAfterValue": "1000003",
378        "UMask": "0x1"
379    },
380    {
381        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to decode stall",
382        "EventCode": "0x71",
383        "EventName": "TOPDOWN_FE_BOUND.DECODE",
384        "SampleAfterValue": "1000003",
385        "UMask": "0x8"
386    },
387    {
388        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
389        "EventCode": "0x71",
390        "EventName": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH",
391        "SampleAfterValue": "1000003",
392        "UMask": "0x8d"
393    },
394    {
395        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to latency related stalls including BACLEARs, BTCLEARs, ITLB misses, and ICache misses.",
396        "EventCode": "0x71",
397        "EventName": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY",
398        "SampleAfterValue": "1000003",
399        "UMask": "0x72"
400    },
401    {
402        "BriefDescription": "This event is deprecated. [This event is alias to TOPDOWN_FE_BOUND.ITLB_MISS]",
403        "Deprecated": "1",
404        "EventCode": "0x71",
405        "EventName": "TOPDOWN_FE_BOUND.ITLB",
406        "SampleAfterValue": "1000003",
407        "UMask": "0x10"
408    },
409    {
410        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to itlb miss [This event is alias to TOPDOWN_FE_BOUND.ITLB]",
411        "EventCode": "0x71",
412        "EventName": "TOPDOWN_FE_BOUND.ITLB_MISS",
413        "SampleAfterValue": "1000003",
414        "UMask": "0x10"
415    },
416    {
417        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend that do not categorize into any other common frontend stall",
418        "EventCode": "0x71",
419        "EventName": "TOPDOWN_FE_BOUND.OTHER",
420        "SampleAfterValue": "1000003",
421        "UMask": "0x80"
422    },
423    {
424        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to predecode wrong",
425        "EventCode": "0x71",
426        "EventName": "TOPDOWN_FE_BOUND.PREDECODE",
427        "SampleAfterValue": "1000003",
428        "UMask": "0x4"
429    },
430    {
431        "BriefDescription": "Counts the number of consumed retirement slots.  Similar to UOPS_RETIRED.ALL [This event is alias to TOPDOWN_RETIRING.ALL_P]",
432        "EventCode": "0x72",
433        "EventName": "TOPDOWN_RETIRING.ALL",
434        "PEBS": "1",
435        "SampleAfterValue": "1000003"
436    },
437    {
438        "BriefDescription": "Counts the number of consumed retirement slots.  Similar to UOPS_RETIRED.ALL [This event is alias to TOPDOWN_RETIRING.ALL]",
439        "EventCode": "0x72",
440        "EventName": "TOPDOWN_RETIRING.ALL_P",
441        "PEBS": "1",
442        "SampleAfterValue": "1000003"
443    },
444    {
445        "BriefDescription": "Counts the number of uops issued by the front end every cycle.",
446        "EventCode": "0x0e",
447        "EventName": "UOPS_ISSUED.ANY",
448        "PublicDescription": "Counts the number of uops issued by the front end every cycle. When 4-uops are requested and only 2-uops are delivered, the event counts 2.  Uops_issued correlates to the number of ROB entries.  If uop takes 2 ROB slots it counts as 2 uops_issued.",
449        "SampleAfterValue": "1000003"
450    },
451    {
452        "BriefDescription": "Counts the total number of uops retired.",
453        "EventCode": "0xc2",
454        "EventName": "UOPS_RETIRED.ALL",
455        "PEBS": "1",
456        "SampleAfterValue": "2000003"
457    },
458    {
459        "BriefDescription": "Counts the number of integer divide uops retired.",
460        "EventCode": "0xc2",
461        "EventName": "UOPS_RETIRED.IDIV",
462        "PEBS": "1",
463        "SampleAfterValue": "2000003",
464        "UMask": "0x10"
465    },
466    {
467        "BriefDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS).  This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
468        "EventCode": "0xc2",
469        "EventName": "UOPS_RETIRED.MS",
470        "PEBS": "1",
471        "SampleAfterValue": "2000003",
472        "UMask": "0x1"
473    },
474    {
475        "BriefDescription": "Counts the number of x87 uops retired, includes those in ms flows",
476        "EventCode": "0xc2",
477        "EventName": "UOPS_RETIRED.X87",
478        "PEBS": "1",
479        "SampleAfterValue": "2000003",
480        "UMask": "0x2"
481    }
482]
483