xref: /linux/tools/perf/pmu-events/arch/x86/nehalemep/pipeline.json (revision 44a9189f4c52239e8bad89bb049619b0861d2237)
1edaa78b4SAndi Kleen[
2edaa78b4SAndi Kleen    {
3*44a9189fSIan Rogers        "BriefDescription": "Cycles the divider is busy",
4edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
5*44a9189fSIan Rogers        "EventCode": "0x14",
6edaa78b4SAndi Kleen        "EventName": "ARITH.CYCLES_DIV_BUSY",
7edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
8*44a9189fSIan Rogers        "UMask": "0x1"
9edaa78b4SAndi Kleen    },
10edaa78b4SAndi Kleen    {
11edaa78b4SAndi Kleen        "BriefDescription": "Divide Operations executed",
12*44a9189fSIan Rogers        "Counter": "0,1,2,3",
13edaa78b4SAndi Kleen        "CounterMask": "1",
14*44a9189fSIan Rogers        "EdgeDetect": "1",
15*44a9189fSIan Rogers        "EventCode": "0x14",
16*44a9189fSIan Rogers        "EventName": "ARITH.DIV",
17*44a9189fSIan Rogers        "Invert": "1",
18*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
19*44a9189fSIan Rogers        "UMask": "0x1"
20edaa78b4SAndi Kleen    },
21edaa78b4SAndi Kleen    {
22*44a9189fSIan Rogers        "BriefDescription": "Multiply operations executed",
23edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
24*44a9189fSIan Rogers        "EventCode": "0x14",
25edaa78b4SAndi Kleen        "EventName": "ARITH.MUL",
26edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
27*44a9189fSIan Rogers        "UMask": "0x2"
28edaa78b4SAndi Kleen    },
29edaa78b4SAndi Kleen    {
30*44a9189fSIan Rogers        "BriefDescription": "BACLEAR asserted with bad target address",
31edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
32*44a9189fSIan Rogers        "EventCode": "0xE6",
33edaa78b4SAndi Kleen        "EventName": "BACLEAR.BAD_TARGET",
34edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
35*44a9189fSIan Rogers        "UMask": "0x2"
36edaa78b4SAndi Kleen    },
37edaa78b4SAndi Kleen    {
38*44a9189fSIan Rogers        "BriefDescription": "BACLEAR asserted, regardless of cause",
39edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
40*44a9189fSIan Rogers        "EventCode": "0xE6",
41edaa78b4SAndi Kleen        "EventName": "BACLEAR.CLEAR",
42edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
43*44a9189fSIan Rogers        "UMask": "0x1"
44edaa78b4SAndi Kleen    },
45edaa78b4SAndi Kleen    {
46*44a9189fSIan Rogers        "BriefDescription": "Instruction queue forced BACLEAR",
47edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
48*44a9189fSIan Rogers        "EventCode": "0xA7",
49edaa78b4SAndi Kleen        "EventName": "BACLEAR_FORCE_IQ",
50edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
51*44a9189fSIan Rogers        "UMask": "0x1"
52edaa78b4SAndi Kleen    },
53edaa78b4SAndi Kleen    {
54*44a9189fSIan Rogers        "BriefDescription": "Branch instructions decoded",
55edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
56*44a9189fSIan Rogers        "EventCode": "0xE0",
57edaa78b4SAndi Kleen        "EventName": "BR_INST_DECODED",
58edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
59*44a9189fSIan Rogers        "UMask": "0x1"
60edaa78b4SAndi Kleen    },
61edaa78b4SAndi Kleen    {
62*44a9189fSIan Rogers        "BriefDescription": "Branch instructions executed",
63edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
64*44a9189fSIan Rogers        "EventCode": "0x88",
65edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.ANY",
66edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
67*44a9189fSIan Rogers        "UMask": "0x7f"
68edaa78b4SAndi Kleen    },
69edaa78b4SAndi Kleen    {
70*44a9189fSIan Rogers        "BriefDescription": "Conditional branch instructions executed",
71edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
72*44a9189fSIan Rogers        "EventCode": "0x88",
73edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.COND",
74edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
75*44a9189fSIan Rogers        "UMask": "0x1"
76edaa78b4SAndi Kleen    },
77edaa78b4SAndi Kleen    {
78*44a9189fSIan Rogers        "BriefDescription": "Unconditional branches executed",
79edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
80*44a9189fSIan Rogers        "EventCode": "0x88",
81edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT",
82edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
83*44a9189fSIan Rogers        "UMask": "0x2"
84edaa78b4SAndi Kleen    },
85edaa78b4SAndi Kleen    {
86*44a9189fSIan Rogers        "BriefDescription": "Unconditional call branches executed",
87edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
88*44a9189fSIan Rogers        "EventCode": "0x88",
89edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT_NEAR_CALL",
90edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
91*44a9189fSIan Rogers        "UMask": "0x10"
92edaa78b4SAndi Kleen    },
93edaa78b4SAndi Kleen    {
94*44a9189fSIan Rogers        "BriefDescription": "Indirect call branches executed",
95edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
96*44a9189fSIan Rogers        "EventCode": "0x88",
97edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NEAR_CALL",
98edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
99*44a9189fSIan Rogers        "UMask": "0x20"
100edaa78b4SAndi Kleen    },
101edaa78b4SAndi Kleen    {
102*44a9189fSIan Rogers        "BriefDescription": "Indirect non call branches executed",
103edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
104*44a9189fSIan Rogers        "EventCode": "0x88",
105edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NON_CALL",
106edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
107*44a9189fSIan Rogers        "UMask": "0x4"
108edaa78b4SAndi Kleen    },
109edaa78b4SAndi Kleen    {
110*44a9189fSIan Rogers        "BriefDescription": "Call branches executed",
111edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
112*44a9189fSIan Rogers        "EventCode": "0x88",
113edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.NEAR_CALLS",
114edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
115*44a9189fSIan Rogers        "UMask": "0x30"
116edaa78b4SAndi Kleen    },
117edaa78b4SAndi Kleen    {
118*44a9189fSIan Rogers        "BriefDescription": "All non call branches executed",
119edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
120*44a9189fSIan Rogers        "EventCode": "0x88",
121edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.NON_CALLS",
122edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
123*44a9189fSIan Rogers        "UMask": "0x7"
124edaa78b4SAndi Kleen    },
125edaa78b4SAndi Kleen    {
126*44a9189fSIan Rogers        "BriefDescription": "Indirect return branches executed",
127edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
128*44a9189fSIan Rogers        "EventCode": "0x88",
129edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.RETURN_NEAR",
130edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
131*44a9189fSIan Rogers        "UMask": "0x8"
132edaa78b4SAndi Kleen    },
133edaa78b4SAndi Kleen    {
134*44a9189fSIan Rogers        "BriefDescription": "Taken branches executed",
135edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
136*44a9189fSIan Rogers        "EventCode": "0x88",
137edaa78b4SAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN",
138edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
139*44a9189fSIan Rogers        "UMask": "0x40"
140edaa78b4SAndi Kleen    },
141edaa78b4SAndi Kleen    {
142*44a9189fSIan Rogers        "BriefDescription": "Retired branch instructions (Precise Event)",
143edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
144*44a9189fSIan Rogers        "EventCode": "0xC4",
145edaa78b4SAndi Kleen        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
146*44a9189fSIan Rogers        "PEBS": "1",
147edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
148*44a9189fSIan Rogers        "UMask": "0x4"
149edaa78b4SAndi Kleen    },
150edaa78b4SAndi Kleen    {
151*44a9189fSIan Rogers        "BriefDescription": "Retired conditional branch instructions (Precise Event)",
152edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
153*44a9189fSIan Rogers        "EventCode": "0xC4",
154edaa78b4SAndi Kleen        "EventName": "BR_INST_RETIRED.CONDITIONAL",
155edaa78b4SAndi Kleen        "PEBS": "1",
156*44a9189fSIan Rogers        "SampleAfterValue": "200000",
157*44a9189fSIan Rogers        "UMask": "0x1"
158edaa78b4SAndi Kleen    },
159edaa78b4SAndi Kleen    {
160*44a9189fSIan Rogers        "BriefDescription": "Retired near call instructions (Precise Event)",
161edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
162*44a9189fSIan Rogers        "EventCode": "0xC4",
163*44a9189fSIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
164*44a9189fSIan Rogers        "PEBS": "1",
165*44a9189fSIan Rogers        "SampleAfterValue": "20000",
166*44a9189fSIan Rogers        "UMask": "0x2"
167*44a9189fSIan Rogers    },
168*44a9189fSIan Rogers    {
169*44a9189fSIan Rogers        "BriefDescription": "Mispredicted branches executed",
170*44a9189fSIan Rogers        "Counter": "0,1,2,3",
171*44a9189fSIan Rogers        "EventCode": "0x89",
172edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.ANY",
173edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
174*44a9189fSIan Rogers        "UMask": "0x7f"
175edaa78b4SAndi Kleen    },
176edaa78b4SAndi Kleen    {
177*44a9189fSIan Rogers        "BriefDescription": "Mispredicted conditional branches executed",
178edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
179*44a9189fSIan Rogers        "EventCode": "0x89",
180edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.COND",
181edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
182*44a9189fSIan Rogers        "UMask": "0x1"
183edaa78b4SAndi Kleen    },
184edaa78b4SAndi Kleen    {
185*44a9189fSIan Rogers        "BriefDescription": "Mispredicted unconditional branches executed",
186edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
187*44a9189fSIan Rogers        "EventCode": "0x89",
188edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT",
189edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
190*44a9189fSIan Rogers        "UMask": "0x2"
191edaa78b4SAndi Kleen    },
192edaa78b4SAndi Kleen    {
193*44a9189fSIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
194edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
195*44a9189fSIan Rogers        "EventCode": "0x89",
196edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT_NEAR_CALL",
197edaa78b4SAndi Kleen        "SampleAfterValue": "2000",
198*44a9189fSIan Rogers        "UMask": "0x10"
199edaa78b4SAndi Kleen    },
200edaa78b4SAndi Kleen    {
201*44a9189fSIan Rogers        "BriefDescription": "Mispredicted indirect call branches executed",
202edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
203*44a9189fSIan Rogers        "EventCode": "0x89",
204edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NEAR_CALL",
205edaa78b4SAndi Kleen        "SampleAfterValue": "2000",
206*44a9189fSIan Rogers        "UMask": "0x20"
207edaa78b4SAndi Kleen    },
208edaa78b4SAndi Kleen    {
209*44a9189fSIan Rogers        "BriefDescription": "Mispredicted indirect non call branches executed",
210edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
211*44a9189fSIan Rogers        "EventCode": "0x89",
212edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NON_CALL",
213edaa78b4SAndi Kleen        "SampleAfterValue": "2000",
214*44a9189fSIan Rogers        "UMask": "0x4"
215edaa78b4SAndi Kleen    },
216edaa78b4SAndi Kleen    {
217*44a9189fSIan Rogers        "BriefDescription": "Mispredicted call branches executed",
218edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
219*44a9189fSIan Rogers        "EventCode": "0x89",
220edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.NEAR_CALLS",
221edaa78b4SAndi Kleen        "SampleAfterValue": "2000",
222*44a9189fSIan Rogers        "UMask": "0x30"
223edaa78b4SAndi Kleen    },
224edaa78b4SAndi Kleen    {
225*44a9189fSIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
226edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
227*44a9189fSIan Rogers        "EventCode": "0x89",
228edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.NON_CALLS",
229edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
230*44a9189fSIan Rogers        "UMask": "0x7"
231edaa78b4SAndi Kleen    },
232edaa78b4SAndi Kleen    {
233*44a9189fSIan Rogers        "BriefDescription": "Mispredicted return branches executed",
234edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
235*44a9189fSIan Rogers        "EventCode": "0x89",
236edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.RETURN_NEAR",
237edaa78b4SAndi Kleen        "SampleAfterValue": "2000",
238*44a9189fSIan Rogers        "UMask": "0x8"
239edaa78b4SAndi Kleen    },
240edaa78b4SAndi Kleen    {
241*44a9189fSIan Rogers        "BriefDescription": "Mispredicted taken branches executed",
242edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
243*44a9189fSIan Rogers        "EventCode": "0x89",
244edaa78b4SAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN",
245edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
246*44a9189fSIan Rogers        "UMask": "0x40"
247edaa78b4SAndi Kleen    },
248edaa78b4SAndi Kleen    {
249*44a9189fSIan Rogers        "BriefDescription": "Mispredicted near retired calls (Precise Event)",
250edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
251*44a9189fSIan Rogers        "EventCode": "0xC5",
252edaa78b4SAndi Kleen        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
253*44a9189fSIan Rogers        "PEBS": "1",
254edaa78b4SAndi Kleen        "SampleAfterValue": "2000",
255*44a9189fSIan Rogers        "UMask": "0x2"
256edaa78b4SAndi Kleen    },
257edaa78b4SAndi Kleen    {
258*44a9189fSIan Rogers        "BriefDescription": "Reference cycles when thread is not halted (fixed counter)",
259edaa78b4SAndi Kleen        "Counter": "Fixed counter 3",
260*44a9189fSIan Rogers        "EventCode": "0x0",
261edaa78b4SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF",
262edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
263*44a9189fSIan Rogers        "UMask": "0x0"
264edaa78b4SAndi Kleen    },
265edaa78b4SAndi Kleen    {
266*44a9189fSIan Rogers        "BriefDescription": "Reference base clock (133 Mhz) cycles when thread is not halted (programmable counter)",
267edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
268*44a9189fSIan Rogers        "EventCode": "0x3C",
269edaa78b4SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_P",
270edaa78b4SAndi Kleen        "SampleAfterValue": "100000",
271*44a9189fSIan Rogers        "UMask": "0x1"
272edaa78b4SAndi Kleen    },
273edaa78b4SAndi Kleen    {
274*44a9189fSIan Rogers        "BriefDescription": "Cycles when thread is not halted (fixed counter)",
275edaa78b4SAndi Kleen        "Counter": "Fixed counter 2",
276*44a9189fSIan Rogers        "EventCode": "0x0",
277edaa78b4SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD",
278edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
279*44a9189fSIan Rogers        "UMask": "0x0"
280edaa78b4SAndi Kleen    },
281edaa78b4SAndi Kleen    {
282*44a9189fSIan Rogers        "BriefDescription": "Cycles when thread is not halted (programmable counter)",
283edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
284*44a9189fSIan Rogers        "EventCode": "0x3C",
285edaa78b4SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
286edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
287*44a9189fSIan Rogers        "UMask": "0x0"
288edaa78b4SAndi Kleen    },
289edaa78b4SAndi Kleen    {
290edaa78b4SAndi Kleen        "BriefDescription": "Total CPU cycles",
291*44a9189fSIan Rogers        "Counter": "0,1,2,3",
292*44a9189fSIan Rogers        "CounterMask": "2",
293*44a9189fSIan Rogers        "EventCode": "0x3C",
294*44a9189fSIan Rogers        "EventName": "CPU_CLK_UNHALTED.TOTAL_CYCLES",
295*44a9189fSIan Rogers        "Invert": "1",
296*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
297*44a9189fSIan Rogers        "UMask": "0x0"
298edaa78b4SAndi Kleen    },
299edaa78b4SAndi Kleen    {
300*44a9189fSIan Rogers        "BriefDescription": "Any Instruction Length Decoder stall cycles",
301edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
302*44a9189fSIan Rogers        "EventCode": "0x87",
303edaa78b4SAndi Kleen        "EventName": "ILD_STALL.ANY",
304edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
305*44a9189fSIan Rogers        "UMask": "0xf"
306edaa78b4SAndi Kleen    },
307edaa78b4SAndi Kleen    {
308*44a9189fSIan Rogers        "BriefDescription": "Instruction Queue full stall cycles",
309edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
310*44a9189fSIan Rogers        "EventCode": "0x87",
311edaa78b4SAndi Kleen        "EventName": "ILD_STALL.IQ_FULL",
312edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
313*44a9189fSIan Rogers        "UMask": "0x4"
314edaa78b4SAndi Kleen    },
315edaa78b4SAndi Kleen    {
316*44a9189fSIan Rogers        "BriefDescription": "Length Change Prefix stall cycles",
317edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
318*44a9189fSIan Rogers        "EventCode": "0x87",
319edaa78b4SAndi Kleen        "EventName": "ILD_STALL.LCP",
320edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
321*44a9189fSIan Rogers        "UMask": "0x1"
322edaa78b4SAndi Kleen    },
323edaa78b4SAndi Kleen    {
324*44a9189fSIan Rogers        "BriefDescription": "Stall cycles due to BPU MRU bypass",
325edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
326*44a9189fSIan Rogers        "EventCode": "0x87",
327edaa78b4SAndi Kleen        "EventName": "ILD_STALL.MRU",
328edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
329*44a9189fSIan Rogers        "UMask": "0x2"
330edaa78b4SAndi Kleen    },
331edaa78b4SAndi Kleen    {
332*44a9189fSIan Rogers        "BriefDescription": "Regen stall cycles",
333edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
334*44a9189fSIan Rogers        "EventCode": "0x87",
335edaa78b4SAndi Kleen        "EventName": "ILD_STALL.REGEN",
336edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
337*44a9189fSIan Rogers        "UMask": "0x8"
338edaa78b4SAndi Kleen    },
339edaa78b4SAndi Kleen    {
340*44a9189fSIan Rogers        "BriefDescription": "Instructions that must be decoded by decoder 0",
341edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
342*44a9189fSIan Rogers        "EventCode": "0x18",
343edaa78b4SAndi Kleen        "EventName": "INST_DECODED.DEC0",
344edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
345*44a9189fSIan Rogers        "UMask": "0x1"
346edaa78b4SAndi Kleen    },
347edaa78b4SAndi Kleen    {
348*44a9189fSIan Rogers        "BriefDescription": "Instructions written to instruction queue.",
349edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
350edaa78b4SAndi Kleen        "EventCode": "0x17",
351edaa78b4SAndi Kleen        "EventName": "INST_QUEUE_WRITES",
352edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
353*44a9189fSIan Rogers        "UMask": "0x1"
354edaa78b4SAndi Kleen    },
355edaa78b4SAndi Kleen    {
356*44a9189fSIan Rogers        "BriefDescription": "Cycles instructions are written to the instruction queue",
357*44a9189fSIan Rogers        "Counter": "0,1,2,3",
358*44a9189fSIan Rogers        "EventCode": "0x1E",
359*44a9189fSIan Rogers        "EventName": "INST_QUEUE_WRITE_CYCLES",
360*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
361*44a9189fSIan Rogers        "UMask": "0x1"
362*44a9189fSIan Rogers    },
363*44a9189fSIan Rogers    {
364*44a9189fSIan Rogers        "BriefDescription": "Instructions retired (fixed counter)",
365edaa78b4SAndi Kleen        "Counter": "Fixed counter 1",
366*44a9189fSIan Rogers        "EventCode": "0x0",
367edaa78b4SAndi Kleen        "EventName": "INST_RETIRED.ANY",
368edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
369*44a9189fSIan Rogers        "UMask": "0x0"
370edaa78b4SAndi Kleen    },
371edaa78b4SAndi Kleen    {
372*44a9189fSIan Rogers        "BriefDescription": "Instructions retired (Programmable counter and Precise Event)",
373edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
374*44a9189fSIan Rogers        "EventCode": "0xC0",
375edaa78b4SAndi Kleen        "EventName": "INST_RETIRED.ANY_P",
376*44a9189fSIan Rogers        "PEBS": "1",
377edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
378*44a9189fSIan Rogers        "UMask": "0x1"
379edaa78b4SAndi Kleen    },
380edaa78b4SAndi Kleen    {
381*44a9189fSIan Rogers        "BriefDescription": "Retired MMX instructions (Precise Event)",
382edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
383*44a9189fSIan Rogers        "EventCode": "0xC0",
384edaa78b4SAndi Kleen        "EventName": "INST_RETIRED.MMX",
385*44a9189fSIan Rogers        "PEBS": "1",
386edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
387*44a9189fSIan Rogers        "UMask": "0x4"
388edaa78b4SAndi Kleen    },
389edaa78b4SAndi Kleen    {
390edaa78b4SAndi Kleen        "BriefDescription": "Total cycles (Precise Event)",
391edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
392*44a9189fSIan Rogers        "CounterMask": "16",
393*44a9189fSIan Rogers        "EventCode": "0xC0",
394*44a9189fSIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES",
395*44a9189fSIan Rogers        "Invert": "1",
396*44a9189fSIan Rogers        "PEBS": "1",
397edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
398*44a9189fSIan Rogers        "UMask": "0x1"
399edaa78b4SAndi Kleen    },
400edaa78b4SAndi Kleen    {
401*44a9189fSIan Rogers        "BriefDescription": "Total cycles (Precise Event)",
402*44a9189fSIan Rogers        "Counter": "0,1,2,3",
403*44a9189fSIan Rogers        "CounterMask": "16",
404*44a9189fSIan Rogers        "EventCode": "0xC0",
405*44a9189fSIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
406*44a9189fSIan Rogers        "Invert": "1",
407*44a9189fSIan Rogers        "PEBS": "2",
408*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
409*44a9189fSIan Rogers        "UMask": "0x1"
410*44a9189fSIan Rogers    },
411*44a9189fSIan Rogers    {
412*44a9189fSIan Rogers        "BriefDescription": "Retired floating-point operations (Precise Event)",
413*44a9189fSIan Rogers        "Counter": "0,1,2,3",
414*44a9189fSIan Rogers        "EventCode": "0xC0",
415*44a9189fSIan Rogers        "EventName": "INST_RETIRED.X87",
416*44a9189fSIan Rogers        "PEBS": "1",
417*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
418*44a9189fSIan Rogers        "UMask": "0x2"
419*44a9189fSIan Rogers    },
420*44a9189fSIan Rogers    {
421*44a9189fSIan Rogers        "BriefDescription": "Load operations conflicting with software prefetches",
422edaa78b4SAndi Kleen        "Counter": "0,1",
423*44a9189fSIan Rogers        "EventCode": "0x4C",
424edaa78b4SAndi Kleen        "EventName": "LOAD_HIT_PRE",
425edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
426*44a9189fSIan Rogers        "UMask": "0x1"
427edaa78b4SAndi Kleen    },
428edaa78b4SAndi Kleen    {
429*44a9189fSIan Rogers        "BriefDescription": "Cycles when uops were delivered by the LSD",
430edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
431*44a9189fSIan Rogers        "CounterMask": "1",
432*44a9189fSIan Rogers        "EventCode": "0xA8",
433edaa78b4SAndi Kleen        "EventName": "LSD.ACTIVE",
434edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
435*44a9189fSIan Rogers        "UMask": "0x1"
436edaa78b4SAndi Kleen    },
437edaa78b4SAndi Kleen    {
438edaa78b4SAndi Kleen        "BriefDescription": "Cycles no uops were delivered by the LSD",
439*44a9189fSIan Rogers        "Counter": "0,1,2,3",
440*44a9189fSIan Rogers        "CounterMask": "1",
441*44a9189fSIan Rogers        "EventCode": "0xA8",
442*44a9189fSIan Rogers        "EventName": "LSD.INACTIVE",
443*44a9189fSIan Rogers        "Invert": "1",
444*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
445*44a9189fSIan Rogers        "UMask": "0x1"
446edaa78b4SAndi Kleen    },
447edaa78b4SAndi Kleen    {
448*44a9189fSIan Rogers        "BriefDescription": "Loops that can't stream from the instruction queue",
449edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
450*44a9189fSIan Rogers        "EventCode": "0x20",
451edaa78b4SAndi Kleen        "EventName": "LSD_OVERFLOW",
452edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
453*44a9189fSIan Rogers        "UMask": "0x1"
454edaa78b4SAndi Kleen    },
455edaa78b4SAndi Kleen    {
456*44a9189fSIan Rogers        "BriefDescription": "Cycles machine clear asserted",
457edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
458*44a9189fSIan Rogers        "EventCode": "0xC3",
459edaa78b4SAndi Kleen        "EventName": "MACHINE_CLEARS.CYCLES",
460edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
461*44a9189fSIan Rogers        "UMask": "0x1"
462edaa78b4SAndi Kleen    },
463edaa78b4SAndi Kleen    {
464*44a9189fSIan Rogers        "BriefDescription": "Execution pipeline restart due to Memory ordering conflicts",
465edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
466*44a9189fSIan Rogers        "EventCode": "0xC3",
467edaa78b4SAndi Kleen        "EventName": "MACHINE_CLEARS.MEM_ORDER",
468edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
469*44a9189fSIan Rogers        "UMask": "0x2"
470edaa78b4SAndi Kleen    },
471edaa78b4SAndi Kleen    {
472*44a9189fSIan Rogers        "BriefDescription": "Self-Modifying Code detected",
473edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
474*44a9189fSIan Rogers        "EventCode": "0xC3",
475edaa78b4SAndi Kleen        "EventName": "MACHINE_CLEARS.SMC",
476edaa78b4SAndi Kleen        "SampleAfterValue": "20000",
477*44a9189fSIan Rogers        "UMask": "0x4"
478edaa78b4SAndi Kleen    },
479edaa78b4SAndi Kleen    {
480*44a9189fSIan Rogers        "BriefDescription": "Resource related stall cycles",
481edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
482*44a9189fSIan Rogers        "EventCode": "0xA2",
483edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.ANY",
484edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
485*44a9189fSIan Rogers        "UMask": "0x1"
486edaa78b4SAndi Kleen    },
487edaa78b4SAndi Kleen    {
488*44a9189fSIan Rogers        "BriefDescription": "FPU control word write stall cycles",
489edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
490*44a9189fSIan Rogers        "EventCode": "0xA2",
491edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.FPCW",
492edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
493*44a9189fSIan Rogers        "UMask": "0x20"
494edaa78b4SAndi Kleen    },
495edaa78b4SAndi Kleen    {
496*44a9189fSIan Rogers        "BriefDescription": "Load buffer stall cycles",
497edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
498*44a9189fSIan Rogers        "EventCode": "0xA2",
499edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.LOAD",
500edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
501*44a9189fSIan Rogers        "UMask": "0x2"
502edaa78b4SAndi Kleen    },
503edaa78b4SAndi Kleen    {
504*44a9189fSIan Rogers        "BriefDescription": "MXCSR rename stall cycles",
505edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
506*44a9189fSIan Rogers        "EventCode": "0xA2",
507edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.MXCSR",
508edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
509*44a9189fSIan Rogers        "UMask": "0x40"
510edaa78b4SAndi Kleen    },
511edaa78b4SAndi Kleen    {
512*44a9189fSIan Rogers        "BriefDescription": "Other Resource related stall cycles",
513edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
514*44a9189fSIan Rogers        "EventCode": "0xA2",
515edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.OTHER",
516edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
517*44a9189fSIan Rogers        "UMask": "0x80"
518edaa78b4SAndi Kleen    },
519edaa78b4SAndi Kleen    {
520*44a9189fSIan Rogers        "BriefDescription": "ROB full stall cycles",
521edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
522*44a9189fSIan Rogers        "EventCode": "0xA2",
523edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.ROB_FULL",
524edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
525*44a9189fSIan Rogers        "UMask": "0x10"
526edaa78b4SAndi Kleen    },
527edaa78b4SAndi Kleen    {
528*44a9189fSIan Rogers        "BriefDescription": "Reservation Station full stall cycles",
529edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
530*44a9189fSIan Rogers        "EventCode": "0xA2",
531edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.RS_FULL",
532edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
533*44a9189fSIan Rogers        "UMask": "0x4"
534edaa78b4SAndi Kleen    },
535edaa78b4SAndi Kleen    {
536*44a9189fSIan Rogers        "BriefDescription": "Store buffer stall cycles",
537edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
538*44a9189fSIan Rogers        "EventCode": "0xA2",
539edaa78b4SAndi Kleen        "EventName": "RESOURCE_STALLS.STORE",
540edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
541*44a9189fSIan Rogers        "UMask": "0x8"
542edaa78b4SAndi Kleen    },
543edaa78b4SAndi Kleen    {
544*44a9189fSIan Rogers        "BriefDescription": "SIMD Packed-Double Uops retired (Precise Event)",
545edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
546*44a9189fSIan Rogers        "EventCode": "0xC7",
547edaa78b4SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_DOUBLE",
548*44a9189fSIan Rogers        "PEBS": "1",
549edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
550*44a9189fSIan Rogers        "UMask": "0x4"
551edaa78b4SAndi Kleen    },
552edaa78b4SAndi Kleen    {
553*44a9189fSIan Rogers        "BriefDescription": "SIMD Packed-Single Uops retired (Precise Event)",
554edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
555*44a9189fSIan Rogers        "EventCode": "0xC7",
556edaa78b4SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_SINGLE",
557*44a9189fSIan Rogers        "PEBS": "1",
558edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
559*44a9189fSIan Rogers        "UMask": "0x1"
560edaa78b4SAndi Kleen    },
561edaa78b4SAndi Kleen    {
562*44a9189fSIan Rogers        "BriefDescription": "SIMD Scalar-Double Uops retired (Precise Event)",
563edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
564*44a9189fSIan Rogers        "EventCode": "0xC7",
565edaa78b4SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_DOUBLE",
566*44a9189fSIan Rogers        "PEBS": "1",
567edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
568*44a9189fSIan Rogers        "UMask": "0x8"
569edaa78b4SAndi Kleen    },
570edaa78b4SAndi Kleen    {
571*44a9189fSIan Rogers        "BriefDescription": "SIMD Scalar-Single Uops retired (Precise Event)",
572edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
573*44a9189fSIan Rogers        "EventCode": "0xC7",
574edaa78b4SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_SINGLE",
575edaa78b4SAndi Kleen        "PEBS": "1",
576edaa78b4SAndi Kleen        "SampleAfterValue": "200000",
577*44a9189fSIan Rogers        "UMask": "0x2"
578edaa78b4SAndi Kleen    },
579edaa78b4SAndi Kleen    {
580*44a9189fSIan Rogers        "BriefDescription": "SIMD Vector Integer Uops retired (Precise Event)",
581edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
582*44a9189fSIan Rogers        "EventCode": "0xC7",
583*44a9189fSIan Rogers        "EventName": "SSEX_UOPS_RETIRED.VECTOR_INTEGER",
584*44a9189fSIan Rogers        "PEBS": "1",
585*44a9189fSIan Rogers        "SampleAfterValue": "200000",
586*44a9189fSIan Rogers        "UMask": "0x10"
587edaa78b4SAndi Kleen    },
588edaa78b4SAndi Kleen    {
589*44a9189fSIan Rogers        "BriefDescription": "Stack pointer instructions decoded",
590*44a9189fSIan Rogers        "Counter": "0,1,2,3",
591edaa78b4SAndi Kleen        "EventCode": "0xD1",
592edaa78b4SAndi Kleen        "EventName": "UOPS_DECODED.ESP_FOLDING",
593edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
594*44a9189fSIan Rogers        "UMask": "0x4"
595edaa78b4SAndi Kleen    },
596edaa78b4SAndi Kleen    {
597*44a9189fSIan Rogers        "BriefDescription": "Stack pointer sync operations",
598edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
599*44a9189fSIan Rogers        "EventCode": "0xD1",
600edaa78b4SAndi Kleen        "EventName": "UOPS_DECODED.ESP_SYNC",
601edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
602*44a9189fSIan Rogers        "UMask": "0x8"
603edaa78b4SAndi Kleen    },
604edaa78b4SAndi Kleen    {
605*44a9189fSIan Rogers        "BriefDescription": "Uops decoded by Microcode Sequencer",
606edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
607*44a9189fSIan Rogers        "CounterMask": "1",
608*44a9189fSIan Rogers        "EventCode": "0xD1",
609edaa78b4SAndi Kleen        "EventName": "UOPS_DECODED.MS_CYCLES_ACTIVE",
610edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
611*44a9189fSIan Rogers        "UMask": "0x2"
612edaa78b4SAndi Kleen    },
613edaa78b4SAndi Kleen    {
614edaa78b4SAndi Kleen        "BriefDescription": "Cycles no Uops are decoded",
615*44a9189fSIan Rogers        "Counter": "0,1,2,3",
616*44a9189fSIan Rogers        "CounterMask": "1",
617*44a9189fSIan Rogers        "EventCode": "0xD1",
618*44a9189fSIan Rogers        "EventName": "UOPS_DECODED.STALL_CYCLES",
619*44a9189fSIan Rogers        "Invert": "1",
620*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
621*44a9189fSIan Rogers        "UMask": "0x1"
622edaa78b4SAndi Kleen    },
623edaa78b4SAndi Kleen    {
624edaa78b4SAndi Kleen        "AnyThread": "1",
625*44a9189fSIan Rogers        "BriefDescription": "Cycles Uops executed on any port (core count)",
626*44a9189fSIan Rogers        "Counter": "0,1,2,3",
627*44a9189fSIan Rogers        "CounterMask": "1",
628*44a9189fSIan Rogers        "EventCode": "0xB1",
629edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES",
630edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
631*44a9189fSIan Rogers        "UMask": "0x3f"
632edaa78b4SAndi Kleen    },
633edaa78b4SAndi Kleen    {
634edaa78b4SAndi Kleen        "AnyThread": "1",
635*44a9189fSIan Rogers        "BriefDescription": "Cycles Uops executed on ports 0-4 (core count)",
636*44a9189fSIan Rogers        "Counter": "0,1,2,3",
637*44a9189fSIan Rogers        "CounterMask": "1",
638*44a9189fSIan Rogers        "EventCode": "0xB1",
639edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5",
640edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
641*44a9189fSIan Rogers        "UMask": "0x1f"
642edaa78b4SAndi Kleen    },
643edaa78b4SAndi Kleen    {
644edaa78b4SAndi Kleen        "AnyThread": "1",
645edaa78b4SAndi Kleen        "BriefDescription": "Uops executed on any port (core count)",
646*44a9189fSIan Rogers        "Counter": "0,1,2,3",
647edaa78b4SAndi Kleen        "CounterMask": "1",
648*44a9189fSIan Rogers        "EdgeDetect": "1",
649*44a9189fSIan Rogers        "EventCode": "0xB1",
650*44a9189fSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT",
651*44a9189fSIan Rogers        "Invert": "1",
652*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
653*44a9189fSIan Rogers        "UMask": "0x3f"
654edaa78b4SAndi Kleen    },
655edaa78b4SAndi Kleen    {
656edaa78b4SAndi Kleen        "AnyThread": "1",
657edaa78b4SAndi Kleen        "BriefDescription": "Uops executed on ports 0-4 (core count)",
658*44a9189fSIan Rogers        "Counter": "0,1,2,3",
659edaa78b4SAndi Kleen        "CounterMask": "1",
660*44a9189fSIan Rogers        "EdgeDetect": "1",
661*44a9189fSIan Rogers        "EventCode": "0xB1",
662*44a9189fSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT_NO_PORT5",
663*44a9189fSIan Rogers        "Invert": "1",
664*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
665*44a9189fSIan Rogers        "UMask": "0x1f"
666edaa78b4SAndi Kleen    },
667edaa78b4SAndi Kleen    {
668edaa78b4SAndi Kleen        "AnyThread": "1",
669edaa78b4SAndi Kleen        "BriefDescription": "Cycles no Uops issued on any port (core count)",
670*44a9189fSIan Rogers        "Counter": "0,1,2,3",
671*44a9189fSIan Rogers        "CounterMask": "1",
672edaa78b4SAndi Kleen        "EventCode": "0xB1",
673*44a9189fSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES",
674edaa78b4SAndi Kleen        "Invert": "1",
675edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
676*44a9189fSIan Rogers        "UMask": "0x3f"
677edaa78b4SAndi Kleen    },
678edaa78b4SAndi Kleen    {
679*44a9189fSIan Rogers        "AnyThread": "1",
680*44a9189fSIan Rogers        "BriefDescription": "Cycles no Uops issued on ports 0-4 (core count)",
681edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
682*44a9189fSIan Rogers        "CounterMask": "1",
683*44a9189fSIan Rogers        "EventCode": "0xB1",
684*44a9189fSIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES_NO_PORT5",
685*44a9189fSIan Rogers        "Invert": "1",
686*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
687*44a9189fSIan Rogers        "UMask": "0x1f"
688*44a9189fSIan Rogers    },
689*44a9189fSIan Rogers    {
690*44a9189fSIan Rogers        "BriefDescription": "Uops executed on port 0",
691*44a9189fSIan Rogers        "Counter": "0,1,2,3",
692*44a9189fSIan Rogers        "EventCode": "0xB1",
693edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT0",
694edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
695*44a9189fSIan Rogers        "UMask": "0x1"
696edaa78b4SAndi Kleen    },
697edaa78b4SAndi Kleen    {
698*44a9189fSIan Rogers        "BriefDescription": "Uops issued on ports 0, 1 or 5",
699edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
700*44a9189fSIan Rogers        "EventCode": "0xB1",
701edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT015",
702edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
703*44a9189fSIan Rogers        "UMask": "0x40"
704edaa78b4SAndi Kleen    },
705edaa78b4SAndi Kleen    {
706edaa78b4SAndi Kleen        "BriefDescription": "Cycles no Uops issued on ports 0, 1 or 5",
707*44a9189fSIan Rogers        "Counter": "0,1,2,3",
708*44a9189fSIan Rogers        "CounterMask": "1",
709*44a9189fSIan Rogers        "EventCode": "0xB1",
710*44a9189fSIan Rogers        "EventName": "UOPS_EXECUTED.PORT015_STALL_CYCLES",
711*44a9189fSIan Rogers        "Invert": "1",
712*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
713*44a9189fSIan Rogers        "UMask": "0x40"
714edaa78b4SAndi Kleen    },
715edaa78b4SAndi Kleen    {
716*44a9189fSIan Rogers        "BriefDescription": "Uops executed on port 1",
717edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
718*44a9189fSIan Rogers        "EventCode": "0xB1",
719edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT1",
720edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
721*44a9189fSIan Rogers        "UMask": "0x2"
722edaa78b4SAndi Kleen    },
723edaa78b4SAndi Kleen    {
724edaa78b4SAndi Kleen        "AnyThread": "1",
725*44a9189fSIan Rogers        "BriefDescription": "Uops issued on ports 2, 3 or 4",
726edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
727*44a9189fSIan Rogers        "EventCode": "0xB1",
728edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT234_CORE",
729edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
730*44a9189fSIan Rogers        "UMask": "0x80"
731edaa78b4SAndi Kleen    },
732edaa78b4SAndi Kleen    {
733edaa78b4SAndi Kleen        "AnyThread": "1",
734*44a9189fSIan Rogers        "BriefDescription": "Uops executed on port 2 (core count)",
735*44a9189fSIan Rogers        "Counter": "0,1,2,3",
736*44a9189fSIan Rogers        "EventCode": "0xB1",
737*44a9189fSIan Rogers        "EventName": "UOPS_EXECUTED.PORT2_CORE",
738*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
739*44a9189fSIan Rogers        "UMask": "0x4"
740*44a9189fSIan Rogers    },
741*44a9189fSIan Rogers    {
742*44a9189fSIan Rogers        "AnyThread": "1",
743*44a9189fSIan Rogers        "BriefDescription": "Uops executed on port 3 (core count)",
744*44a9189fSIan Rogers        "Counter": "0,1,2,3",
745*44a9189fSIan Rogers        "EventCode": "0xB1",
746edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT3_CORE",
747edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
748*44a9189fSIan Rogers        "UMask": "0x8"
749edaa78b4SAndi Kleen    },
750edaa78b4SAndi Kleen    {
751edaa78b4SAndi Kleen        "AnyThread": "1",
752*44a9189fSIan Rogers        "BriefDescription": "Uops executed on port 4 (core count)",
753*44a9189fSIan Rogers        "Counter": "0,1,2,3",
754*44a9189fSIan Rogers        "EventCode": "0xB1",
755edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT4_CORE",
756edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
757*44a9189fSIan Rogers        "UMask": "0x10"
758edaa78b4SAndi Kleen    },
759edaa78b4SAndi Kleen    {
760*44a9189fSIan Rogers        "BriefDescription": "Uops executed on port 5",
761edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
762*44a9189fSIan Rogers        "EventCode": "0xB1",
763edaa78b4SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT5",
764edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
765*44a9189fSIan Rogers        "UMask": "0x20"
766edaa78b4SAndi Kleen    },
767edaa78b4SAndi Kleen    {
768*44a9189fSIan Rogers        "BriefDescription": "Uops issued",
769edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
770*44a9189fSIan Rogers        "EventCode": "0xE",
771edaa78b4SAndi Kleen        "EventName": "UOPS_ISSUED.ANY",
772edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
773*44a9189fSIan Rogers        "UMask": "0x1"
774edaa78b4SAndi Kleen    },
775edaa78b4SAndi Kleen    {
776edaa78b4SAndi Kleen        "AnyThread": "1",
777edaa78b4SAndi Kleen        "BriefDescription": "Cycles no Uops were issued on any thread",
778*44a9189fSIan Rogers        "Counter": "0,1,2,3",
779*44a9189fSIan Rogers        "CounterMask": "1",
780*44a9189fSIan Rogers        "EventCode": "0xE",
781*44a9189fSIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
782*44a9189fSIan Rogers        "Invert": "1",
783*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
784*44a9189fSIan Rogers        "UMask": "0x1"
785edaa78b4SAndi Kleen    },
786edaa78b4SAndi Kleen    {
787edaa78b4SAndi Kleen        "AnyThread": "1",
788*44a9189fSIan Rogers        "BriefDescription": "Cycles Uops were issued on either thread",
789*44a9189fSIan Rogers        "Counter": "0,1,2,3",
790*44a9189fSIan Rogers        "CounterMask": "1",
791*44a9189fSIan Rogers        "EventCode": "0xE",
792edaa78b4SAndi Kleen        "EventName": "UOPS_ISSUED.CYCLES_ALL_THREADS",
793edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
794*44a9189fSIan Rogers        "UMask": "0x1"
795edaa78b4SAndi Kleen    },
796edaa78b4SAndi Kleen    {
797*44a9189fSIan Rogers        "BriefDescription": "Fused Uops issued",
798edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
799*44a9189fSIan Rogers        "EventCode": "0xE",
800edaa78b4SAndi Kleen        "EventName": "UOPS_ISSUED.FUSED",
801edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
802*44a9189fSIan Rogers        "UMask": "0x2"
803edaa78b4SAndi Kleen    },
804edaa78b4SAndi Kleen    {
805edaa78b4SAndi Kleen        "BriefDescription": "Cycles no Uops were issued",
806*44a9189fSIan Rogers        "Counter": "0,1,2,3",
807*44a9189fSIan Rogers        "CounterMask": "1",
808*44a9189fSIan Rogers        "EventCode": "0xE",
809*44a9189fSIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
810*44a9189fSIan Rogers        "Invert": "1",
811*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
812*44a9189fSIan Rogers        "UMask": "0x1"
813edaa78b4SAndi Kleen    },
814edaa78b4SAndi Kleen    {
815edaa78b4SAndi Kleen        "BriefDescription": "Cycles Uops are being retired",
816*44a9189fSIan Rogers        "Counter": "0,1,2,3",
817*44a9189fSIan Rogers        "CounterMask": "1",
818*44a9189fSIan Rogers        "EventCode": "0xC2",
819*44a9189fSIan Rogers        "EventName": "UOPS_RETIRED.ACTIVE_CYCLES",
820*44a9189fSIan Rogers        "PEBS": "1",
821*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
822*44a9189fSIan Rogers        "UMask": "0x1"
823edaa78b4SAndi Kleen    },
824edaa78b4SAndi Kleen    {
825*44a9189fSIan Rogers        "BriefDescription": "Uops retired (Precise Event)",
826edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
827*44a9189fSIan Rogers        "EventCode": "0xC2",
828edaa78b4SAndi Kleen        "EventName": "UOPS_RETIRED.ANY",
829*44a9189fSIan Rogers        "PEBS": "1",
830edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
831*44a9189fSIan Rogers        "UMask": "0x1"
832edaa78b4SAndi Kleen    },
833edaa78b4SAndi Kleen    {
834*44a9189fSIan Rogers        "BriefDescription": "Macro-fused Uops retired (Precise Event)",
835edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
836*44a9189fSIan Rogers        "EventCode": "0xC2",
837edaa78b4SAndi Kleen        "EventName": "UOPS_RETIRED.MACRO_FUSED",
838*44a9189fSIan Rogers        "PEBS": "1",
839edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
840*44a9189fSIan Rogers        "UMask": "0x4"
841edaa78b4SAndi Kleen    },
842edaa78b4SAndi Kleen    {
843*44a9189fSIan Rogers        "BriefDescription": "Retirement slots used (Precise Event)",
844edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
845*44a9189fSIan Rogers        "EventCode": "0xC2",
846edaa78b4SAndi Kleen        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
847*44a9189fSIan Rogers        "PEBS": "1",
848edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
849*44a9189fSIan Rogers        "UMask": "0x2"
850edaa78b4SAndi Kleen    },
851edaa78b4SAndi Kleen    {
852edaa78b4SAndi Kleen        "BriefDescription": "Cycles Uops are not retiring (Precise Event)",
853*44a9189fSIan Rogers        "Counter": "0,1,2,3",
854*44a9189fSIan Rogers        "CounterMask": "1",
855edaa78b4SAndi Kleen        "EventCode": "0xC2",
856*44a9189fSIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
857edaa78b4SAndi Kleen        "Invert": "1",
858*44a9189fSIan Rogers        "PEBS": "1",
859edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
860*44a9189fSIan Rogers        "UMask": "0x1"
861edaa78b4SAndi Kleen    },
862edaa78b4SAndi Kleen    {
863*44a9189fSIan Rogers        "BriefDescription": "Total cycles using precise uop retired event (Precise Event)",
864edaa78b4SAndi Kleen        "Counter": "0,1,2,3",
865*44a9189fSIan Rogers        "CounterMask": "16",
866*44a9189fSIan Rogers        "EventCode": "0xC2",
867*44a9189fSIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
868*44a9189fSIan Rogers        "Invert": "1",
869*44a9189fSIan Rogers        "PEBS": "1",
870edaa78b4SAndi Kleen        "SampleAfterValue": "2000000",
871*44a9189fSIan Rogers        "UMask": "0x1"
872*44a9189fSIan Rogers    },
873*44a9189fSIan Rogers    {
874*44a9189fSIan Rogers        "BriefDescription": "Uop unfusions due to FP exceptions",
875*44a9189fSIan Rogers        "Counter": "0,1,2,3",
876*44a9189fSIan Rogers        "EventCode": "0xDB",
877*44a9189fSIan Rogers        "EventName": "UOP_UNFUSION",
878*44a9189fSIan Rogers        "SampleAfterValue": "2000000",
879*44a9189fSIan Rogers        "UMask": "0x1"
880edaa78b4SAndi Kleen    }
881edaa78b4SAndi Kleen]