101dd2545SAndi Kleen[
201dd2545SAndi Kleen    {
3274c0a75SIan Rogers        "BriefDescription": "Cycles the divider is busy",
401dd2545SAndi Kleen        "Counter": "0,1,2,3",
5274c0a75SIan Rogers        "EventCode": "0x14",
601dd2545SAndi Kleen        "EventName": "ARITH.CYCLES_DIV_BUSY",
701dd2545SAndi Kleen        "SampleAfterValue": "2000000",
8274c0a75SIan Rogers        "UMask": "0x1"
901dd2545SAndi Kleen    },
1001dd2545SAndi Kleen    {
1101dd2545SAndi Kleen        "BriefDescription": "Divide Operations executed",
12274c0a75SIan Rogers        "Counter": "0,1,2,3",
1301dd2545SAndi Kleen        "CounterMask": "1",
14274c0a75SIan Rogers        "EdgeDetect": "1",
15274c0a75SIan Rogers        "EventCode": "0x14",
16274c0a75SIan Rogers        "EventName": "ARITH.DIV",
17274c0a75SIan Rogers        "Invert": "1",
18274c0a75SIan Rogers        "SampleAfterValue": "2000000",
19274c0a75SIan Rogers        "UMask": "0x1"
2001dd2545SAndi Kleen    },
2101dd2545SAndi Kleen    {
22274c0a75SIan Rogers        "BriefDescription": "Multiply operations executed",
2301dd2545SAndi Kleen        "Counter": "0,1,2,3",
24274c0a75SIan Rogers        "EventCode": "0x14",
2501dd2545SAndi Kleen        "EventName": "ARITH.MUL",
2601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
27274c0a75SIan Rogers        "UMask": "0x2"
2801dd2545SAndi Kleen    },
2901dd2545SAndi Kleen    {
30274c0a75SIan Rogers        "BriefDescription": "BACLEAR asserted with bad target address",
3101dd2545SAndi Kleen        "Counter": "0,1,2,3",
32274c0a75SIan Rogers        "EventCode": "0xE6",
3301dd2545SAndi Kleen        "EventName": "BACLEAR.BAD_TARGET",
3401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
35274c0a75SIan Rogers        "UMask": "0x2"
3601dd2545SAndi Kleen    },
3701dd2545SAndi Kleen    {
38274c0a75SIan Rogers        "BriefDescription": "BACLEAR asserted, regardless of cause",
3901dd2545SAndi Kleen        "Counter": "0,1,2,3",
40274c0a75SIan Rogers        "EventCode": "0xE6",
4101dd2545SAndi Kleen        "EventName": "BACLEAR.CLEAR",
4201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
43274c0a75SIan Rogers        "UMask": "0x1"
4401dd2545SAndi Kleen    },
4501dd2545SAndi Kleen    {
46274c0a75SIan Rogers        "BriefDescription": "Instruction queue forced BACLEAR",
4701dd2545SAndi Kleen        "Counter": "0,1,2,3",
48274c0a75SIan Rogers        "EventCode": "0xA7",
4901dd2545SAndi Kleen        "EventName": "BACLEAR_FORCE_IQ",
5001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
51274c0a75SIan Rogers        "UMask": "0x1"
5201dd2545SAndi Kleen    },
5301dd2545SAndi Kleen    {
54*7f2c72faSIan Rogers        "BriefDescription": "Early Branch Prediciton Unit clears",
55*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
56*7f2c72faSIan Rogers        "EventCode": "0xE8",
57*7f2c72faSIan Rogers        "EventName": "BPU_CLEARS.EARLY",
58*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
59*7f2c72faSIan Rogers        "UMask": "0x1"
60*7f2c72faSIan Rogers    },
61*7f2c72faSIan Rogers    {
62*7f2c72faSIan Rogers        "BriefDescription": "Late Branch Prediction Unit clears",
63*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
64*7f2c72faSIan Rogers        "EventCode": "0xE8",
65*7f2c72faSIan Rogers        "EventName": "BPU_CLEARS.LATE",
66*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
67*7f2c72faSIan Rogers        "UMask": "0x2"
68*7f2c72faSIan Rogers    },
69*7f2c72faSIan Rogers    {
70*7f2c72faSIan Rogers        "BriefDescription": "Branch prediction unit missed call or return",
71*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
72*7f2c72faSIan Rogers        "EventCode": "0xE5",
73*7f2c72faSIan Rogers        "EventName": "BPU_MISSED_CALL_RET",
74*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
75*7f2c72faSIan Rogers        "UMask": "0x1"
76*7f2c72faSIan Rogers    },
77*7f2c72faSIan Rogers    {
78274c0a75SIan Rogers        "BriefDescription": "Branch instructions decoded",
7901dd2545SAndi Kleen        "Counter": "0,1,2,3",
80274c0a75SIan Rogers        "EventCode": "0xE0",
8101dd2545SAndi Kleen        "EventName": "BR_INST_DECODED",
8201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
83274c0a75SIan Rogers        "UMask": "0x1"
8401dd2545SAndi Kleen    },
8501dd2545SAndi Kleen    {
86274c0a75SIan Rogers        "BriefDescription": "Branch instructions executed",
8701dd2545SAndi Kleen        "Counter": "0,1,2,3",
88274c0a75SIan Rogers        "EventCode": "0x88",
8901dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.ANY",
9001dd2545SAndi Kleen        "SampleAfterValue": "200000",
91274c0a75SIan Rogers        "UMask": "0x7f"
9201dd2545SAndi Kleen    },
9301dd2545SAndi Kleen    {
94274c0a75SIan Rogers        "BriefDescription": "Conditional branch instructions executed",
9501dd2545SAndi Kleen        "Counter": "0,1,2,3",
96274c0a75SIan Rogers        "EventCode": "0x88",
9701dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.COND",
9801dd2545SAndi Kleen        "SampleAfterValue": "200000",
99274c0a75SIan Rogers        "UMask": "0x1"
10001dd2545SAndi Kleen    },
10101dd2545SAndi Kleen    {
102274c0a75SIan Rogers        "BriefDescription": "Unconditional branches executed",
10301dd2545SAndi Kleen        "Counter": "0,1,2,3",
104274c0a75SIan Rogers        "EventCode": "0x88",
10501dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT",
10601dd2545SAndi Kleen        "SampleAfterValue": "200000",
107274c0a75SIan Rogers        "UMask": "0x2"
10801dd2545SAndi Kleen    },
10901dd2545SAndi Kleen    {
110274c0a75SIan Rogers        "BriefDescription": "Unconditional call branches executed",
11101dd2545SAndi Kleen        "Counter": "0,1,2,3",
112274c0a75SIan Rogers        "EventCode": "0x88",
11301dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT_NEAR_CALL",
11401dd2545SAndi Kleen        "SampleAfterValue": "20000",
115274c0a75SIan Rogers        "UMask": "0x10"
11601dd2545SAndi Kleen    },
11701dd2545SAndi Kleen    {
118274c0a75SIan Rogers        "BriefDescription": "Indirect call branches executed",
11901dd2545SAndi Kleen        "Counter": "0,1,2,3",
120274c0a75SIan Rogers        "EventCode": "0x88",
12101dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NEAR_CALL",
12201dd2545SAndi Kleen        "SampleAfterValue": "20000",
123274c0a75SIan Rogers        "UMask": "0x20"
12401dd2545SAndi Kleen    },
12501dd2545SAndi Kleen    {
126274c0a75SIan Rogers        "BriefDescription": "Indirect non call branches executed",
12701dd2545SAndi Kleen        "Counter": "0,1,2,3",
128274c0a75SIan Rogers        "EventCode": "0x88",
12901dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NON_CALL",
13001dd2545SAndi Kleen        "SampleAfterValue": "20000",
131274c0a75SIan Rogers        "UMask": "0x4"
13201dd2545SAndi Kleen    },
13301dd2545SAndi Kleen    {
134274c0a75SIan Rogers        "BriefDescription": "Call branches executed",
13501dd2545SAndi Kleen        "Counter": "0,1,2,3",
136274c0a75SIan Rogers        "EventCode": "0x88",
13701dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.NEAR_CALLS",
13801dd2545SAndi Kleen        "SampleAfterValue": "20000",
139274c0a75SIan Rogers        "UMask": "0x30"
14001dd2545SAndi Kleen    },
14101dd2545SAndi Kleen    {
142274c0a75SIan Rogers        "BriefDescription": "All non call branches executed",
14301dd2545SAndi Kleen        "Counter": "0,1,2,3",
144274c0a75SIan Rogers        "EventCode": "0x88",
14501dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.NON_CALLS",
14601dd2545SAndi Kleen        "SampleAfterValue": "200000",
147274c0a75SIan Rogers        "UMask": "0x7"
14801dd2545SAndi Kleen    },
14901dd2545SAndi Kleen    {
150274c0a75SIan Rogers        "BriefDescription": "Indirect return branches executed",
15101dd2545SAndi Kleen        "Counter": "0,1,2,3",
152274c0a75SIan Rogers        "EventCode": "0x88",
15301dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.RETURN_NEAR",
15401dd2545SAndi Kleen        "SampleAfterValue": "20000",
155274c0a75SIan Rogers        "UMask": "0x8"
15601dd2545SAndi Kleen    },
15701dd2545SAndi Kleen    {
158274c0a75SIan Rogers        "BriefDescription": "Taken branches executed",
15901dd2545SAndi Kleen        "Counter": "0,1,2,3",
160274c0a75SIan Rogers        "EventCode": "0x88",
16101dd2545SAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN",
16201dd2545SAndi Kleen        "SampleAfterValue": "200000",
163274c0a75SIan Rogers        "UMask": "0x40"
16401dd2545SAndi Kleen    },
16501dd2545SAndi Kleen    {
166274c0a75SIan Rogers        "BriefDescription": "Retired branch instructions (Precise Event)",
16701dd2545SAndi Kleen        "Counter": "0,1,2,3",
168274c0a75SIan Rogers        "EventCode": "0xC4",
16901dd2545SAndi Kleen        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
170274c0a75SIan Rogers        "PEBS": "1",
17101dd2545SAndi Kleen        "SampleAfterValue": "200000",
172274c0a75SIan Rogers        "UMask": "0x4"
17301dd2545SAndi Kleen    },
17401dd2545SAndi Kleen    {
175274c0a75SIan Rogers        "BriefDescription": "Retired conditional branch instructions (Precise Event)",
17601dd2545SAndi Kleen        "Counter": "0,1,2,3",
177274c0a75SIan Rogers        "EventCode": "0xC4",
17801dd2545SAndi Kleen        "EventName": "BR_INST_RETIRED.CONDITIONAL",
17901dd2545SAndi Kleen        "PEBS": "1",
180274c0a75SIan Rogers        "SampleAfterValue": "200000",
181274c0a75SIan Rogers        "UMask": "0x1"
18201dd2545SAndi Kleen    },
18301dd2545SAndi Kleen    {
184274c0a75SIan Rogers        "BriefDescription": "Retired near call instructions (Precise Event)",
18501dd2545SAndi Kleen        "Counter": "0,1,2,3",
186274c0a75SIan Rogers        "EventCode": "0xC4",
187274c0a75SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
188274c0a75SIan Rogers        "PEBS": "1",
189274c0a75SIan Rogers        "SampleAfterValue": "20000",
190274c0a75SIan Rogers        "UMask": "0x2"
191274c0a75SIan Rogers    },
192274c0a75SIan Rogers    {
193274c0a75SIan Rogers        "BriefDescription": "Mispredicted branches executed",
194274c0a75SIan Rogers        "Counter": "0,1,2,3",
195274c0a75SIan Rogers        "EventCode": "0x89",
19601dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.ANY",
19701dd2545SAndi Kleen        "SampleAfterValue": "20000",
198274c0a75SIan Rogers        "UMask": "0x7f"
19901dd2545SAndi Kleen    },
20001dd2545SAndi Kleen    {
201274c0a75SIan Rogers        "BriefDescription": "Mispredicted conditional branches executed",
20201dd2545SAndi Kleen        "Counter": "0,1,2,3",
203274c0a75SIan Rogers        "EventCode": "0x89",
20401dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.COND",
20501dd2545SAndi Kleen        "SampleAfterValue": "20000",
206274c0a75SIan Rogers        "UMask": "0x1"
20701dd2545SAndi Kleen    },
20801dd2545SAndi Kleen    {
209274c0a75SIan Rogers        "BriefDescription": "Mispredicted unconditional branches executed",
21001dd2545SAndi Kleen        "Counter": "0,1,2,3",
211274c0a75SIan Rogers        "EventCode": "0x89",
21201dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT",
21301dd2545SAndi Kleen        "SampleAfterValue": "20000",
214274c0a75SIan Rogers        "UMask": "0x2"
21501dd2545SAndi Kleen    },
21601dd2545SAndi Kleen    {
217274c0a75SIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
21801dd2545SAndi Kleen        "Counter": "0,1,2,3",
219274c0a75SIan Rogers        "EventCode": "0x89",
22001dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT_NEAR_CALL",
22101dd2545SAndi Kleen        "SampleAfterValue": "2000",
222274c0a75SIan Rogers        "UMask": "0x10"
22301dd2545SAndi Kleen    },
22401dd2545SAndi Kleen    {
225274c0a75SIan Rogers        "BriefDescription": "Mispredicted indirect call branches executed",
22601dd2545SAndi Kleen        "Counter": "0,1,2,3",
227274c0a75SIan Rogers        "EventCode": "0x89",
22801dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NEAR_CALL",
22901dd2545SAndi Kleen        "SampleAfterValue": "2000",
230274c0a75SIan Rogers        "UMask": "0x20"
23101dd2545SAndi Kleen    },
23201dd2545SAndi Kleen    {
233274c0a75SIan Rogers        "BriefDescription": "Mispredicted indirect non call branches executed",
23401dd2545SAndi Kleen        "Counter": "0,1,2,3",
235274c0a75SIan Rogers        "EventCode": "0x89",
23601dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NON_CALL",
23701dd2545SAndi Kleen        "SampleAfterValue": "2000",
238274c0a75SIan Rogers        "UMask": "0x4"
23901dd2545SAndi Kleen    },
24001dd2545SAndi Kleen    {
241274c0a75SIan Rogers        "BriefDescription": "Mispredicted call branches executed",
24201dd2545SAndi Kleen        "Counter": "0,1,2,3",
243274c0a75SIan Rogers        "EventCode": "0x89",
24401dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.NEAR_CALLS",
24501dd2545SAndi Kleen        "SampleAfterValue": "2000",
246274c0a75SIan Rogers        "UMask": "0x30"
24701dd2545SAndi Kleen    },
24801dd2545SAndi Kleen    {
249274c0a75SIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
25001dd2545SAndi Kleen        "Counter": "0,1,2,3",
251274c0a75SIan Rogers        "EventCode": "0x89",
25201dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.NON_CALLS",
25301dd2545SAndi Kleen        "SampleAfterValue": "20000",
254274c0a75SIan Rogers        "UMask": "0x7"
25501dd2545SAndi Kleen    },
25601dd2545SAndi Kleen    {
257274c0a75SIan Rogers        "BriefDescription": "Mispredicted return branches executed",
25801dd2545SAndi Kleen        "Counter": "0,1,2,3",
259274c0a75SIan Rogers        "EventCode": "0x89",
26001dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.RETURN_NEAR",
26101dd2545SAndi Kleen        "SampleAfterValue": "2000",
262274c0a75SIan Rogers        "UMask": "0x8"
26301dd2545SAndi Kleen    },
26401dd2545SAndi Kleen    {
265274c0a75SIan Rogers        "BriefDescription": "Mispredicted taken branches executed",
26601dd2545SAndi Kleen        "Counter": "0,1,2,3",
267274c0a75SIan Rogers        "EventCode": "0x89",
26801dd2545SAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN",
26901dd2545SAndi Kleen        "SampleAfterValue": "20000",
270274c0a75SIan Rogers        "UMask": "0x40"
27101dd2545SAndi Kleen    },
27201dd2545SAndi Kleen    {
273274c0a75SIan Rogers        "BriefDescription": "Mispredicted retired branch instructions (Precise Event)",
27401dd2545SAndi Kleen        "Counter": "0,1,2,3",
275274c0a75SIan Rogers        "EventCode": "0xC5",
27601dd2545SAndi Kleen        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
277274c0a75SIan Rogers        "PEBS": "1",
27801dd2545SAndi Kleen        "SampleAfterValue": "20000",
279274c0a75SIan Rogers        "UMask": "0x4"
28001dd2545SAndi Kleen    },
28101dd2545SAndi Kleen    {
282274c0a75SIan Rogers        "BriefDescription": "Mispredicted conditional retired branches (Precise Event)",
28301dd2545SAndi Kleen        "Counter": "0,1,2,3",
284274c0a75SIan Rogers        "EventCode": "0xC5",
28501dd2545SAndi Kleen        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
28601dd2545SAndi Kleen        "PEBS": "1",
287274c0a75SIan Rogers        "SampleAfterValue": "20000",
288274c0a75SIan Rogers        "UMask": "0x1"
28901dd2545SAndi Kleen    },
29001dd2545SAndi Kleen    {
291274c0a75SIan Rogers        "BriefDescription": "Mispredicted near retired calls (Precise Event)",
292274c0a75SIan Rogers        "Counter": "0,1,2,3",
293274c0a75SIan Rogers        "EventCode": "0xC5",
294274c0a75SIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
295274c0a75SIan Rogers        "PEBS": "1",
296274c0a75SIan Rogers        "SampleAfterValue": "2000",
297274c0a75SIan Rogers        "UMask": "0x2"
298274c0a75SIan Rogers    },
299274c0a75SIan Rogers    {
300274c0a75SIan Rogers        "BriefDescription": "Reference cycles when thread is not halted (fixed counter)",
30101dd2545SAndi Kleen        "Counter": "Fixed counter 3",
302274c0a75SIan Rogers        "EventCode": "0x0",
30301dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF",
30401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
305274c0a75SIan Rogers        "UMask": "0x0"
30601dd2545SAndi Kleen    },
30701dd2545SAndi Kleen    {
308274c0a75SIan Rogers        "BriefDescription": "Reference base clock (133 Mhz) cycles when thread is not halted (programmable counter)",
30901dd2545SAndi Kleen        "Counter": "0,1,2,3",
310274c0a75SIan Rogers        "EventCode": "0x3C",
31101dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_P",
31201dd2545SAndi Kleen        "SampleAfterValue": "100000",
313274c0a75SIan Rogers        "UMask": "0x1"
31401dd2545SAndi Kleen    },
31501dd2545SAndi Kleen    {
316274c0a75SIan Rogers        "BriefDescription": "Cycles when thread is not halted (fixed counter)",
31701dd2545SAndi Kleen        "Counter": "Fixed counter 2",
318274c0a75SIan Rogers        "EventCode": "0x0",
31901dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD",
32001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
321274c0a75SIan Rogers        "UMask": "0x0"
32201dd2545SAndi Kleen    },
32301dd2545SAndi Kleen    {
324274c0a75SIan Rogers        "BriefDescription": "Cycles when thread is not halted (programmable counter)",
32501dd2545SAndi Kleen        "Counter": "0,1,2,3",
326274c0a75SIan Rogers        "EventCode": "0x3C",
32701dd2545SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
32801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
329274c0a75SIan Rogers        "UMask": "0x0"
33001dd2545SAndi Kleen    },
33101dd2545SAndi Kleen    {
33201dd2545SAndi Kleen        "BriefDescription": "Total CPU cycles",
333274c0a75SIan Rogers        "Counter": "0,1,2,3",
334274c0a75SIan Rogers        "CounterMask": "2",
335274c0a75SIan Rogers        "EventCode": "0x3C",
336274c0a75SIan Rogers        "EventName": "CPU_CLK_UNHALTED.TOTAL_CYCLES",
337274c0a75SIan Rogers        "Invert": "1",
338274c0a75SIan Rogers        "SampleAfterValue": "2000000",
339274c0a75SIan Rogers        "UMask": "0x0"
34001dd2545SAndi Kleen    },
34101dd2545SAndi Kleen    {
342274c0a75SIan Rogers        "BriefDescription": "Any Instruction Length Decoder stall cycles",
34301dd2545SAndi Kleen        "Counter": "0,1,2,3",
344274c0a75SIan Rogers        "EventCode": "0x87",
34501dd2545SAndi Kleen        "EventName": "ILD_STALL.ANY",
34601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
347274c0a75SIan Rogers        "UMask": "0xf"
34801dd2545SAndi Kleen    },
34901dd2545SAndi Kleen    {
350274c0a75SIan Rogers        "BriefDescription": "Instruction Queue full stall cycles",
35101dd2545SAndi Kleen        "Counter": "0,1,2,3",
352274c0a75SIan Rogers        "EventCode": "0x87",
35301dd2545SAndi Kleen        "EventName": "ILD_STALL.IQ_FULL",
35401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
355274c0a75SIan Rogers        "UMask": "0x4"
35601dd2545SAndi Kleen    },
35701dd2545SAndi Kleen    {
358274c0a75SIan Rogers        "BriefDescription": "Length Change Prefix stall cycles",
35901dd2545SAndi Kleen        "Counter": "0,1,2,3",
360274c0a75SIan Rogers        "EventCode": "0x87",
36101dd2545SAndi Kleen        "EventName": "ILD_STALL.LCP",
36201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
363274c0a75SIan Rogers        "UMask": "0x1"
36401dd2545SAndi Kleen    },
36501dd2545SAndi Kleen    {
366274c0a75SIan Rogers        "BriefDescription": "Stall cycles due to BPU MRU bypass",
36701dd2545SAndi Kleen        "Counter": "0,1,2,3",
368274c0a75SIan Rogers        "EventCode": "0x87",
36901dd2545SAndi Kleen        "EventName": "ILD_STALL.MRU",
37001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
371274c0a75SIan Rogers        "UMask": "0x2"
37201dd2545SAndi Kleen    },
37301dd2545SAndi Kleen    {
374274c0a75SIan Rogers        "BriefDescription": "Regen stall cycles",
37501dd2545SAndi Kleen        "Counter": "0,1,2,3",
376274c0a75SIan Rogers        "EventCode": "0x87",
37701dd2545SAndi Kleen        "EventName": "ILD_STALL.REGEN",
37801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
379274c0a75SIan Rogers        "UMask": "0x8"
38001dd2545SAndi Kleen    },
38101dd2545SAndi Kleen    {
382274c0a75SIan Rogers        "BriefDescription": "Instructions that must be decoded by decoder 0",
38301dd2545SAndi Kleen        "Counter": "0,1,2,3",
384274c0a75SIan Rogers        "EventCode": "0x18",
38501dd2545SAndi Kleen        "EventName": "INST_DECODED.DEC0",
38601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
387274c0a75SIan Rogers        "UMask": "0x1"
38801dd2545SAndi Kleen    },
38901dd2545SAndi Kleen    {
390274c0a75SIan Rogers        "BriefDescription": "Instructions written to instruction queue.",
39101dd2545SAndi Kleen        "Counter": "0,1,2,3",
39201dd2545SAndi Kleen        "EventCode": "0x17",
39301dd2545SAndi Kleen        "EventName": "INST_QUEUE_WRITES",
39401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
395274c0a75SIan Rogers        "UMask": "0x1"
39601dd2545SAndi Kleen    },
39701dd2545SAndi Kleen    {
398274c0a75SIan Rogers        "BriefDescription": "Cycles instructions are written to the instruction queue",
399274c0a75SIan Rogers        "Counter": "0,1,2,3",
400274c0a75SIan Rogers        "EventCode": "0x1E",
401274c0a75SIan Rogers        "EventName": "INST_QUEUE_WRITE_CYCLES",
402274c0a75SIan Rogers        "SampleAfterValue": "2000000",
403274c0a75SIan Rogers        "UMask": "0x1"
404274c0a75SIan Rogers    },
405274c0a75SIan Rogers    {
406274c0a75SIan Rogers        "BriefDescription": "Instructions retired (fixed counter)",
40701dd2545SAndi Kleen        "Counter": "Fixed counter 1",
408274c0a75SIan Rogers        "EventCode": "0x0",
40901dd2545SAndi Kleen        "EventName": "INST_RETIRED.ANY",
41001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
411274c0a75SIan Rogers        "UMask": "0x0"
41201dd2545SAndi Kleen    },
41301dd2545SAndi Kleen    {
414274c0a75SIan Rogers        "BriefDescription": "Instructions retired (Programmable counter and Precise Event)",
41501dd2545SAndi Kleen        "Counter": "0,1,2,3",
416274c0a75SIan Rogers        "EventCode": "0xC0",
41701dd2545SAndi Kleen        "EventName": "INST_RETIRED.ANY_P",
418274c0a75SIan Rogers        "PEBS": "1",
41901dd2545SAndi Kleen        "SampleAfterValue": "2000000",
420274c0a75SIan Rogers        "UMask": "0x1"
42101dd2545SAndi Kleen    },
42201dd2545SAndi Kleen    {
423274c0a75SIan Rogers        "BriefDescription": "Retired MMX instructions (Precise Event)",
42401dd2545SAndi Kleen        "Counter": "0,1,2,3",
425274c0a75SIan Rogers        "EventCode": "0xC0",
42601dd2545SAndi Kleen        "EventName": "INST_RETIRED.MMX",
427274c0a75SIan Rogers        "PEBS": "1",
42801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
429274c0a75SIan Rogers        "UMask": "0x4"
43001dd2545SAndi Kleen    },
43101dd2545SAndi Kleen    {
43201dd2545SAndi Kleen        "BriefDescription": "Total cycles (Precise Event)",
43301dd2545SAndi Kleen        "Counter": "0,1,2,3",
434274c0a75SIan Rogers        "CounterMask": "16",
435274c0a75SIan Rogers        "EventCode": "0xC0",
436274c0a75SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES",
437274c0a75SIan Rogers        "Invert": "1",
438274c0a75SIan Rogers        "PEBS": "1",
43901dd2545SAndi Kleen        "SampleAfterValue": "2000000",
440274c0a75SIan Rogers        "UMask": "0x1"
44101dd2545SAndi Kleen    },
44201dd2545SAndi Kleen    {
443274c0a75SIan Rogers        "BriefDescription": "Total cycles (Precise Event)",
444274c0a75SIan Rogers        "Counter": "0,1,2,3",
445274c0a75SIan Rogers        "CounterMask": "16",
446274c0a75SIan Rogers        "EventCode": "0xC0",
447274c0a75SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
448274c0a75SIan Rogers        "Invert": "1",
449274c0a75SIan Rogers        "PEBS": "2",
450274c0a75SIan Rogers        "SampleAfterValue": "2000000",
451274c0a75SIan Rogers        "UMask": "0x1"
452274c0a75SIan Rogers    },
453274c0a75SIan Rogers    {
454274c0a75SIan Rogers        "BriefDescription": "Retired floating-point operations (Precise Event)",
455274c0a75SIan Rogers        "Counter": "0,1,2,3",
456274c0a75SIan Rogers        "EventCode": "0xC0",
457274c0a75SIan Rogers        "EventName": "INST_RETIRED.X87",
458274c0a75SIan Rogers        "PEBS": "1",
459274c0a75SIan Rogers        "SampleAfterValue": "2000000",
460274c0a75SIan Rogers        "UMask": "0x2"
461274c0a75SIan Rogers    },
462274c0a75SIan Rogers    {
463274c0a75SIan Rogers        "BriefDescription": "Load operations conflicting with software prefetches",
46401dd2545SAndi Kleen        "Counter": "0,1",
465274c0a75SIan Rogers        "EventCode": "0x4C",
46601dd2545SAndi Kleen        "EventName": "LOAD_HIT_PRE",
46701dd2545SAndi Kleen        "SampleAfterValue": "200000",
468274c0a75SIan Rogers        "UMask": "0x1"
46901dd2545SAndi Kleen    },
47001dd2545SAndi Kleen    {
471274c0a75SIan Rogers        "BriefDescription": "Cycles when uops were delivered by the LSD",
47201dd2545SAndi Kleen        "Counter": "0,1,2,3",
473274c0a75SIan Rogers        "CounterMask": "1",
474274c0a75SIan Rogers        "EventCode": "0xA8",
47501dd2545SAndi Kleen        "EventName": "LSD.ACTIVE",
47601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
477274c0a75SIan Rogers        "UMask": "0x1"
47801dd2545SAndi Kleen    },
47901dd2545SAndi Kleen    {
48001dd2545SAndi Kleen        "BriefDescription": "Cycles no uops were delivered by the LSD",
481274c0a75SIan Rogers        "Counter": "0,1,2,3",
482274c0a75SIan Rogers        "CounterMask": "1",
483274c0a75SIan Rogers        "EventCode": "0xA8",
484274c0a75SIan Rogers        "EventName": "LSD.INACTIVE",
485274c0a75SIan Rogers        "Invert": "1",
486274c0a75SIan Rogers        "SampleAfterValue": "2000000",
487274c0a75SIan Rogers        "UMask": "0x1"
48801dd2545SAndi Kleen    },
48901dd2545SAndi Kleen    {
490274c0a75SIan Rogers        "BriefDescription": "Loops that can't stream from the instruction queue",
49101dd2545SAndi Kleen        "Counter": "0,1,2,3",
492274c0a75SIan Rogers        "EventCode": "0x20",
49301dd2545SAndi Kleen        "EventName": "LSD_OVERFLOW",
49401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
495274c0a75SIan Rogers        "UMask": "0x1"
49601dd2545SAndi Kleen    },
49701dd2545SAndi Kleen    {
498274c0a75SIan Rogers        "BriefDescription": "Cycles machine clear asserted",
49901dd2545SAndi Kleen        "Counter": "0,1,2,3",
500274c0a75SIan Rogers        "EventCode": "0xC3",
50101dd2545SAndi Kleen        "EventName": "MACHINE_CLEARS.CYCLES",
50201dd2545SAndi Kleen        "SampleAfterValue": "20000",
503274c0a75SIan Rogers        "UMask": "0x1"
50401dd2545SAndi Kleen    },
50501dd2545SAndi Kleen    {
506274c0a75SIan Rogers        "BriefDescription": "Execution pipeline restart due to Memory ordering conflicts",
50701dd2545SAndi Kleen        "Counter": "0,1,2,3",
508274c0a75SIan Rogers        "EventCode": "0xC3",
50901dd2545SAndi Kleen        "EventName": "MACHINE_CLEARS.MEM_ORDER",
51001dd2545SAndi Kleen        "SampleAfterValue": "20000",
511274c0a75SIan Rogers        "UMask": "0x2"
51201dd2545SAndi Kleen    },
51301dd2545SAndi Kleen    {
514274c0a75SIan Rogers        "BriefDescription": "Self-Modifying Code detected",
51501dd2545SAndi Kleen        "Counter": "0,1,2,3",
516274c0a75SIan Rogers        "EventCode": "0xC3",
51701dd2545SAndi Kleen        "EventName": "MACHINE_CLEARS.SMC",
51801dd2545SAndi Kleen        "SampleAfterValue": "20000",
519274c0a75SIan Rogers        "UMask": "0x4"
52001dd2545SAndi Kleen    },
52101dd2545SAndi Kleen    {
522*7f2c72faSIan Rogers        "BriefDescription": "All RAT stall cycles",
523*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
524*7f2c72faSIan Rogers        "EventCode": "0xD2",
525*7f2c72faSIan Rogers        "EventName": "RAT_STALLS.ANY",
526*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
527*7f2c72faSIan Rogers        "UMask": "0xf"
528*7f2c72faSIan Rogers    },
529*7f2c72faSIan Rogers    {
530*7f2c72faSIan Rogers        "BriefDescription": "Flag stall cycles",
531*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
532*7f2c72faSIan Rogers        "EventCode": "0xD2",
533*7f2c72faSIan Rogers        "EventName": "RAT_STALLS.FLAGS",
534*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
535*7f2c72faSIan Rogers        "UMask": "0x1"
536*7f2c72faSIan Rogers    },
537*7f2c72faSIan Rogers    {
538*7f2c72faSIan Rogers        "BriefDescription": "Partial register stall cycles",
539*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
540*7f2c72faSIan Rogers        "EventCode": "0xD2",
541*7f2c72faSIan Rogers        "EventName": "RAT_STALLS.REGISTERS",
542*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
543*7f2c72faSIan Rogers        "UMask": "0x2"
544*7f2c72faSIan Rogers    },
545*7f2c72faSIan Rogers    {
546*7f2c72faSIan Rogers        "BriefDescription": "ROB read port stalls cycles",
547*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
548*7f2c72faSIan Rogers        "EventCode": "0xD2",
549*7f2c72faSIan Rogers        "EventName": "RAT_STALLS.ROB_READ_PORT",
550*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
551*7f2c72faSIan Rogers        "UMask": "0x4"
552*7f2c72faSIan Rogers    },
553*7f2c72faSIan Rogers    {
554*7f2c72faSIan Rogers        "BriefDescription": "Scoreboard stall cycles",
555*7f2c72faSIan Rogers        "Counter": "0,1,2,3",
556*7f2c72faSIan Rogers        "EventCode": "0xD2",
557*7f2c72faSIan Rogers        "EventName": "RAT_STALLS.SCOREBOARD",
558*7f2c72faSIan Rogers        "SampleAfterValue": "2000000",
559*7f2c72faSIan Rogers        "UMask": "0x8"
560*7f2c72faSIan Rogers    },
561*7f2c72faSIan Rogers    {
562274c0a75SIan Rogers        "BriefDescription": "Resource related stall cycles",
56301dd2545SAndi Kleen        "Counter": "0,1,2,3",
564274c0a75SIan Rogers        "EventCode": "0xA2",
56501dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.ANY",
56601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
567274c0a75SIan Rogers        "UMask": "0x1"
56801dd2545SAndi Kleen    },
56901dd2545SAndi Kleen    {
570274c0a75SIan Rogers        "BriefDescription": "FPU control word write stall cycles",
57101dd2545SAndi Kleen        "Counter": "0,1,2,3",
572274c0a75SIan Rogers        "EventCode": "0xA2",
57301dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.FPCW",
57401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
575274c0a75SIan Rogers        "UMask": "0x20"
57601dd2545SAndi Kleen    },
57701dd2545SAndi Kleen    {
578274c0a75SIan Rogers        "BriefDescription": "Load buffer stall cycles",
57901dd2545SAndi Kleen        "Counter": "0,1,2,3",
580274c0a75SIan Rogers        "EventCode": "0xA2",
58101dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.LOAD",
58201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
583274c0a75SIan Rogers        "UMask": "0x2"
58401dd2545SAndi Kleen    },
58501dd2545SAndi Kleen    {
586274c0a75SIan Rogers        "BriefDescription": "MXCSR rename stall cycles",
58701dd2545SAndi Kleen        "Counter": "0,1,2,3",
588274c0a75SIan Rogers        "EventCode": "0xA2",
58901dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.MXCSR",
59001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
591274c0a75SIan Rogers        "UMask": "0x40"
59201dd2545SAndi Kleen    },
59301dd2545SAndi Kleen    {
594274c0a75SIan Rogers        "BriefDescription": "Other Resource related stall cycles",
59501dd2545SAndi Kleen        "Counter": "0,1,2,3",
596274c0a75SIan Rogers        "EventCode": "0xA2",
59701dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.OTHER",
59801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
599274c0a75SIan Rogers        "UMask": "0x80"
60001dd2545SAndi Kleen    },
60101dd2545SAndi Kleen    {
602274c0a75SIan Rogers        "BriefDescription": "ROB full stall cycles",
60301dd2545SAndi Kleen        "Counter": "0,1,2,3",
604274c0a75SIan Rogers        "EventCode": "0xA2",
60501dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.ROB_FULL",
60601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
607274c0a75SIan Rogers        "UMask": "0x10"
60801dd2545SAndi Kleen    },
60901dd2545SAndi Kleen    {
610274c0a75SIan Rogers        "BriefDescription": "Reservation Station full stall cycles",
61101dd2545SAndi Kleen        "Counter": "0,1,2,3",
612274c0a75SIan Rogers        "EventCode": "0xA2",
61301dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.RS_FULL",
61401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
615274c0a75SIan Rogers        "UMask": "0x4"
61601dd2545SAndi Kleen    },
61701dd2545SAndi Kleen    {
618274c0a75SIan Rogers        "BriefDescription": "Store buffer stall cycles",
61901dd2545SAndi Kleen        "Counter": "0,1,2,3",
620274c0a75SIan Rogers        "EventCode": "0xA2",
62101dd2545SAndi Kleen        "EventName": "RESOURCE_STALLS.STORE",
62201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
623274c0a75SIan Rogers        "UMask": "0x8"
62401dd2545SAndi Kleen    },
62501dd2545SAndi Kleen    {
626274c0a75SIan Rogers        "BriefDescription": "SIMD Packed-Double Uops retired (Precise Event)",
62701dd2545SAndi Kleen        "Counter": "0,1,2,3",
628274c0a75SIan Rogers        "EventCode": "0xC7",
62901dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_DOUBLE",
630274c0a75SIan Rogers        "PEBS": "1",
63101dd2545SAndi Kleen        "SampleAfterValue": "200000",
632274c0a75SIan Rogers        "UMask": "0x4"
63301dd2545SAndi Kleen    },
63401dd2545SAndi Kleen    {
635274c0a75SIan Rogers        "BriefDescription": "SIMD Packed-Single Uops retired (Precise Event)",
63601dd2545SAndi Kleen        "Counter": "0,1,2,3",
637274c0a75SIan Rogers        "EventCode": "0xC7",
63801dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_SINGLE",
639274c0a75SIan Rogers        "PEBS": "1",
64001dd2545SAndi Kleen        "SampleAfterValue": "200000",
641274c0a75SIan Rogers        "UMask": "0x1"
64201dd2545SAndi Kleen    },
64301dd2545SAndi Kleen    {
644274c0a75SIan Rogers        "BriefDescription": "SIMD Scalar-Double Uops retired (Precise Event)",
64501dd2545SAndi Kleen        "Counter": "0,1,2,3",
646274c0a75SIan Rogers        "EventCode": "0xC7",
64701dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_DOUBLE",
648274c0a75SIan Rogers        "PEBS": "1",
64901dd2545SAndi Kleen        "SampleAfterValue": "200000",
650274c0a75SIan Rogers        "UMask": "0x8"
65101dd2545SAndi Kleen    },
65201dd2545SAndi Kleen    {
653274c0a75SIan Rogers        "BriefDescription": "SIMD Scalar-Single Uops retired (Precise Event)",
65401dd2545SAndi Kleen        "Counter": "0,1,2,3",
655274c0a75SIan Rogers        "EventCode": "0xC7",
65601dd2545SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_SINGLE",
65701dd2545SAndi Kleen        "PEBS": "1",
65801dd2545SAndi Kleen        "SampleAfterValue": "200000",
659274c0a75SIan Rogers        "UMask": "0x2"
66001dd2545SAndi Kleen    },
66101dd2545SAndi Kleen    {
662274c0a75SIan Rogers        "BriefDescription": "SIMD Vector Integer Uops retired (Precise Event)",
66301dd2545SAndi Kleen        "Counter": "0,1,2,3",
664274c0a75SIan Rogers        "EventCode": "0xC7",
665274c0a75SIan Rogers        "EventName": "SSEX_UOPS_RETIRED.VECTOR_INTEGER",
666274c0a75SIan Rogers        "PEBS": "1",
667274c0a75SIan Rogers        "SampleAfterValue": "200000",
668274c0a75SIan Rogers        "UMask": "0x10"
66901dd2545SAndi Kleen    },
67001dd2545SAndi Kleen    {
671274c0a75SIan Rogers        "BriefDescription": "Stack pointer instructions decoded",
672274c0a75SIan Rogers        "Counter": "0,1,2,3",
67301dd2545SAndi Kleen        "EventCode": "0xD1",
67401dd2545SAndi Kleen        "EventName": "UOPS_DECODED.ESP_FOLDING",
67501dd2545SAndi Kleen        "SampleAfterValue": "2000000",
676274c0a75SIan Rogers        "UMask": "0x4"
67701dd2545SAndi Kleen    },
67801dd2545SAndi Kleen    {
679274c0a75SIan Rogers        "BriefDescription": "Stack pointer sync operations",
68001dd2545SAndi Kleen        "Counter": "0,1,2,3",
681274c0a75SIan Rogers        "EventCode": "0xD1",
68201dd2545SAndi Kleen        "EventName": "UOPS_DECODED.ESP_SYNC",
68301dd2545SAndi Kleen        "SampleAfterValue": "2000000",
684274c0a75SIan Rogers        "UMask": "0x8"
68501dd2545SAndi Kleen    },
68601dd2545SAndi Kleen    {
687274c0a75SIan Rogers        "BriefDescription": "Uops decoded by Microcode Sequencer",
68801dd2545SAndi Kleen        "Counter": "0,1,2,3",
689274c0a75SIan Rogers        "CounterMask": "1",
690274c0a75SIan Rogers        "EventCode": "0xD1",
69101dd2545SAndi Kleen        "EventName": "UOPS_DECODED.MS_CYCLES_ACTIVE",
69201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
693274c0a75SIan Rogers        "UMask": "0x2"
69401dd2545SAndi Kleen    },
69501dd2545SAndi Kleen    {
69601dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops are decoded",
697274c0a75SIan Rogers        "Counter": "0,1,2,3",
698274c0a75SIan Rogers        "CounterMask": "1",
699274c0a75SIan Rogers        "EventCode": "0xD1",
700274c0a75SIan Rogers        "EventName": "UOPS_DECODED.STALL_CYCLES",
701274c0a75SIan Rogers        "Invert": "1",
702274c0a75SIan Rogers        "SampleAfterValue": "2000000",
703274c0a75SIan Rogers        "UMask": "0x1"
70401dd2545SAndi Kleen    },
70501dd2545SAndi Kleen    {
70601dd2545SAndi Kleen        "AnyThread": "1",
707274c0a75SIan Rogers        "BriefDescription": "Cycles Uops executed on any port (core count)",
708274c0a75SIan Rogers        "Counter": "0,1,2,3",
709274c0a75SIan Rogers        "CounterMask": "1",
710274c0a75SIan Rogers        "EventCode": "0xB1",
71101dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES",
71201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
713274c0a75SIan Rogers        "UMask": "0x3f"
71401dd2545SAndi Kleen    },
71501dd2545SAndi Kleen    {
71601dd2545SAndi Kleen        "AnyThread": "1",
717274c0a75SIan Rogers        "BriefDescription": "Cycles Uops executed on ports 0-4 (core count)",
718274c0a75SIan Rogers        "Counter": "0,1,2,3",
719274c0a75SIan Rogers        "CounterMask": "1",
720274c0a75SIan Rogers        "EventCode": "0xB1",
72101dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5",
72201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
723274c0a75SIan Rogers        "UMask": "0x1f"
72401dd2545SAndi Kleen    },
72501dd2545SAndi Kleen    {
72601dd2545SAndi Kleen        "AnyThread": "1",
72701dd2545SAndi Kleen        "BriefDescription": "Uops executed on any port (core count)",
728274c0a75SIan Rogers        "Counter": "0,1,2,3",
72901dd2545SAndi Kleen        "CounterMask": "1",
730274c0a75SIan Rogers        "EdgeDetect": "1",
731274c0a75SIan Rogers        "EventCode": "0xB1",
732274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT",
733274c0a75SIan Rogers        "Invert": "1",
734274c0a75SIan Rogers        "SampleAfterValue": "2000000",
735274c0a75SIan Rogers        "UMask": "0x3f"
73601dd2545SAndi Kleen    },
73701dd2545SAndi Kleen    {
73801dd2545SAndi Kleen        "AnyThread": "1",
73901dd2545SAndi Kleen        "BriefDescription": "Uops executed on ports 0-4 (core count)",
740274c0a75SIan Rogers        "Counter": "0,1,2,3",
74101dd2545SAndi Kleen        "CounterMask": "1",
742274c0a75SIan Rogers        "EdgeDetect": "1",
743274c0a75SIan Rogers        "EventCode": "0xB1",
744274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT_NO_PORT5",
745274c0a75SIan Rogers        "Invert": "1",
746274c0a75SIan Rogers        "SampleAfterValue": "2000000",
747274c0a75SIan Rogers        "UMask": "0x1f"
74801dd2545SAndi Kleen    },
74901dd2545SAndi Kleen    {
75001dd2545SAndi Kleen        "AnyThread": "1",
75101dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops issued on any port (core count)",
752274c0a75SIan Rogers        "Counter": "0,1,2,3",
753274c0a75SIan Rogers        "CounterMask": "1",
75401dd2545SAndi Kleen        "EventCode": "0xB1",
755274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES",
75601dd2545SAndi Kleen        "Invert": "1",
75701dd2545SAndi Kleen        "SampleAfterValue": "2000000",
758274c0a75SIan Rogers        "UMask": "0x3f"
75901dd2545SAndi Kleen    },
76001dd2545SAndi Kleen    {
761274c0a75SIan Rogers        "AnyThread": "1",
762274c0a75SIan Rogers        "BriefDescription": "Cycles no Uops issued on ports 0-4 (core count)",
76301dd2545SAndi Kleen        "Counter": "0,1,2,3",
764274c0a75SIan Rogers        "CounterMask": "1",
765274c0a75SIan Rogers        "EventCode": "0xB1",
766274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES_NO_PORT5",
767274c0a75SIan Rogers        "Invert": "1",
768274c0a75SIan Rogers        "SampleAfterValue": "2000000",
769274c0a75SIan Rogers        "UMask": "0x1f"
770274c0a75SIan Rogers    },
771274c0a75SIan Rogers    {
772274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 0",
773274c0a75SIan Rogers        "Counter": "0,1,2,3",
774274c0a75SIan Rogers        "EventCode": "0xB1",
77501dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT0",
77601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
777274c0a75SIan Rogers        "UMask": "0x1"
77801dd2545SAndi Kleen    },
77901dd2545SAndi Kleen    {
780274c0a75SIan Rogers        "BriefDescription": "Uops issued on ports 0, 1 or 5",
78101dd2545SAndi Kleen        "Counter": "0,1,2,3",
782274c0a75SIan Rogers        "EventCode": "0xB1",
78301dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT015",
78401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
785274c0a75SIan Rogers        "UMask": "0x40"
78601dd2545SAndi Kleen    },
78701dd2545SAndi Kleen    {
78801dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops issued on ports 0, 1 or 5",
789274c0a75SIan Rogers        "Counter": "0,1,2,3",
790274c0a75SIan Rogers        "CounterMask": "1",
791274c0a75SIan Rogers        "EventCode": "0xB1",
792274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.PORT015_STALL_CYCLES",
793274c0a75SIan Rogers        "Invert": "1",
794274c0a75SIan Rogers        "SampleAfterValue": "2000000",
795274c0a75SIan Rogers        "UMask": "0x40"
79601dd2545SAndi Kleen    },
79701dd2545SAndi Kleen    {
798274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 1",
79901dd2545SAndi Kleen        "Counter": "0,1,2,3",
800274c0a75SIan Rogers        "EventCode": "0xB1",
80101dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT1",
80201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
803274c0a75SIan Rogers        "UMask": "0x2"
80401dd2545SAndi Kleen    },
80501dd2545SAndi Kleen    {
80601dd2545SAndi Kleen        "AnyThread": "1",
807274c0a75SIan Rogers        "BriefDescription": "Uops issued on ports 2, 3 or 4",
80801dd2545SAndi Kleen        "Counter": "0,1,2,3",
809274c0a75SIan Rogers        "EventCode": "0xB1",
81001dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT234_CORE",
81101dd2545SAndi Kleen        "SampleAfterValue": "2000000",
812274c0a75SIan Rogers        "UMask": "0x80"
81301dd2545SAndi Kleen    },
81401dd2545SAndi Kleen    {
81501dd2545SAndi Kleen        "AnyThread": "1",
816274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 2 (core count)",
817274c0a75SIan Rogers        "Counter": "0,1,2,3",
818274c0a75SIan Rogers        "EventCode": "0xB1",
819274c0a75SIan Rogers        "EventName": "UOPS_EXECUTED.PORT2_CORE",
820274c0a75SIan Rogers        "SampleAfterValue": "2000000",
821274c0a75SIan Rogers        "UMask": "0x4"
822274c0a75SIan Rogers    },
823274c0a75SIan Rogers    {
824274c0a75SIan Rogers        "AnyThread": "1",
825274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 3 (core count)",
826274c0a75SIan Rogers        "Counter": "0,1,2,3",
827274c0a75SIan Rogers        "EventCode": "0xB1",
82801dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT3_CORE",
82901dd2545SAndi Kleen        "SampleAfterValue": "2000000",
830274c0a75SIan Rogers        "UMask": "0x8"
83101dd2545SAndi Kleen    },
83201dd2545SAndi Kleen    {
83301dd2545SAndi Kleen        "AnyThread": "1",
834274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 4 (core count)",
835274c0a75SIan Rogers        "Counter": "0,1,2,3",
836274c0a75SIan Rogers        "EventCode": "0xB1",
83701dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT4_CORE",
83801dd2545SAndi Kleen        "SampleAfterValue": "2000000",
839274c0a75SIan Rogers        "UMask": "0x10"
84001dd2545SAndi Kleen    },
84101dd2545SAndi Kleen    {
842274c0a75SIan Rogers        "BriefDescription": "Uops executed on port 5",
84301dd2545SAndi Kleen        "Counter": "0,1,2,3",
844274c0a75SIan Rogers        "EventCode": "0xB1",
84501dd2545SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT5",
84601dd2545SAndi Kleen        "SampleAfterValue": "2000000",
847274c0a75SIan Rogers        "UMask": "0x20"
84801dd2545SAndi Kleen    },
84901dd2545SAndi Kleen    {
850274c0a75SIan Rogers        "BriefDescription": "Uops issued",
85101dd2545SAndi Kleen        "Counter": "0,1,2,3",
852274c0a75SIan Rogers        "EventCode": "0xE",
85301dd2545SAndi Kleen        "EventName": "UOPS_ISSUED.ANY",
85401dd2545SAndi Kleen        "SampleAfterValue": "2000000",
855274c0a75SIan Rogers        "UMask": "0x1"
85601dd2545SAndi Kleen    },
85701dd2545SAndi Kleen    {
85801dd2545SAndi Kleen        "AnyThread": "1",
85901dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops were issued on any thread",
860274c0a75SIan Rogers        "Counter": "0,1,2,3",
861274c0a75SIan Rogers        "CounterMask": "1",
862274c0a75SIan Rogers        "EventCode": "0xE",
863274c0a75SIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
864274c0a75SIan Rogers        "Invert": "1",
865274c0a75SIan Rogers        "SampleAfterValue": "2000000",
866274c0a75SIan Rogers        "UMask": "0x1"
86701dd2545SAndi Kleen    },
86801dd2545SAndi Kleen    {
86901dd2545SAndi Kleen        "AnyThread": "1",
870274c0a75SIan Rogers        "BriefDescription": "Cycles Uops were issued on either thread",
871274c0a75SIan Rogers        "Counter": "0,1,2,3",
872274c0a75SIan Rogers        "CounterMask": "1",
873274c0a75SIan Rogers        "EventCode": "0xE",
87401dd2545SAndi Kleen        "EventName": "UOPS_ISSUED.CYCLES_ALL_THREADS",
87501dd2545SAndi Kleen        "SampleAfterValue": "2000000",
876274c0a75SIan Rogers        "UMask": "0x1"
87701dd2545SAndi Kleen    },
87801dd2545SAndi Kleen    {
879274c0a75SIan Rogers        "BriefDescription": "Fused Uops issued",
88001dd2545SAndi Kleen        "Counter": "0,1,2,3",
881274c0a75SIan Rogers        "EventCode": "0xE",
88201dd2545SAndi Kleen        "EventName": "UOPS_ISSUED.FUSED",
88301dd2545SAndi Kleen        "SampleAfterValue": "2000000",
884274c0a75SIan Rogers        "UMask": "0x2"
88501dd2545SAndi Kleen    },
88601dd2545SAndi Kleen    {
88701dd2545SAndi Kleen        "BriefDescription": "Cycles no Uops were issued",
888274c0a75SIan Rogers        "Counter": "0,1,2,3",
889274c0a75SIan Rogers        "CounterMask": "1",
890274c0a75SIan Rogers        "EventCode": "0xE",
891274c0a75SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
892274c0a75SIan Rogers        "Invert": "1",
893274c0a75SIan Rogers        "SampleAfterValue": "2000000",
894274c0a75SIan Rogers        "UMask": "0x1"
89501dd2545SAndi Kleen    },
89601dd2545SAndi Kleen    {
89701dd2545SAndi Kleen        "BriefDescription": "Cycles Uops are being retired",
898274c0a75SIan Rogers        "Counter": "0,1,2,3",
899274c0a75SIan Rogers        "CounterMask": "1",
900274c0a75SIan Rogers        "EventCode": "0xC2",
901274c0a75SIan Rogers        "EventName": "UOPS_RETIRED.ACTIVE_CYCLES",
902274c0a75SIan Rogers        "PEBS": "1",
903274c0a75SIan Rogers        "SampleAfterValue": "2000000",
904274c0a75SIan Rogers        "UMask": "0x1"
90501dd2545SAndi Kleen    },
90601dd2545SAndi Kleen    {
907274c0a75SIan Rogers        "BriefDescription": "Uops retired (Precise Event)",
90801dd2545SAndi Kleen        "Counter": "0,1,2,3",
909274c0a75SIan Rogers        "EventCode": "0xC2",
91001dd2545SAndi Kleen        "EventName": "UOPS_RETIRED.ANY",
911274c0a75SIan Rogers        "PEBS": "1",
91201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
913274c0a75SIan Rogers        "UMask": "0x1"
91401dd2545SAndi Kleen    },
91501dd2545SAndi Kleen    {
916274c0a75SIan Rogers        "BriefDescription": "Macro-fused Uops retired (Precise Event)",
91701dd2545SAndi Kleen        "Counter": "0,1,2,3",
918274c0a75SIan Rogers        "EventCode": "0xC2",
91901dd2545SAndi Kleen        "EventName": "UOPS_RETIRED.MACRO_FUSED",
920274c0a75SIan Rogers        "PEBS": "1",
92101dd2545SAndi Kleen        "SampleAfterValue": "2000000",
922274c0a75SIan Rogers        "UMask": "0x4"
92301dd2545SAndi Kleen    },
92401dd2545SAndi Kleen    {
925274c0a75SIan Rogers        "BriefDescription": "Retirement slots used (Precise Event)",
92601dd2545SAndi Kleen        "Counter": "0,1,2,3",
927274c0a75SIan Rogers        "EventCode": "0xC2",
92801dd2545SAndi Kleen        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
929274c0a75SIan Rogers        "PEBS": "1",
93001dd2545SAndi Kleen        "SampleAfterValue": "2000000",
931274c0a75SIan Rogers        "UMask": "0x2"
93201dd2545SAndi Kleen    },
93301dd2545SAndi Kleen    {
93401dd2545SAndi Kleen        "BriefDescription": "Cycles Uops are not retiring (Precise Event)",
935274c0a75SIan Rogers        "Counter": "0,1,2,3",
936274c0a75SIan Rogers        "CounterMask": "1",
93701dd2545SAndi Kleen        "EventCode": "0xC2",
938274c0a75SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
93901dd2545SAndi Kleen        "Invert": "1",
940274c0a75SIan Rogers        "PEBS": "1",
94101dd2545SAndi Kleen        "SampleAfterValue": "2000000",
942274c0a75SIan Rogers        "UMask": "0x1"
94301dd2545SAndi Kleen    },
94401dd2545SAndi Kleen    {
945274c0a75SIan Rogers        "BriefDescription": "Total cycles using precise uop retired event (Precise Event)",
94601dd2545SAndi Kleen        "Counter": "0,1,2,3",
947274c0a75SIan Rogers        "CounterMask": "16",
948274c0a75SIan Rogers        "EventCode": "0xC2",
949274c0a75SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
950274c0a75SIan Rogers        "Invert": "1",
951274c0a75SIan Rogers        "PEBS": "1",
95201dd2545SAndi Kleen        "SampleAfterValue": "2000000",
953274c0a75SIan Rogers        "UMask": "0x1"
954274c0a75SIan Rogers    },
955274c0a75SIan Rogers    {
956274c0a75SIan Rogers        "BriefDescription": "Uop unfusions due to FP exceptions",
957274c0a75SIan Rogers        "Counter": "0,1,2,3",
958274c0a75SIan Rogers        "EventCode": "0xDB",
959274c0a75SIan Rogers        "EventName": "UOP_UNFUSION",
960274c0a75SIan Rogers        "SampleAfterValue": "2000000",
961274c0a75SIan Rogers        "UMask": "0x1"
96201dd2545SAndi Kleen    }
96301dd2545SAndi Kleen]
964