101dd2545SAndi Kleen[
201dd2545SAndi Kleen    {
3*274c0a75SIan Rogers        "BriefDescription": "Cycles the divider is busy",
401dd2545SAndi Kleen        "Counter": "0,1,2,3",
5*274c0a75SIan Rogers        "EventCode": "0x14",
601dd2545SAndi Kleen        "EventName": "ARITH.CYCLES_DIV_BUSY",
701dd2545SAndi Kleen        "SampleAfterValue": "2000000",
8*274c0a75SIan Rogers        "UMask": "0x1"
901dd2545SAndi Kleen    },
1001dd2545SAndi Kleen    {
1101dd2545SAndi Kleen        "BriefDescription": "Divide Operations executed",
12*274c0a75SIan Rogers        "Counter": "0,1,2,3",
1301dd2545SAndi Kleen        "CounterMask": "1",
14*274c0a75SIan Rogers        "EdgeDetect": "1",
15*274c0a75SIan Rogers        "EventCode": "0x14",
16*274c0a75SIan Rogers        "EventName": "ARITH.DIV",
17*274c0a75SIan Rogers        "Invert": "1",
18*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
19*274c0a75SIan Rogers        "UMask": "0x1"
2001dd2545SAndi Kleen    },
2101dd2545SAndi Kleen    {
22*274c0a75SIan Rogers        "BriefDescription": "Multiply operations executed",
2301dd2545SAndi Kleen        "Counter": "0,1,2,3",
24*274c0a75SIan Rogers        "EventCode": "0x14",
2501dd2545SAndi Kleen        "EventName": "ARITH.MUL",
2601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
27*274c0a75SIan Rogers        "UMask": "0x2"
2801dd2545SAndi Kleen    },
2901dd2545SAndi Kleen    {
30*274c0a75SIan Rogers        "BriefDescription": "BACLEAR asserted with bad target address",
3101dd2545SAndi Kleen        "Counter": "0,1,2,3",
32*274c0a75SIan Rogers        "EventCode": "0xE6",
3301dd2545SAndi Kleen        "EventName": "BACLEAR.BAD_TARGET",
3401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
35*274c0a75SIan Rogers        "UMask": "0x2"
3601dd2545SAndi Kleen    },
3701dd2545SAndi Kleen    {
38*274c0a75SIan Rogers        "BriefDescription": "BACLEAR asserted, regardless of cause",
3901dd2545SAndi Kleen        "Counter": "0,1,2,3",
40*274c0a75SIan Rogers        "EventCode": "0xE6",
4101dd2545SAndi Kleen        "EventName": "BACLEAR.CLEAR",
4201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
43*274c0a75SIan Rogers        "UMask": "0x1"
4401dd2545SAndi Kleen    },
4501dd2545SAndi Kleen    {
46*274c0a75SIan Rogers        "BriefDescription": "Instruction queue forced BACLEAR",
4701dd2545SAndi Kleen        "Counter": "0,1,2,3",
48*274c0a75SIan Rogers        "EventCode": "0xA7",
4901dd2545SAndi Kleen        "EventName": "BACLEAR_FORCE_IQ",
5001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
51*274c0a75SIan Rogers        "UMask": "0x1"
5201dd2545SAndi Kleen    },
5301dd2545SAndi Kleen    {
54*274c0a75SIan Rogers        "BriefDescription": "Branch instructions decoded",
5501dd2545SAndi Kleen        "Counter": "0,1,2,3",
56*274c0a75SIan Rogers        "EventCode": "0xE0",
5701dd2545SAndi Kleen        "EventName": "BR_INST_DECODED",
5801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
59*274c0a75SIan Rogers        "UMask": "0x1"
6001dd2545SAndi Kleen    },
6101dd2545SAndi Kleen    {
62*274c0a75SIan Rogers        "BriefDescription": "Branch instructions executed",
6301dd2545SAndi Kleen        "Counter": "0,1,2,3",
64*274c0a75SIan Rogers        "EventCode": "0x88",
6501dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.ANY",
6601dd2545SAndi Kleen        "SampleAfterValue": "200000",
67*274c0a75SIan Rogers        "UMask": "0x7f"
6801dd2545SAndi Kleen    },
6901dd2545SAndi Kleen    {
70*274c0a75SIan Rogers        "BriefDescription": "Conditional branch instructions executed",
7101dd2545SAndi Kleen        "Counter": "0,1,2,3",
72*274c0a75SIan Rogers        "EventCode": "0x88",
7301dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.COND",
7401dd2545SAndi Kleen        "SampleAfterValue": "200000",
75*274c0a75SIan Rogers        "UMask": "0x1"
7601dd2545SAndi Kleen    },
7701dd2545SAndi Kleen    {
78*274c0a75SIan Rogers        "BriefDescription": "Unconditional branches executed",
7901dd2545SAndi Kleen        "Counter": "0,1,2,3",
80*274c0a75SIan Rogers        "EventCode": "0x88",
8101dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT",
8201dd2545SAndi Kleen        "SampleAfterValue": "200000",
83*274c0a75SIan Rogers        "UMask": "0x2"
8401dd2545SAndi Kleen    },
8501dd2545SAndi Kleen    {
86*274c0a75SIan Rogers        "BriefDescription": "Unconditional call branches executed",
8701dd2545SAndi Kleen        "Counter": "0,1,2,3",
88*274c0a75SIan Rogers        "EventCode": "0x88",
8901dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT_NEAR_CALL",
9001dd2545SAndi Kleen        "SampleAfterValue": "20000",
91*274c0a75SIan Rogers        "UMask": "0x10"
9201dd2545SAndi Kleen    },
9301dd2545SAndi Kleen    {
94*274c0a75SIan Rogers        "BriefDescription": "Indirect call branches executed",
9501dd2545SAndi Kleen        "Counter": "0,1,2,3",
96*274c0a75SIan Rogers        "EventCode": "0x88",
9701dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NEAR_CALL",
9801dd2545SAndi Kleen        "SampleAfterValue": "20000",
99*274c0a75SIan Rogers        "UMask": "0x20"
10001dd2545SAndi Kleen    },
10101dd2545SAndi Kleen    {
102*274c0a75SIan Rogers        "BriefDescription": "Indirect non call branches executed",
10301dd2545SAndi Kleen        "Counter": "0,1,2,3",
104*274c0a75SIan Rogers        "EventCode": "0x88",
10501dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NON_CALL",
10601dd2545SAndi Kleen        "SampleAfterValue": "20000",
107*274c0a75SIan Rogers        "UMask": "0x4"
10801dd2545SAndi Kleen    },
10901dd2545SAndi Kleen    {
110*274c0a75SIan Rogers        "BriefDescription": "Call branches executed",
11101dd2545SAndi Kleen        "Counter": "0,1,2,3",
112*274c0a75SIan Rogers        "EventCode": "0x88",
11301dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.NEAR_CALLS",
11401dd2545SAndi Kleen        "SampleAfterValue": "20000",
115*274c0a75SIan Rogers        "UMask": "0x30"
11601dd2545SAndi Kleen    },
11701dd2545SAndi Kleen    {
118*274c0a75SIan Rogers        "BriefDescription": "All non call branches executed",
11901dd2545SAndi Kleen        "Counter": "0,1,2,3",
120*274c0a75SIan Rogers        "EventCode": "0x88",
12101dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.NON_CALLS",
12201dd2545SAndi Kleen        "SampleAfterValue": "200000",
123*274c0a75SIan Rogers        "UMask": "0x7"
12401dd2545SAndi Kleen    },
12501dd2545SAndi Kleen    {
126*274c0a75SIan Rogers        "BriefDescription": "Indirect return branches executed",
12701dd2545SAndi Kleen        "Counter": "0,1,2,3",
128*274c0a75SIan Rogers        "EventCode": "0x88",
12901dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.RETURN_NEAR",
13001dd2545SAndi Kleen        "SampleAfterValue": "20000",
131*274c0a75SIan Rogers        "UMask": "0x8"
13201dd2545SAndi Kleen    },
13301dd2545SAndi Kleen    {
134*274c0a75SIan Rogers        "BriefDescription": "Taken branches executed",
13501dd2545SAndi Kleen        "Counter": "0,1,2,3",
136*274c0a75SIan Rogers        "EventCode": "0x88",
13701dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN",
13801dd2545SAndi Kleen        "SampleAfterValue": "200000",
139*274c0a75SIan Rogers        "UMask": "0x40"
14001dd2545SAndi Kleen    },
14101dd2545SAndi Kleen    {
142*274c0a75SIan Rogers        "BriefDescription": "Retired branch instructions (Precise Event)",
14301dd2545SAndi Kleen        "Counter": "0,1,2,3",
144*274c0a75SIan Rogers        "EventCode": "0xC4",
14501dd2545SAndi Kleen        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
146*274c0a75SIan Rogers        "PEBS": "1",
14701dd2545SAndi Kleen        "SampleAfterValue": "200000",
148*274c0a75SIan Rogers        "UMask": "0x4"
14901dd2545SAndi Kleen    },
15001dd2545SAndi Kleen    {
151*274c0a75SIan Rogers        "BriefDescription": "Retired conditional branch instructions (Precise Event)",
15201dd2545SAndi Kleen        "Counter": "0,1,2,3",
153*274c0a75SIan Rogers        "EventCode": "0xC4",
15401dd2545SAndi Kleen        "EventName": "BR_INST_RETIRED.CONDITIONAL",
15501dd2545SAndi Kleen        "PEBS": "1",
156*274c0a75SIan Rogers        "SampleAfterValue": "200000",
157*274c0a75SIan Rogers        "UMask": "0x1"
15801dd2545SAndi Kleen    },
15901dd2545SAndi Kleen    {
160*274c0a75SIan Rogers        "BriefDescription": "Retired near call instructions (Precise Event)",
16101dd2545SAndi Kleen        "Counter": "0,1,2,3",
162*274c0a75SIan Rogers        "EventCode": "0xC4",
163*274c0a75SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
164*274c0a75SIan Rogers        "PEBS": "1",
165*274c0a75SIan Rogers        "SampleAfterValue": "20000",
166*274c0a75SIan Rogers        "UMask": "0x2"
167*274c0a75SIan Rogers    },
168*274c0a75SIan Rogers    {
169*274c0a75SIan Rogers        "BriefDescription": "Mispredicted branches executed",
170*274c0a75SIan Rogers        "Counter": "0,1,2,3",
171*274c0a75SIan Rogers        "EventCode": "0x89",
17201dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.ANY",
17301dd2545SAndi Kleen        "SampleAfterValue": "20000",
174*274c0a75SIan Rogers        "UMask": "0x7f"
17501dd2545SAndi Kleen    },
17601dd2545SAndi Kleen    {
177*274c0a75SIan Rogers        "BriefDescription": "Mispredicted conditional branches executed",
17801dd2545SAndi Kleen        "Counter": "0,1,2,3",
179*274c0a75SIan Rogers        "EventCode": "0x89",
18001dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.COND",
18101dd2545SAndi Kleen        "SampleAfterValue": "20000",
182*274c0a75SIan Rogers        "UMask": "0x1"
18301dd2545SAndi Kleen    },
18401dd2545SAndi Kleen    {
185*274c0a75SIan Rogers        "BriefDescription": "Mispredicted unconditional branches executed",
18601dd2545SAndi Kleen        "Counter": "0,1,2,3",
187*274c0a75SIan Rogers        "EventCode": "0x89",
18801dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT",
18901dd2545SAndi Kleen        "SampleAfterValue": "20000",
190*274c0a75SIan Rogers        "UMask": "0x2"
19101dd2545SAndi Kleen    },
19201dd2545SAndi Kleen    {
193*274c0a75SIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
19401dd2545SAndi Kleen        "Counter": "0,1,2,3",
195*274c0a75SIan Rogers        "EventCode": "0x89",
19601dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT_NEAR_CALL",
19701dd2545SAndi Kleen        "SampleAfterValue": "2000",
198*274c0a75SIan Rogers        "UMask": "0x10"
19901dd2545SAndi Kleen    },
20001dd2545SAndi Kleen    {
201*274c0a75SIan Rogers        "BriefDescription": "Mispredicted indirect call branches executed",
20201dd2545SAndi Kleen        "Counter": "0,1,2,3",
203*274c0a75SIan Rogers        "EventCode": "0x89",
20401dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NEAR_CALL",
20501dd2545SAndi Kleen        "SampleAfterValue": "2000",
206*274c0a75SIan Rogers        "UMask": "0x20"
20701dd2545SAndi Kleen    },
20801dd2545SAndi Kleen    {
209*274c0a75SIan Rogers        "BriefDescription": "Mispredicted indirect non call branches executed",
21001dd2545SAndi Kleen        "Counter": "0,1,2,3",
211*274c0a75SIan Rogers        "EventCode": "0x89",
21201dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NON_CALL",
21301dd2545SAndi Kleen        "SampleAfterValue": "2000",
214*274c0a75SIan Rogers        "UMask": "0x4"
21501dd2545SAndi Kleen    },
21601dd2545SAndi Kleen    {
217*274c0a75SIan Rogers        "BriefDescription": "Mispredicted call branches executed",
21801dd2545SAndi Kleen        "Counter": "0,1,2,3",
219*274c0a75SIan Rogers        "EventCode": "0x89",
22001dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.NEAR_CALLS",
22101dd2545SAndi Kleen        "SampleAfterValue": "2000",
222*274c0a75SIan Rogers        "UMask": "0x30"
22301dd2545SAndi Kleen    },
22401dd2545SAndi Kleen    {
225*274c0a75SIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
22601dd2545SAndi Kleen        "Counter": "0,1,2,3",
227*274c0a75SIan Rogers        "EventCode": "0x89",
22801dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.NON_CALLS",
22901dd2545SAndi Kleen        "SampleAfterValue": "20000",
230*274c0a75SIan Rogers        "UMask": "0x7"
23101dd2545SAndi Kleen    },
23201dd2545SAndi Kleen    {
233*274c0a75SIan Rogers        "BriefDescription": "Mispredicted return branches executed",
23401dd2545SAndi Kleen        "Counter": "0,1,2,3",
235*274c0a75SIan Rogers        "EventCode": "0x89",
23601dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.RETURN_NEAR",
23701dd2545SAndi Kleen        "SampleAfterValue": "2000",
238*274c0a75SIan Rogers        "UMask": "0x8"
23901dd2545SAndi Kleen    },
24001dd2545SAndi Kleen    {
241*274c0a75SIan Rogers        "BriefDescription": "Mispredicted taken branches executed",
24201dd2545SAndi Kleen        "Counter": "0,1,2,3",
243*274c0a75SIan Rogers        "EventCode": "0x89",
24401dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN",
24501dd2545SAndi Kleen        "SampleAfterValue": "20000",
246*274c0a75SIan Rogers        "UMask": "0x40"
24701dd2545SAndi Kleen    },
24801dd2545SAndi Kleen    {
249*274c0a75SIan Rogers        "BriefDescription": "Mispredicted retired branch instructions (Precise Event)",
25001dd2545SAndi Kleen        "Counter": "0,1,2,3",
251*274c0a75SIan Rogers        "EventCode": "0xC5",
25201dd2545SAndi Kleen        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
253*274c0a75SIan Rogers        "PEBS": "1",
25401dd2545SAndi Kleen        "SampleAfterValue": "20000",
255*274c0a75SIan Rogers        "UMask": "0x4"
25601dd2545SAndi Kleen    },
25701dd2545SAndi Kleen    {
258*274c0a75SIan Rogers        "BriefDescription": "Mispredicted conditional retired branches (Precise Event)",
25901dd2545SAndi Kleen        "Counter": "0,1,2,3",
260*274c0a75SIan Rogers        "EventCode": "0xC5",
26101dd2545SAndi Kleen        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
26201dd2545SAndi Kleen        "PEBS": "1",
263*274c0a75SIan Rogers        "SampleAfterValue": "20000",
264*274c0a75SIan Rogers        "UMask": "0x1"
26501dd2545SAndi Kleen    },
26601dd2545SAndi Kleen    {
267*274c0a75SIan Rogers        "BriefDescription": "Mispredicted near retired calls (Precise Event)",
268*274c0a75SIan Rogers        "Counter": "0,1,2,3",
269*274c0a75SIan Rogers        "EventCode": "0xC5",
270*274c0a75SIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
271*274c0a75SIan Rogers        "PEBS": "1",
272*274c0a75SIan Rogers        "SampleAfterValue": "2000",
273*274c0a75SIan Rogers        "UMask": "0x2"
274*274c0a75SIan Rogers    },
275*274c0a75SIan Rogers    {
276*274c0a75SIan Rogers        "BriefDescription": "Reference cycles when thread is not halted (fixed counter)",
27701dd2545SAndi Kleen        "Counter": "Fixed counter 3",
278*274c0a75SIan Rogers        "EventCode": "0x0",
27901dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF",
28001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
281*274c0a75SIan Rogers        "UMask": "0x0"
28201dd2545SAndi Kleen    },
28301dd2545SAndi Kleen    {
284*274c0a75SIan Rogers        "BriefDescription": "Reference base clock (133 Mhz) cycles when thread is not halted (programmable counter)",
28501dd2545SAndi Kleen        "Counter": "0,1,2,3",
286*274c0a75SIan Rogers        "EventCode": "0x3C",
28701dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_P",
28801dd2545SAndi Kleen        "SampleAfterValue": "100000",
289*274c0a75SIan Rogers        "UMask": "0x1"
29001dd2545SAndi Kleen    },
29101dd2545SAndi Kleen    {
292*274c0a75SIan Rogers        "BriefDescription": "Cycles when thread is not halted (fixed counter)",
29301dd2545SAndi Kleen        "Counter": "Fixed counter 2",
294*274c0a75SIan Rogers        "EventCode": "0x0",
29501dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD",
29601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
297*274c0a75SIan Rogers        "UMask": "0x0"
29801dd2545SAndi Kleen    },
29901dd2545SAndi Kleen    {
300*274c0a75SIan Rogers        "BriefDescription": "Cycles when thread is not halted (programmable counter)",
30101dd2545SAndi Kleen        "Counter": "0,1,2,3",
302*274c0a75SIan Rogers        "EventCode": "0x3C",
30301dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
30401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
305*274c0a75SIan Rogers        "UMask": "0x0"
30601dd2545SAndi Kleen    },
30701dd2545SAndi Kleen    {
30801dd2545SAndi Kleen        "BriefDescription": "Total CPU cycles",
309*274c0a75SIan Rogers        "Counter": "0,1,2,3",
310*274c0a75SIan Rogers        "CounterMask": "2",
311*274c0a75SIan Rogers        "EventCode": "0x3C",
312*274c0a75SIan Rogers        "EventName": "CPU_CLK_UNHALTED.TOTAL_CYCLES",
313*274c0a75SIan Rogers        "Invert": "1",
314*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
315*274c0a75SIan Rogers        "UMask": "0x0"
31601dd2545SAndi Kleen    },
31701dd2545SAndi Kleen    {
318*274c0a75SIan Rogers        "BriefDescription": "Any Instruction Length Decoder stall cycles",
31901dd2545SAndi Kleen        "Counter": "0,1,2,3",
320*274c0a75SIan Rogers        "EventCode": "0x87",
32101dd2545SAndi Kleen        "EventName": "ILD_STALL.ANY",
32201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
323*274c0a75SIan Rogers        "UMask": "0xf"
32401dd2545SAndi Kleen    },
32501dd2545SAndi Kleen    {
326*274c0a75SIan Rogers        "BriefDescription": "Instruction Queue full stall cycles",
32701dd2545SAndi Kleen        "Counter": "0,1,2,3",
328*274c0a75SIan Rogers        "EventCode": "0x87",
32901dd2545SAndi Kleen        "EventName": "ILD_STALL.IQ_FULL",
33001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
331*274c0a75SIan Rogers        "UMask": "0x4"
33201dd2545SAndi Kleen    },
33301dd2545SAndi Kleen    {
334*274c0a75SIan Rogers        "BriefDescription": "Length Change Prefix stall cycles",
33501dd2545SAndi Kleen        "Counter": "0,1,2,3",
336*274c0a75SIan Rogers        "EventCode": "0x87",
33701dd2545SAndi Kleen        "EventName": "ILD_STALL.LCP",
33801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
339*274c0a75SIan Rogers        "UMask": "0x1"
34001dd2545SAndi Kleen    },
34101dd2545SAndi Kleen    {
342*274c0a75SIan Rogers        "BriefDescription": "Stall cycles due to BPU MRU bypass",
34301dd2545SAndi Kleen        "Counter": "0,1,2,3",
344*274c0a75SIan Rogers        "EventCode": "0x87",
34501dd2545SAndi Kleen        "EventName": "ILD_STALL.MRU",
34601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
347*274c0a75SIan Rogers        "UMask": "0x2"
34801dd2545SAndi Kleen    },
34901dd2545SAndi Kleen    {
350*274c0a75SIan Rogers        "BriefDescription": "Regen stall cycles",
35101dd2545SAndi Kleen        "Counter": "0,1,2,3",
352*274c0a75SIan Rogers        "EventCode": "0x87",
35301dd2545SAndi Kleen        "EventName": "ILD_STALL.REGEN",
35401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
355*274c0a75SIan Rogers        "UMask": "0x8"
35601dd2545SAndi Kleen    },
35701dd2545SAndi Kleen    {
358*274c0a75SIan Rogers        "BriefDescription": "Instructions that must be decoded by decoder 0",
35901dd2545SAndi Kleen        "Counter": "0,1,2,3",
360*274c0a75SIan Rogers        "EventCode": "0x18",
36101dd2545SAndi Kleen        "EventName": "INST_DECODED.DEC0",
36201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
363*274c0a75SIan Rogers        "UMask": "0x1"
36401dd2545SAndi Kleen    },
36501dd2545SAndi Kleen    {
366*274c0a75SIan Rogers        "BriefDescription": "Instructions written to instruction queue.",
36701dd2545SAndi Kleen        "Counter": "0,1,2,3",
36801dd2545SAndi Kleen        "EventCode": "0x17",
36901dd2545SAndi Kleen        "EventName": "INST_QUEUE_WRITES",
37001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
371*274c0a75SIan Rogers        "UMask": "0x1"
37201dd2545SAndi Kleen    },
37301dd2545SAndi Kleen    {
374*274c0a75SIan Rogers        "BriefDescription": "Cycles instructions are written to the instruction queue",
375*274c0a75SIan Rogers        "Counter": "0,1,2,3",
376*274c0a75SIan Rogers        "EventCode": "0x1E",
377*274c0a75SIan Rogers        "EventName": "INST_QUEUE_WRITE_CYCLES",
378*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
379*274c0a75SIan Rogers        "UMask": "0x1"
380*274c0a75SIan Rogers    },
381*274c0a75SIan Rogers    {
382*274c0a75SIan Rogers        "BriefDescription": "Instructions retired (fixed counter)",
38301dd2545SAndi Kleen        "Counter": "Fixed counter 1",
384*274c0a75SIan Rogers        "EventCode": "0x0",
38501dd2545SAndi Kleen        "EventName": "INST_RETIRED.ANY",
38601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
387*274c0a75SIan Rogers        "UMask": "0x0"
38801dd2545SAndi Kleen    },
38901dd2545SAndi Kleen    {
390*274c0a75SIan Rogers        "BriefDescription": "Instructions retired (Programmable counter and Precise Event)",
39101dd2545SAndi Kleen        "Counter": "0,1,2,3",
392*274c0a75SIan Rogers        "EventCode": "0xC0",
39301dd2545SAndi Kleen        "EventName": "INST_RETIRED.ANY_P",
394*274c0a75SIan Rogers        "PEBS": "1",
39501dd2545SAndi Kleen        "SampleAfterValue": "2000000",
396*274c0a75SIan Rogers        "UMask": "0x1"
39701dd2545SAndi Kleen    },
39801dd2545SAndi Kleen    {
399*274c0a75SIan Rogers        "BriefDescription": "Retired MMX instructions (Precise Event)",
40001dd2545SAndi Kleen        "Counter": "0,1,2,3",
401*274c0a75SIan Rogers        "EventCode": "0xC0",
40201dd2545SAndi Kleen        "EventName": "INST_RETIRED.MMX",
403*274c0a75SIan Rogers        "PEBS": "1",
40401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
405*274c0a75SIan Rogers        "UMask": "0x4"
40601dd2545SAndi Kleen    },
40701dd2545SAndi Kleen    {
40801dd2545SAndi Kleen        "BriefDescription": "Total cycles (Precise Event)",
40901dd2545SAndi Kleen        "Counter": "0,1,2,3",
410*274c0a75SIan Rogers        "CounterMask": "16",
411*274c0a75SIan Rogers        "EventCode": "0xC0",
412*274c0a75SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES",
413*274c0a75SIan Rogers        "Invert": "1",
414*274c0a75SIan Rogers        "PEBS": "1",
41501dd2545SAndi Kleen        "SampleAfterValue": "2000000",
416*274c0a75SIan Rogers        "UMask": "0x1"
41701dd2545SAndi Kleen    },
41801dd2545SAndi Kleen    {
419*274c0a75SIan Rogers        "BriefDescription": "Total cycles (Precise Event)",
420*274c0a75SIan Rogers        "Counter": "0,1,2,3",
421*274c0a75SIan Rogers        "CounterMask": "16",
422*274c0a75SIan Rogers        "EventCode": "0xC0",
423*274c0a75SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
424*274c0a75SIan Rogers        "Invert": "1",
425*274c0a75SIan Rogers        "PEBS": "2",
426*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
427*274c0a75SIan Rogers        "UMask": "0x1"
428*274c0a75SIan Rogers    },
429*274c0a75SIan Rogers    {
430*274c0a75SIan Rogers        "BriefDescription": "Retired floating-point operations (Precise Event)",
431*274c0a75SIan Rogers        "Counter": "0,1,2,3",
432*274c0a75SIan Rogers        "EventCode": "0xC0",
433*274c0a75SIan Rogers        "EventName": "INST_RETIRED.X87",
434*274c0a75SIan Rogers        "PEBS": "1",
435*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
436*274c0a75SIan Rogers        "UMask": "0x2"
437*274c0a75SIan Rogers    },
438*274c0a75SIan Rogers    {
439*274c0a75SIan Rogers        "BriefDescription": "Load operations conflicting with software prefetches",
44001dd2545SAndi Kleen        "Counter": "0,1",
441*274c0a75SIan Rogers        "EventCode": "0x4C",
44201dd2545SAndi Kleen        "EventName": "LOAD_HIT_PRE",
44301dd2545SAndi Kleen        "SampleAfterValue": "200000",
444*274c0a75SIan Rogers        "UMask": "0x1"
44501dd2545SAndi Kleen    },
44601dd2545SAndi Kleen    {
447*274c0a75SIan Rogers        "BriefDescription": "Cycles when uops were delivered by the LSD",
44801dd2545SAndi Kleen        "Counter": "0,1,2,3",
449*274c0a75SIan Rogers        "CounterMask": "1",
450*274c0a75SIan Rogers        "EventCode": "0xA8",
45101dd2545SAndi Kleen        "EventName": "LSD.ACTIVE",
45201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
453*274c0a75SIan Rogers        "UMask": "0x1"
45401dd2545SAndi Kleen    },
45501dd2545SAndi Kleen    {
45601dd2545SAndi Kleen        "BriefDescription": "Cycles no uops were delivered by the LSD",
457*274c0a75SIan Rogers        "Counter": "0,1,2,3",
458*274c0a75SIan Rogers        "CounterMask": "1",
459*274c0a75SIan Rogers        "EventCode": "0xA8",
460*274c0a75SIan Rogers        "EventName": "LSD.INACTIVE",
461*274c0a75SIan Rogers        "Invert": "1",
462*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
463*274c0a75SIan Rogers        "UMask": "0x1"
46401dd2545SAndi Kleen    },
46501dd2545SAndi Kleen    {
466*274c0a75SIan Rogers        "BriefDescription": "Loops that can't stream from the instruction queue",
46701dd2545SAndi Kleen        "Counter": "0,1,2,3",
468*274c0a75SIan Rogers        "EventCode": "0x20",
46901dd2545SAndi Kleen        "EventName": "LSD_OVERFLOW",
47001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
471*274c0a75SIan Rogers        "UMask": "0x1"
47201dd2545SAndi Kleen    },
47301dd2545SAndi Kleen    {
474*274c0a75SIan Rogers        "BriefDescription": "Cycles machine clear asserted",
47501dd2545SAndi Kleen        "Counter": "0,1,2,3",
476*274c0a75SIan Rogers        "EventCode": "0xC3",
47701dd2545SAndi Kleen        "EventName": "MACHINE_CLEARS.CYCLES",
47801dd2545SAndi Kleen        "SampleAfterValue": "20000",
479*274c0a75SIan Rogers        "UMask": "0x1"
48001dd2545SAndi Kleen    },
48101dd2545SAndi Kleen    {
482*274c0a75SIan Rogers        "BriefDescription": "Execution pipeline restart due to Memory ordering conflicts",
48301dd2545SAndi Kleen        "Counter": "0,1,2,3",
484*274c0a75SIan Rogers        "EventCode": "0xC3",
48501dd2545SAndi Kleen        "EventName": "MACHINE_CLEARS.MEM_ORDER",
48601dd2545SAndi Kleen        "SampleAfterValue": "20000",
487*274c0a75SIan Rogers        "UMask": "0x2"
48801dd2545SAndi Kleen    },
48901dd2545SAndi Kleen    {
490*274c0a75SIan Rogers        "BriefDescription": "Self-Modifying Code detected",
49101dd2545SAndi Kleen        "Counter": "0,1,2,3",
492*274c0a75SIan Rogers        "EventCode": "0xC3",
49301dd2545SAndi Kleen        "EventName": "MACHINE_CLEARS.SMC",
49401dd2545SAndi Kleen        "SampleAfterValue": "20000",
495*274c0a75SIan Rogers        "UMask": "0x4"
49601dd2545SAndi Kleen    },
49701dd2545SAndi Kleen    {
498*274c0a75SIan Rogers        "BriefDescription": "Resource related stall cycles",
49901dd2545SAndi Kleen        "Counter": "0,1,2,3",
500*274c0a75SIan Rogers        "EventCode": "0xA2",
50101dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.ANY",
50201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
503*274c0a75SIan Rogers        "UMask": "0x1"
50401dd2545SAndi Kleen    },
50501dd2545SAndi Kleen    {
506*274c0a75SIan Rogers        "BriefDescription": "FPU control word write stall cycles",
50701dd2545SAndi Kleen        "Counter": "0,1,2,3",
508*274c0a75SIan Rogers        "EventCode": "0xA2",
50901dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.FPCW",
51001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
511*274c0a75SIan Rogers        "UMask": "0x20"
51201dd2545SAndi Kleen    },
51301dd2545SAndi Kleen    {
514*274c0a75SIan Rogers        "BriefDescription": "Load buffer stall cycles",
51501dd2545SAndi Kleen        "Counter": "0,1,2,3",
516*274c0a75SIan Rogers        "EventCode": "0xA2",
51701dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.LOAD",
51801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
519*274c0a75SIan Rogers        "UMask": "0x2"
52001dd2545SAndi Kleen    },
52101dd2545SAndi Kleen    {
522*274c0a75SIan Rogers        "BriefDescription": "MXCSR rename stall cycles",
52301dd2545SAndi Kleen        "Counter": "0,1,2,3",
524*274c0a75SIan Rogers        "EventCode": "0xA2",
52501dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.MXCSR",
52601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
527*274c0a75SIan Rogers        "UMask": "0x40"
52801dd2545SAndi Kleen    },
52901dd2545SAndi Kleen    {
530*274c0a75SIan Rogers        "BriefDescription": "Other Resource related stall cycles",
53101dd2545SAndi Kleen        "Counter": "0,1,2,3",
532*274c0a75SIan Rogers        "EventCode": "0xA2",
53301dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.OTHER",
53401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
535*274c0a75SIan Rogers        "UMask": "0x80"
53601dd2545SAndi Kleen    },
53701dd2545SAndi Kleen    {
538*274c0a75SIan Rogers        "BriefDescription": "ROB full stall cycles",
53901dd2545SAndi Kleen        "Counter": "0,1,2,3",
540*274c0a75SIan Rogers        "EventCode": "0xA2",
54101dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.ROB_FULL",
54201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
543*274c0a75SIan Rogers        "UMask": "0x10"
54401dd2545SAndi Kleen    },
54501dd2545SAndi Kleen    {
546*274c0a75SIan Rogers        "BriefDescription": "Reservation Station full stall cycles",
54701dd2545SAndi Kleen        "Counter": "0,1,2,3",
548*274c0a75SIan Rogers        "EventCode": "0xA2",
54901dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.RS_FULL",
55001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
551*274c0a75SIan Rogers        "UMask": "0x4"
55201dd2545SAndi Kleen    },
55301dd2545SAndi Kleen    {
554*274c0a75SIan Rogers        "BriefDescription": "Store buffer stall cycles",
55501dd2545SAndi Kleen        "Counter": "0,1,2,3",
556*274c0a75SIan Rogers        "EventCode": "0xA2",
55701dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.STORE",
55801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
559*274c0a75SIan Rogers        "UMask": "0x8"
56001dd2545SAndi Kleen    },
56101dd2545SAndi Kleen    {
562*274c0a75SIan Rogers        "BriefDescription": "SIMD Packed-Double Uops retired (Precise Event)",
56301dd2545SAndi Kleen        "Counter": "0,1,2,3",
564*274c0a75SIan Rogers        "EventCode": "0xC7",
56501dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_DOUBLE",
566*274c0a75SIan Rogers        "PEBS": "1",
56701dd2545SAndi Kleen        "SampleAfterValue": "200000",
568*274c0a75SIan Rogers        "UMask": "0x4"
56901dd2545SAndi Kleen    },
57001dd2545SAndi Kleen    {
571*274c0a75SIan Rogers        "BriefDescription": "SIMD Packed-Single Uops retired (Precise Event)",
57201dd2545SAndi Kleen        "Counter": "0,1,2,3",
573*274c0a75SIan Rogers        "EventCode": "0xC7",
57401dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_SINGLE",
575*274c0a75SIan Rogers        "PEBS": "1",
57601dd2545SAndi Kleen        "SampleAfterValue": "200000",
577*274c0a75SIan Rogers        "UMask": "0x1"
57801dd2545SAndi Kleen    },
57901dd2545SAndi Kleen    {
580*274c0a75SIan Rogers        "BriefDescription": "SIMD Scalar-Double Uops retired (Precise Event)",
58101dd2545SAndi Kleen        "Counter": "0,1,2,3",
582*274c0a75SIan Rogers        "EventCode": "0xC7",
58301dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_DOUBLE",
584*274c0a75SIan Rogers        "PEBS": "1",
58501dd2545SAndi Kleen        "SampleAfterValue": "200000",
586*274c0a75SIan Rogers        "UMask": "0x8"
58701dd2545SAndi Kleen    },
58801dd2545SAndi Kleen    {
589*274c0a75SIan Rogers        "BriefDescription": "SIMD Scalar-Single Uops retired (Precise Event)",
59001dd2545SAndi Kleen        "Counter": "0,1,2,3",
591*274c0a75SIan Rogers        "EventCode": "0xC7",
59201dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_SINGLE",
59301dd2545SAndi Kleen        "PEBS": "1",
59401dd2545SAndi Kleen        "SampleAfterValue": "200000",
595*274c0a75SIan Rogers        "UMask": "0x2"
59601dd2545SAndi Kleen    },
59701dd2545SAndi Kleen    {
598*274c0a75SIan Rogers        "BriefDescription": "SIMD Vector Integer Uops retired (Precise Event)",
59901dd2545SAndi Kleen        "Counter": "0,1,2,3",
600*274c0a75SIan Rogers        "EventCode": "0xC7",
601*274c0a75SIan Rogers        "EventName": "SSEX_UOPS_RETIRED.VECTOR_INTEGER",
602*274c0a75SIan Rogers        "PEBS": "1",
603*274c0a75SIan Rogers        "SampleAfterValue": "200000",
604*274c0a75SIan Rogers        "UMask": "0x10"
60501dd2545SAndi Kleen    },
60601dd2545SAndi Kleen    {
607*274c0a75SIan Rogers        "BriefDescription": "Stack pointer instructions decoded",
608*274c0a75SIan Rogers        "Counter": "0,1,2,3",
60901dd2545SAndi Kleen        "EventCode": "0xD1",
61001dd2545SAndi Kleen        "EventName": "UOPS_DECODED.ESP_FOLDING",
61101dd2545SAndi Kleen        "SampleAfterValue": "2000000",
612*274c0a75SIan Rogers        "UMask": "0x4"
61301dd2545SAndi Kleen    },
61401dd2545SAndi Kleen    {
615*274c0a75SIan Rogers        "BriefDescription": "Stack pointer sync operations",
61601dd2545SAndi Kleen        "Counter": "0,1,2,3",
617*274c0a75SIan Rogers        "EventCode": "0xD1",
61801dd2545SAndi Kleen        "EventName": "UOPS_DECODED.ESP_SYNC",
61901dd2545SAndi Kleen        "SampleAfterValue": "2000000",
620*274c0a75SIan Rogers        "UMask": "0x8"
62101dd2545SAndi Kleen    },
62201dd2545SAndi Kleen    {
623*274c0a75SIan Rogers        "BriefDescription": "Uops decoded by Microcode Sequencer",
62401dd2545SAndi Kleen        "Counter": "0,1,2,3",
625*274c0a75SIan Rogers        "CounterMask": "1",
626*274c0a75SIan Rogers        "EventCode": "0xD1",
62701dd2545SAndi Kleen        "EventName": "UOPS_DECODED.MS_CYCLES_ACTIVE",
62801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
629*274c0a75SIan Rogers        "UMask": "0x2"
63001dd2545SAndi Kleen    },
63101dd2545SAndi Kleen    {
63201dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops are decoded",
633*274c0a75SIan Rogers        "Counter": "0,1,2,3",
634*274c0a75SIan Rogers        "CounterMask": "1",
635*274c0a75SIan Rogers        "EventCode": "0xD1",
636*274c0a75SIan Rogers        "EventName": "UOPS_DECODED.STALL_CYCLES",
637*274c0a75SIan Rogers        "Invert": "1",
638*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
639*274c0a75SIan Rogers        "UMask": "0x1"
64001dd2545SAndi Kleen    },
64101dd2545SAndi Kleen    {
64201dd2545SAndi Kleen        "AnyThread": "1",
643*274c0a75SIan Rogers        "BriefDescription": "Cycles Uops executed on any port (core count)",
644*274c0a75SIan Rogers        "Counter": "0,1,2,3",
645*274c0a75SIan Rogers        "CounterMask": "1",
646*274c0a75SIan Rogers        "EventCode": "0xB1",
64701dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES",
64801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
649*274c0a75SIan Rogers        "UMask": "0x3f"
65001dd2545SAndi Kleen    },
65101dd2545SAndi Kleen    {
65201dd2545SAndi Kleen        "AnyThread": "1",
653*274c0a75SIan Rogers        "BriefDescription": "Cycles Uops executed on ports 0-4 (core count)",
654*274c0a75SIan Rogers        "Counter": "0,1,2,3",
655*274c0a75SIan Rogers        "CounterMask": "1",
656*274c0a75SIan Rogers        "EventCode": "0xB1",
65701dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5",
65801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
659*274c0a75SIan Rogers        "UMask": "0x1f"
66001dd2545SAndi Kleen    },
66101dd2545SAndi Kleen    {
66201dd2545SAndi Kleen        "AnyThread": "1",
66301dd2545SAndi Kleen        "BriefDescription": "Uops executed on any port (core count)",
664*274c0a75SIan Rogers        "Counter": "0,1,2,3",
66501dd2545SAndi Kleen        "CounterMask": "1",
666*274c0a75SIan Rogers        "EdgeDetect": "1",
667*274c0a75SIan Rogers        "EventCode": "0xB1",
668*274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT",
669*274c0a75SIan Rogers        "Invert": "1",
670*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
671*274c0a75SIan Rogers        "UMask": "0x3f"
67201dd2545SAndi Kleen    },
67301dd2545SAndi Kleen    {
67401dd2545SAndi Kleen        "AnyThread": "1",
67501dd2545SAndi Kleen        "BriefDescription": "Uops executed on ports 0-4 (core count)",
676*274c0a75SIan Rogers        "Counter": "0,1,2,3",
67701dd2545SAndi Kleen        "CounterMask": "1",
678*274c0a75SIan Rogers        "EdgeDetect": "1",
679*274c0a75SIan Rogers        "EventCode": "0xB1",
680*274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT_NO_PORT5",
681*274c0a75SIan Rogers        "Invert": "1",
682*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
683*274c0a75SIan Rogers        "UMask": "0x1f"
68401dd2545SAndi Kleen    },
68501dd2545SAndi Kleen    {
68601dd2545SAndi Kleen        "AnyThread": "1",
68701dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops issued on any port (core count)",
688*274c0a75SIan Rogers        "Counter": "0,1,2,3",
689*274c0a75SIan Rogers        "CounterMask": "1",
69001dd2545SAndi Kleen        "EventCode": "0xB1",
691*274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES",
69201dd2545SAndi Kleen        "Invert": "1",
69301dd2545SAndi Kleen        "SampleAfterValue": "2000000",
694*274c0a75SIan Rogers        "UMask": "0x3f"
69501dd2545SAndi Kleen    },
69601dd2545SAndi Kleen    {
697*274c0a75SIan Rogers        "AnyThread": "1",
698*274c0a75SIan Rogers        "BriefDescription": "Cycles no Uops issued on ports 0-4 (core count)",
69901dd2545SAndi Kleen        "Counter": "0,1,2,3",
700*274c0a75SIan Rogers        "CounterMask": "1",
701*274c0a75SIan Rogers        "EventCode": "0xB1",
702*274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES_NO_PORT5",
703*274c0a75SIan Rogers        "Invert": "1",
704*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
705*274c0a75SIan Rogers        "UMask": "0x1f"
706*274c0a75SIan Rogers    },
707*274c0a75SIan Rogers    {
708*274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 0",
709*274c0a75SIan Rogers        "Counter": "0,1,2,3",
710*274c0a75SIan Rogers        "EventCode": "0xB1",
71101dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT0",
71201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
713*274c0a75SIan Rogers        "UMask": "0x1"
71401dd2545SAndi Kleen    },
71501dd2545SAndi Kleen    {
716*274c0a75SIan Rogers        "BriefDescription": "Uops issued on ports 0, 1 or 5",
71701dd2545SAndi Kleen        "Counter": "0,1,2,3",
718*274c0a75SIan Rogers        "EventCode": "0xB1",
71901dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT015",
72001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
721*274c0a75SIan Rogers        "UMask": "0x40"
72201dd2545SAndi Kleen    },
72301dd2545SAndi Kleen    {
72401dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops issued on ports 0, 1 or 5",
725*274c0a75SIan Rogers        "Counter": "0,1,2,3",
726*274c0a75SIan Rogers        "CounterMask": "1",
727*274c0a75SIan Rogers        "EventCode": "0xB1",
728*274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.PORT015_STALL_CYCLES",
729*274c0a75SIan Rogers        "Invert": "1",
730*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
731*274c0a75SIan Rogers        "UMask": "0x40"
73201dd2545SAndi Kleen    },
73301dd2545SAndi Kleen    {
734*274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 1",
73501dd2545SAndi Kleen        "Counter": "0,1,2,3",
736*274c0a75SIan Rogers        "EventCode": "0xB1",
73701dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT1",
73801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
739*274c0a75SIan Rogers        "UMask": "0x2"
74001dd2545SAndi Kleen    },
74101dd2545SAndi Kleen    {
74201dd2545SAndi Kleen        "AnyThread": "1",
743*274c0a75SIan Rogers        "BriefDescription": "Uops issued on ports 2, 3 or 4",
74401dd2545SAndi Kleen        "Counter": "0,1,2,3",
745*274c0a75SIan Rogers        "EventCode": "0xB1",
74601dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT234_CORE",
74701dd2545SAndi Kleen        "SampleAfterValue": "2000000",
748*274c0a75SIan Rogers        "UMask": "0x80"
74901dd2545SAndi Kleen    },
75001dd2545SAndi Kleen    {
75101dd2545SAndi Kleen        "AnyThread": "1",
752*274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 2 (core count)",
753*274c0a75SIan Rogers        "Counter": "0,1,2,3",
754*274c0a75SIan Rogers        "EventCode": "0xB1",
755*274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.PORT2_CORE",
756*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
757*274c0a75SIan Rogers        "UMask": "0x4"
758*274c0a75SIan Rogers    },
759*274c0a75SIan Rogers    {
760*274c0a75SIan Rogers        "AnyThread": "1",
761*274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 3 (core count)",
762*274c0a75SIan Rogers        "Counter": "0,1,2,3",
763*274c0a75SIan Rogers        "EventCode": "0xB1",
76401dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT3_CORE",
76501dd2545SAndi Kleen        "SampleAfterValue": "2000000",
766*274c0a75SIan Rogers        "UMask": "0x8"
76701dd2545SAndi Kleen    },
76801dd2545SAndi Kleen    {
76901dd2545SAndi Kleen        "AnyThread": "1",
770*274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 4 (core count)",
771*274c0a75SIan Rogers        "Counter": "0,1,2,3",
772*274c0a75SIan Rogers        "EventCode": "0xB1",
77301dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT4_CORE",
77401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
775*274c0a75SIan Rogers        "UMask": "0x10"
77601dd2545SAndi Kleen    },
77701dd2545SAndi Kleen    {
778*274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 5",
77901dd2545SAndi Kleen        "Counter": "0,1,2,3",
780*274c0a75SIan Rogers        "EventCode": "0xB1",
78101dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT5",
78201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
783*274c0a75SIan Rogers        "UMask": "0x20"
78401dd2545SAndi Kleen    },
78501dd2545SAndi Kleen    {
786*274c0a75SIan Rogers        "BriefDescription": "Uops issued",
78701dd2545SAndi Kleen        "Counter": "0,1,2,3",
788*274c0a75SIan Rogers        "EventCode": "0xE",
78901dd2545SAndi Kleen        "EventName": "UOPS_ISSUED.ANY",
79001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
791*274c0a75SIan Rogers        "UMask": "0x1"
79201dd2545SAndi Kleen    },
79301dd2545SAndi Kleen    {
79401dd2545SAndi Kleen        "AnyThread": "1",
79501dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops were issued on any thread",
796*274c0a75SIan Rogers        "Counter": "0,1,2,3",
797*274c0a75SIan Rogers        "CounterMask": "1",
798*274c0a75SIan Rogers        "EventCode": "0xE",
799*274c0a75SIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
800*274c0a75SIan Rogers        "Invert": "1",
801*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
802*274c0a75SIan Rogers        "UMask": "0x1"
80301dd2545SAndi Kleen    },
80401dd2545SAndi Kleen    {
80501dd2545SAndi Kleen        "AnyThread": "1",
806*274c0a75SIan Rogers        "BriefDescription": "Cycles Uops were issued on either thread",
807*274c0a75SIan Rogers        "Counter": "0,1,2,3",
808*274c0a75SIan Rogers        "CounterMask": "1",
809*274c0a75SIan Rogers        "EventCode": "0xE",
81001dd2545SAndi Kleen        "EventName": "UOPS_ISSUED.CYCLES_ALL_THREADS",
81101dd2545SAndi Kleen        "SampleAfterValue": "2000000",
812*274c0a75SIan Rogers        "UMask": "0x1"
81301dd2545SAndi Kleen    },
81401dd2545SAndi Kleen    {
815*274c0a75SIan Rogers        "BriefDescription": "Fused Uops issued",
81601dd2545SAndi Kleen        "Counter": "0,1,2,3",
817*274c0a75SIan Rogers        "EventCode": "0xE",
81801dd2545SAndi Kleen        "EventName": "UOPS_ISSUED.FUSED",
81901dd2545SAndi Kleen        "SampleAfterValue": "2000000",
820*274c0a75SIan Rogers        "UMask": "0x2"
82101dd2545SAndi Kleen    },
82201dd2545SAndi Kleen    {
82301dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops were issued",
824*274c0a75SIan Rogers        "Counter": "0,1,2,3",
825*274c0a75SIan Rogers        "CounterMask": "1",
826*274c0a75SIan Rogers        "EventCode": "0xE",
827*274c0a75SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
828*274c0a75SIan Rogers        "Invert": "1",
829*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
830*274c0a75SIan Rogers        "UMask": "0x1"
83101dd2545SAndi Kleen    },
83201dd2545SAndi Kleen    {
83301dd2545SAndi Kleen        "BriefDescription": "Cycles Uops are being retired",
834*274c0a75SIan Rogers        "Counter": "0,1,2,3",
835*274c0a75SIan Rogers        "CounterMask": "1",
836*274c0a75SIan Rogers        "EventCode": "0xC2",
837*274c0a75SIan Rogers        "EventName": "UOPS_RETIRED.ACTIVE_CYCLES",
838*274c0a75SIan Rogers        "PEBS": "1",
839*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
840*274c0a75SIan Rogers        "UMask": "0x1"
84101dd2545SAndi Kleen    },
84201dd2545SAndi Kleen    {
843*274c0a75SIan Rogers        "BriefDescription": "Uops retired (Precise Event)",
84401dd2545SAndi Kleen        "Counter": "0,1,2,3",
845*274c0a75SIan Rogers        "EventCode": "0xC2",
84601dd2545SAndi Kleen        "EventName": "UOPS_RETIRED.ANY",
847*274c0a75SIan Rogers        "PEBS": "1",
84801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
849*274c0a75SIan Rogers        "UMask": "0x1"
85001dd2545SAndi Kleen    },
85101dd2545SAndi Kleen    {
852*274c0a75SIan Rogers        "BriefDescription": "Macro-fused Uops retired (Precise Event)",
85301dd2545SAndi Kleen        "Counter": "0,1,2,3",
854*274c0a75SIan Rogers        "EventCode": "0xC2",
85501dd2545SAndi Kleen        "EventName": "UOPS_RETIRED.MACRO_FUSED",
856*274c0a75SIan Rogers        "PEBS": "1",
85701dd2545SAndi Kleen        "SampleAfterValue": "2000000",
858*274c0a75SIan Rogers        "UMask": "0x4"
85901dd2545SAndi Kleen    },
86001dd2545SAndi Kleen    {
861*274c0a75SIan Rogers        "BriefDescription": "Retirement slots used (Precise Event)",
86201dd2545SAndi Kleen        "Counter": "0,1,2,3",
863*274c0a75SIan Rogers        "EventCode": "0xC2",
86401dd2545SAndi Kleen        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
865*274c0a75SIan Rogers        "PEBS": "1",
86601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
867*274c0a75SIan Rogers        "UMask": "0x2"
86801dd2545SAndi Kleen    },
86901dd2545SAndi Kleen    {
87001dd2545SAndi Kleen        "BriefDescription": "Cycles Uops are not retiring (Precise Event)",
871*274c0a75SIan Rogers        "Counter": "0,1,2,3",
872*274c0a75SIan Rogers        "CounterMask": "1",
87301dd2545SAndi Kleen        "EventCode": "0xC2",
874*274c0a75SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
87501dd2545SAndi Kleen        "Invert": "1",
876*274c0a75SIan Rogers        "PEBS": "1",
87701dd2545SAndi Kleen        "SampleAfterValue": "2000000",
878*274c0a75SIan Rogers        "UMask": "0x1"
87901dd2545SAndi Kleen    },
88001dd2545SAndi Kleen    {
881*274c0a75SIan Rogers        "BriefDescription": "Total cycles using precise uop retired event (Precise Event)",
88201dd2545SAndi Kleen        "Counter": "0,1,2,3",
883*274c0a75SIan Rogers        "CounterMask": "16",
884*274c0a75SIan Rogers        "EventCode": "0xC2",
885*274c0a75SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
886*274c0a75SIan Rogers        "Invert": "1",
887*274c0a75SIan Rogers        "PEBS": "1",
88801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
889*274c0a75SIan Rogers        "UMask": "0x1"
890*274c0a75SIan Rogers    },
891*274c0a75SIan Rogers    {
892*274c0a75SIan Rogers        "BriefDescription": "Uop unfusions due to FP exceptions",
893*274c0a75SIan Rogers        "Counter": "0,1,2,3",
894*274c0a75SIan Rogers        "EventCode": "0xDB",
895*274c0a75SIan Rogers        "EventName": "UOP_UNFUSION",
896*274c0a75SIan Rogers        "SampleAfterValue": "2000000",
897*274c0a75SIan Rogers        "UMask": "0x1"
89801dd2545SAndi Kleen    }
89901dd2545SAndi Kleen]