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