xref: /linux/tools/perf/pmu-events/arch/x86/elkhartlake/pipeline.json (revision f3956ebb3bf06ab2266ad5ee2214aed46405810c)
1[
2    {
3        "BriefDescription": "Counts the total number of branch instructions retired for all branch types.",
4        "CollectPEBSRecord": "2",
5        "Counter": "0,1,2,3",
6        "EventCode": "0xc4",
7        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
8        "PEBS": "1",
9        "PEBScounters": "0,1,2,3",
10        "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.",
11        "SampleAfterValue": "200003"
12    },
13    {
14        "BriefDescription": "Counts the number of near CALL branch instructions retired.",
15        "CollectPEBSRecord": "2",
16        "Counter": "0,1,2,3",
17        "EventCode": "0xc4",
18        "EventName": "BR_INST_RETIRED.CALL",
19        "PEBS": "1",
20        "PEBScounters": "0,1,2,3",
21        "SampleAfterValue": "200003",
22        "UMask": "0xf9"
23    },
24    {
25        "BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far call and return, and interrupt call and return.",
26        "CollectPEBSRecord": "2",
27        "Counter": "0,1,2,3",
28        "EventCode": "0xc4",
29        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
30        "PEBS": "1",
31        "PEBScounters": "0,1,2,3",
32        "SampleAfterValue": "200003",
33        "UMask": "0xbf"
34    },
35    {
36        "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.",
37        "CollectPEBSRecord": "2",
38        "Counter": "0,1,2,3",
39        "EventCode": "0xc4",
40        "EventName": "BR_INST_RETIRED.IND_CALL",
41        "PEBS": "1",
42        "PEBScounters": "0,1,2,3",
43        "SampleAfterValue": "200003",
44        "UMask": "0xfb"
45    },
46    {
47        "BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructions retired, includes both taken and not taken branches.",
48        "CollectPEBSRecord": "2",
49        "Counter": "0,1,2,3",
50        "EventCode": "0xc4",
51        "EventName": "BR_INST_RETIRED.JCC",
52        "PEBS": "1",
53        "PEBScounters": "0,1,2,3",
54        "SampleAfterValue": "200003",
55        "UMask": "0x7e"
56    },
57    {
58        "BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instructions retired.",
59        "CollectPEBSRecord": "2",
60        "Counter": "0,1,2,3",
61        "EventCode": "0xc4",
62        "EventName": "BR_INST_RETIRED.NON_RETURN_IND",
63        "PEBS": "1",
64        "PEBScounters": "0,1,2,3",
65        "SampleAfterValue": "200003",
66        "UMask": "0xeb"
67    },
68    {
69        "BriefDescription": "Counts the number of near relative CALL branch instructions retired.",
70        "CollectPEBSRecord": "2",
71        "Counter": "0,1,2,3",
72        "EventCode": "0xc4",
73        "EventName": "BR_INST_RETIRED.REL_CALL",
74        "PEBS": "1",
75        "PEBScounters": "0,1,2,3",
76        "SampleAfterValue": "200003",
77        "UMask": "0xfd"
78    },
79    {
80        "BriefDescription": "Counts the number of near RET branch instructions retired.",
81        "CollectPEBSRecord": "2",
82        "Counter": "0,1,2,3",
83        "EventCode": "0xc4",
84        "EventName": "BR_INST_RETIRED.RETURN",
85        "PEBS": "1",
86        "PEBScounters": "0,1,2,3",
87        "SampleAfterValue": "200003",
88        "UMask": "0xf7"
89    },
90    {
91        "BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions retired.",
92        "CollectPEBSRecord": "2",
93        "Counter": "0,1,2,3",
94        "EventCode": "0xc4",
95        "EventName": "BR_INST_RETIRED.TAKEN_JCC",
96        "PEBS": "1",
97        "PEBScounters": "0,1,2,3",
98        "SampleAfterValue": "200003",
99        "UMask": "0xfe"
100    },
101    {
102        "BriefDescription": "Counts the total number of mispredicted branch instructions retired for all branch types.",
103        "CollectPEBSRecord": "2",
104        "Counter": "0,1,2,3",
105        "EventCode": "0xc5",
106        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
107        "PEBS": "1",
108        "PEBScounters": "0,1,2,3",
109        "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.",
110        "SampleAfterValue": "200003"
111    },
112    {
113        "BriefDescription": "Counts the number of mispredicted near indirect CALL branch instructions retired.",
114        "CollectPEBSRecord": "2",
115        "Counter": "0,1,2,3",
116        "EventCode": "0xc5",
117        "EventName": "BR_MISP_RETIRED.IND_CALL",
118        "PEBS": "1",
119        "PEBScounters": "0,1,2,3",
120        "SampleAfterValue": "200003",
121        "UMask": "0xfb"
122    },
123    {
124        "BriefDescription": "Counts the number of mispredicted JCC (Jump on Conditional Code) branch instructions retired.",
125        "CollectPEBSRecord": "2",
126        "Counter": "0,1,2,3",
127        "EventCode": "0xc5",
128        "EventName": "BR_MISP_RETIRED.JCC",
129        "PEBS": "1",
130        "PEBScounters": "0,1,2,3",
131        "SampleAfterValue": "200003",
132        "UMask": "0x7e"
133    },
134    {
135        "BriefDescription": "Counts the number of mispredicted near RET branch instructions retired.",
136        "CollectPEBSRecord": "2",
137        "Counter": "0,1,2,3",
138        "EventCode": "0xc5",
139        "EventName": "BR_MISP_RETIRED.RETURN",
140        "PEBS": "1",
141        "PEBScounters": "0,1,2,3",
142        "SampleAfterValue": "200003",
143        "UMask": "0xf7"
144    },
145    {
146        "BriefDescription": "Counts the number of mispredicted taken JCC (Jump on Conditional Code) branch instructions retired.",
147        "CollectPEBSRecord": "2",
148        "Counter": "0,1,2,3",
149        "EventCode": "0xc5",
150        "EventName": "BR_MISP_RETIRED.TAKEN_JCC",
151        "PEBS": "1",
152        "PEBScounters": "0,1,2,3",
153        "SampleAfterValue": "200003",
154        "UMask": "0xfe"
155    },
156    {
157        "BriefDescription": "Counts the number of unhalted core clock cycles. (Fixed event)",
158        "CollectPEBSRecord": "2",
159        "Counter": "Fixed counter 1",
160        "EventName": "CPU_CLK_UNHALTED.CORE",
161        "PDIR_COUNTER": "na",
162        "PEBScounters": "33",
163        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state.  The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time. This event uses fixed counter 1.",
164        "SampleAfterValue": "2000003",
165        "UMask": "0x2"
166    },
167    {
168        "BriefDescription": "Counts the number of unhalted core clock cycles.",
169        "CollectPEBSRecord": "2",
170        "Counter": "0,1,2,3",
171        "EventCode": "0x3c",
172        "EventName": "CPU_CLK_UNHALTED.CORE_P",
173        "PDIR_COUNTER": "na",
174        "PEBScounters": "0,1,2,3",
175        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state.  The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time. This event uses a programmable general purpose performance counter.",
176        "SampleAfterValue": "2000003"
177    },
178    {
179        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.",
180        "CollectPEBSRecord": "2",
181        "Counter": "0,1,2,3",
182        "EventCode": "0x3c",
183        "EventName": "CPU_CLK_UNHALTED.REF",
184        "PDIR_COUNTER": "na",
185        "PEBScounters": "0,1,2,3",
186        "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 fixed counter 2.",
187        "SampleAfterValue": "2000003",
188        "UMask": "0x1"
189    },
190    {
191        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency. (Fixed event)",
192        "CollectPEBSRecord": "2",
193        "Counter": "Fixed counter 2",
194        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
195        "PDIR_COUNTER": "na",
196        "PEBScounters": "34",
197        "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 fixed counter 2.",
198        "SampleAfterValue": "2000003",
199        "UMask": "0x3"
200    },
201    {
202        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.",
203        "CollectPEBSRecord": "2",
204        "Counter": "0,1,2,3",
205        "EventCode": "0x3c",
206        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
207        "PEBScounters": "0,1,2,3",
208        "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.",
209        "SampleAfterValue": "2000003",
210        "UMask": "0x1"
211    },
212    {
213        "BriefDescription": "This event is deprecated.",
214        "CollectPEBSRecord": "2",
215        "Counter": "0,1,2,3",
216        "EventCode": "0xcd",
217        "EventName": "CYCLES_DIV_BUSY.ANY",
218        "PDIR_COUNTER": "na",
219        "PEBScounters": "0,1,2,3",
220        "SampleAfterValue": "2000003"
221    },
222    {
223        "BriefDescription": "Counts the number of cycles the integer divider is busy.  Does not imply a stall waiting for the divider.",
224        "CollectPEBSRecord": "2",
225        "Counter": "0,1,2,3",
226        "EventCode": "0xcd",
227        "EventName": "CYCLES_DIV_BUSY.IDIV",
228        "PDIR_COUNTER": "na",
229        "PEBScounters": "0,1,2,3",
230        "SampleAfterValue": "200003",
231        "UMask": "0x1"
232    },
233    {
234        "BriefDescription": "Counts the total number of instructions retired. (Fixed event)",
235        "CollectPEBSRecord": "2",
236        "Counter": "Fixed counter 0",
237        "EventName": "INST_RETIRED.ANY",
238        "PEBS": "1",
239        "PEBScounters": "32",
240        "PublicDescription": "Counts the total number of instructions that retired. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. This event continues counting during hardware interrupts, traps, and inside interrupt handlers. This event uses fixed counter 0.",
241        "SampleAfterValue": "2000003",
242        "UMask": "0x1"
243    },
244    {
245        "BriefDescription": "Counts the total number of instructions retired.",
246        "CollectPEBSRecord": "2",
247        "Counter": "0,1,2,3",
248        "EventCode": "0xc0",
249        "EventName": "INST_RETIRED.ANY_P",
250        "PEBS": "1",
251        "PEBScounters": "0,1,2,3",
252        "PublicDescription": "Counts the total number of instructions that retired. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. This event continues counting during hardware interrupts, traps, and inside interrupt handlers. This event uses a programmable general purpose performance counter.",
253        "SampleAfterValue": "2000003"
254    },
255    {
256        "BriefDescription": "Counts the total number of machine clears including memory ordering, memory disambiguation, self-modifying code, page faults and floating point assist.",
257        "CollectPEBSRecord": "2",
258        "Counter": "0,1,2,3",
259        "EventCode": "0xc3",
260        "EventName": "MACHINE_CLEARS.ANY",
261        "PDIR_COUNTER": "na",
262        "PEBScounters": "0,1,2,3",
263        "SampleAfterValue": "20003"
264    },
265    {
266        "BriefDescription": "Counts the number of uops that are from complex flows issued by the micro-sequencer (MS).",
267        "CollectPEBSRecord": "2",
268        "Counter": "0,1,2,3",
269        "EventCode": "0xc2",
270        "EventName": "UOPS_RETIRED.MS",
271        "PDIR_COUNTER": "na",
272        "PEBS": "1",
273        "PEBScounters": "0,1,2,3",
274        "PublicDescription": "Counts the number of uops that are from complex flows issued by the Microcode Sequencer (MS). This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
275        "SampleAfterValue": "2000003",
276        "UMask": "0x1"
277    }
278]