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