xref: /linux/tools/perf/pmu-events/arch/x86/westmereex/pipeline.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
11fbd54b2SAndi Kleen[
21fbd54b2SAndi Kleen    {
34ad91126SIan Rogers        "BriefDescription": "Cycles the divider is busy",
4*788c5160SIan Rogers        "Counter": "0,1,2,3",
54ad91126SIan Rogers        "EventCode": "0x14",
61fbd54b2SAndi Kleen        "EventName": "ARITH.CYCLES_DIV_BUSY",
71fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
84ad91126SIan Rogers        "UMask": "0x1"
91fbd54b2SAndi Kleen    },
101fbd54b2SAndi Kleen    {
111fbd54b2SAndi Kleen        "BriefDescription": "Divide Operations executed",
12*788c5160SIan Rogers        "Counter": "0,1,2,3",
131fbd54b2SAndi Kleen        "CounterMask": "1",
144ad91126SIan Rogers        "EdgeDetect": "1",
154ad91126SIan Rogers        "EventCode": "0x14",
164ad91126SIan Rogers        "EventName": "ARITH.DIV",
174ad91126SIan Rogers        "Invert": "1",
184ad91126SIan Rogers        "SampleAfterValue": "2000000",
194ad91126SIan Rogers        "UMask": "0x1"
201fbd54b2SAndi Kleen    },
211fbd54b2SAndi Kleen    {
224ad91126SIan Rogers        "BriefDescription": "Multiply operations executed",
23*788c5160SIan Rogers        "Counter": "0,1,2,3",
244ad91126SIan Rogers        "EventCode": "0x14",
251fbd54b2SAndi Kleen        "EventName": "ARITH.MUL",
261fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
274ad91126SIan Rogers        "UMask": "0x2"
281fbd54b2SAndi Kleen    },
291fbd54b2SAndi Kleen    {
304ad91126SIan Rogers        "BriefDescription": "BACLEAR asserted with bad target address",
31*788c5160SIan Rogers        "Counter": "0,1,2,3",
324ad91126SIan Rogers        "EventCode": "0xE6",
331fbd54b2SAndi Kleen        "EventName": "BACLEAR.BAD_TARGET",
341fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
354ad91126SIan Rogers        "UMask": "0x2"
361fbd54b2SAndi Kleen    },
371fbd54b2SAndi Kleen    {
384ad91126SIan Rogers        "BriefDescription": "BACLEAR asserted, regardless of cause",
39*788c5160SIan Rogers        "Counter": "0,1,2,3",
404ad91126SIan Rogers        "EventCode": "0xE6",
411fbd54b2SAndi Kleen        "EventName": "BACLEAR.CLEAR",
421fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
434ad91126SIan Rogers        "UMask": "0x1"
441fbd54b2SAndi Kleen    },
451fbd54b2SAndi Kleen    {
464ad91126SIan Rogers        "BriefDescription": "Instruction queue forced BACLEAR",
47*788c5160SIan Rogers        "Counter": "0,1,2,3",
484ad91126SIan Rogers        "EventCode": "0xA7",
491fbd54b2SAndi Kleen        "EventName": "BACLEAR_FORCE_IQ",
501fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
514ad91126SIan Rogers        "UMask": "0x1"
521fbd54b2SAndi Kleen    },
531fbd54b2SAndi Kleen    {
54b6292081SIan Rogers        "BriefDescription": "Early Branch Prediction Unit clears",
55*788c5160SIan Rogers        "Counter": "0,1,2,3",
5644a4b9adSIan Rogers        "EventCode": "0xE8",
5744a4b9adSIan Rogers        "EventName": "BPU_CLEARS.EARLY",
5844a4b9adSIan Rogers        "SampleAfterValue": "2000000",
5944a4b9adSIan Rogers        "UMask": "0x1"
6044a4b9adSIan Rogers    },
6144a4b9adSIan Rogers    {
6244a4b9adSIan Rogers        "BriefDescription": "Late Branch Prediction Unit clears",
63*788c5160SIan Rogers        "Counter": "0,1,2,3",
6444a4b9adSIan Rogers        "EventCode": "0xE8",
6544a4b9adSIan Rogers        "EventName": "BPU_CLEARS.LATE",
6644a4b9adSIan Rogers        "SampleAfterValue": "2000000",
6744a4b9adSIan Rogers        "UMask": "0x2"
6844a4b9adSIan Rogers    },
6944a4b9adSIan Rogers    {
7044a4b9adSIan Rogers        "BriefDescription": "Branch prediction unit missed call or return",
71*788c5160SIan Rogers        "Counter": "0,1,2,3",
7244a4b9adSIan Rogers        "EventCode": "0xE5",
7344a4b9adSIan Rogers        "EventName": "BPU_MISSED_CALL_RET",
7444a4b9adSIan Rogers        "SampleAfterValue": "2000000",
7544a4b9adSIan Rogers        "UMask": "0x1"
7644a4b9adSIan Rogers    },
7744a4b9adSIan Rogers    {
784ad91126SIan Rogers        "BriefDescription": "Branch instructions decoded",
79*788c5160SIan Rogers        "Counter": "0,1,2,3",
804ad91126SIan Rogers        "EventCode": "0xE0",
811fbd54b2SAndi Kleen        "EventName": "BR_INST_DECODED",
821fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
834ad91126SIan Rogers        "UMask": "0x1"
841fbd54b2SAndi Kleen    },
851fbd54b2SAndi Kleen    {
864ad91126SIan Rogers        "BriefDescription": "Branch instructions executed",
87*788c5160SIan Rogers        "Counter": "0,1,2,3",
884ad91126SIan Rogers        "EventCode": "0x88",
891fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.ANY",
901fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
914ad91126SIan Rogers        "UMask": "0x7f"
921fbd54b2SAndi Kleen    },
931fbd54b2SAndi Kleen    {
944ad91126SIan Rogers        "BriefDescription": "Conditional branch instructions executed",
95*788c5160SIan Rogers        "Counter": "0,1,2,3",
964ad91126SIan Rogers        "EventCode": "0x88",
971fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.COND",
981fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
994ad91126SIan Rogers        "UMask": "0x1"
1001fbd54b2SAndi Kleen    },
1011fbd54b2SAndi Kleen    {
1024ad91126SIan Rogers        "BriefDescription": "Unconditional branches executed",
103*788c5160SIan Rogers        "Counter": "0,1,2,3",
1044ad91126SIan Rogers        "EventCode": "0x88",
1051fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT",
1061fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
1074ad91126SIan Rogers        "UMask": "0x2"
1081fbd54b2SAndi Kleen    },
1091fbd54b2SAndi Kleen    {
1104ad91126SIan Rogers        "BriefDescription": "Unconditional call branches executed",
111*788c5160SIan Rogers        "Counter": "0,1,2,3",
1124ad91126SIan Rogers        "EventCode": "0x88",
1131fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.DIRECT_NEAR_CALL",
1141fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
1154ad91126SIan Rogers        "UMask": "0x10"
1161fbd54b2SAndi Kleen    },
1171fbd54b2SAndi Kleen    {
1184ad91126SIan Rogers        "BriefDescription": "Indirect call branches executed",
119*788c5160SIan Rogers        "Counter": "0,1,2,3",
1204ad91126SIan Rogers        "EventCode": "0x88",
1211fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NEAR_CALL",
1221fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
1234ad91126SIan Rogers        "UMask": "0x20"
1241fbd54b2SAndi Kleen    },
1251fbd54b2SAndi Kleen    {
1264ad91126SIan Rogers        "BriefDescription": "Indirect non call branches executed",
127*788c5160SIan Rogers        "Counter": "0,1,2,3",
1284ad91126SIan Rogers        "EventCode": "0x88",
1291fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.INDIRECT_NON_CALL",
1301fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
1314ad91126SIan Rogers        "UMask": "0x4"
1321fbd54b2SAndi Kleen    },
1331fbd54b2SAndi Kleen    {
1344ad91126SIan Rogers        "BriefDescription": "Call branches executed",
135*788c5160SIan Rogers        "Counter": "0,1,2,3",
1364ad91126SIan Rogers        "EventCode": "0x88",
1371fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.NEAR_CALLS",
1381fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
1394ad91126SIan Rogers        "UMask": "0x30"
1401fbd54b2SAndi Kleen    },
1411fbd54b2SAndi Kleen    {
1424ad91126SIan Rogers        "BriefDescription": "All non call branches executed",
143*788c5160SIan Rogers        "Counter": "0,1,2,3",
1444ad91126SIan Rogers        "EventCode": "0x88",
1451fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.NON_CALLS",
1461fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
1474ad91126SIan Rogers        "UMask": "0x7"
1481fbd54b2SAndi Kleen    },
1491fbd54b2SAndi Kleen    {
1504ad91126SIan Rogers        "BriefDescription": "Indirect return branches executed",
151*788c5160SIan Rogers        "Counter": "0,1,2,3",
1524ad91126SIan Rogers        "EventCode": "0x88",
1531fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.RETURN_NEAR",
1541fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
1554ad91126SIan Rogers        "UMask": "0x8"
1561fbd54b2SAndi Kleen    },
1571fbd54b2SAndi Kleen    {
1584ad91126SIan Rogers        "BriefDescription": "Taken branches executed",
159*788c5160SIan Rogers        "Counter": "0,1,2,3",
1604ad91126SIan Rogers        "EventCode": "0x88",
1611fbd54b2SAndi Kleen        "EventName": "BR_INST_EXEC.TAKEN",
1621fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
1634ad91126SIan Rogers        "UMask": "0x40"
1641fbd54b2SAndi Kleen    },
1651fbd54b2SAndi Kleen    {
1664ad91126SIan Rogers        "BriefDescription": "Retired branch instructions (Precise Event)",
167*788c5160SIan Rogers        "Counter": "0,1,2,3",
1684ad91126SIan Rogers        "EventCode": "0xC4",
1691fbd54b2SAndi Kleen        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
1704ad91126SIan Rogers        "PEBS": "1",
1711fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
1724ad91126SIan Rogers        "UMask": "0x4"
1731fbd54b2SAndi Kleen    },
1741fbd54b2SAndi Kleen    {
1754ad91126SIan Rogers        "BriefDescription": "Retired conditional branch instructions (Precise Event)",
176*788c5160SIan Rogers        "Counter": "0,1,2,3",
1774ad91126SIan Rogers        "EventCode": "0xC4",
1781fbd54b2SAndi Kleen        "EventName": "BR_INST_RETIRED.CONDITIONAL",
1791fbd54b2SAndi Kleen        "PEBS": "1",
1804ad91126SIan Rogers        "SampleAfterValue": "200000",
1814ad91126SIan Rogers        "UMask": "0x1"
1821fbd54b2SAndi Kleen    },
1831fbd54b2SAndi Kleen    {
1844ad91126SIan Rogers        "BriefDescription": "Retired near call instructions (Precise Event)",
185*788c5160SIan Rogers        "Counter": "0,1,2,3",
1864ad91126SIan Rogers        "EventCode": "0xC4",
1874ad91126SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
1884ad91126SIan Rogers        "PEBS": "1",
1894ad91126SIan Rogers        "SampleAfterValue": "20000",
1904ad91126SIan Rogers        "UMask": "0x2"
1914ad91126SIan Rogers    },
1924ad91126SIan Rogers    {
1934ad91126SIan Rogers        "BriefDescription": "Mispredicted branches executed",
194*788c5160SIan Rogers        "Counter": "0,1,2,3",
1954ad91126SIan Rogers        "EventCode": "0x89",
1961fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.ANY",
1971fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
1984ad91126SIan Rogers        "UMask": "0x7f"
1991fbd54b2SAndi Kleen    },
2001fbd54b2SAndi Kleen    {
2014ad91126SIan Rogers        "BriefDescription": "Mispredicted conditional branches executed",
202*788c5160SIan Rogers        "Counter": "0,1,2,3",
2034ad91126SIan Rogers        "EventCode": "0x89",
2041fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.COND",
2051fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
2064ad91126SIan Rogers        "UMask": "0x1"
2071fbd54b2SAndi Kleen    },
2081fbd54b2SAndi Kleen    {
2094ad91126SIan Rogers        "BriefDescription": "Mispredicted unconditional branches executed",
210*788c5160SIan Rogers        "Counter": "0,1,2,3",
2114ad91126SIan Rogers        "EventCode": "0x89",
2121fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT",
2131fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
2144ad91126SIan Rogers        "UMask": "0x2"
2151fbd54b2SAndi Kleen    },
2161fbd54b2SAndi Kleen    {
2174ad91126SIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
218*788c5160SIan Rogers        "Counter": "0,1,2,3",
2194ad91126SIan Rogers        "EventCode": "0x89",
2201fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.DIRECT_NEAR_CALL",
2211fbd54b2SAndi Kleen        "SampleAfterValue": "2000",
2224ad91126SIan Rogers        "UMask": "0x10"
2231fbd54b2SAndi Kleen    },
2241fbd54b2SAndi Kleen    {
2254ad91126SIan Rogers        "BriefDescription": "Mispredicted indirect call branches executed",
226*788c5160SIan Rogers        "Counter": "0,1,2,3",
2274ad91126SIan Rogers        "EventCode": "0x89",
2281fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NEAR_CALL",
2291fbd54b2SAndi Kleen        "SampleAfterValue": "2000",
2304ad91126SIan Rogers        "UMask": "0x20"
2311fbd54b2SAndi Kleen    },
2321fbd54b2SAndi Kleen    {
2334ad91126SIan Rogers        "BriefDescription": "Mispredicted indirect non call branches executed",
234*788c5160SIan Rogers        "Counter": "0,1,2,3",
2354ad91126SIan Rogers        "EventCode": "0x89",
2361fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.INDIRECT_NON_CALL",
2371fbd54b2SAndi Kleen        "SampleAfterValue": "2000",
2384ad91126SIan Rogers        "UMask": "0x4"
2391fbd54b2SAndi Kleen    },
2401fbd54b2SAndi Kleen    {
2414ad91126SIan Rogers        "BriefDescription": "Mispredicted call branches executed",
242*788c5160SIan Rogers        "Counter": "0,1,2,3",
2434ad91126SIan Rogers        "EventCode": "0x89",
2441fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.NEAR_CALLS",
2451fbd54b2SAndi Kleen        "SampleAfterValue": "2000",
2464ad91126SIan Rogers        "UMask": "0x30"
2471fbd54b2SAndi Kleen    },
2481fbd54b2SAndi Kleen    {
2494ad91126SIan Rogers        "BriefDescription": "Mispredicted non call branches executed",
250*788c5160SIan Rogers        "Counter": "0,1,2,3",
2514ad91126SIan Rogers        "EventCode": "0x89",
2521fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.NON_CALLS",
2531fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
2544ad91126SIan Rogers        "UMask": "0x7"
2551fbd54b2SAndi Kleen    },
2561fbd54b2SAndi Kleen    {
2574ad91126SIan Rogers        "BriefDescription": "Mispredicted return branches executed",
258*788c5160SIan Rogers        "Counter": "0,1,2,3",
2594ad91126SIan Rogers        "EventCode": "0x89",
2601fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.RETURN_NEAR",
2611fbd54b2SAndi Kleen        "SampleAfterValue": "2000",
2624ad91126SIan Rogers        "UMask": "0x8"
2631fbd54b2SAndi Kleen    },
2641fbd54b2SAndi Kleen    {
2654ad91126SIan Rogers        "BriefDescription": "Mispredicted taken branches executed",
266*788c5160SIan Rogers        "Counter": "0,1,2,3",
2674ad91126SIan Rogers        "EventCode": "0x89",
2681fbd54b2SAndi Kleen        "EventName": "BR_MISP_EXEC.TAKEN",
2691fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
2704ad91126SIan Rogers        "UMask": "0x40"
2711fbd54b2SAndi Kleen    },
2721fbd54b2SAndi Kleen    {
2734ad91126SIan Rogers        "BriefDescription": "Mispredicted retired branch instructions (Precise Event)",
274*788c5160SIan Rogers        "Counter": "0,1,2,3",
2754ad91126SIan Rogers        "EventCode": "0xC5",
2761fbd54b2SAndi Kleen        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
2774ad91126SIan Rogers        "PEBS": "1",
2781fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
2794ad91126SIan Rogers        "UMask": "0x4"
2801fbd54b2SAndi Kleen    },
2811fbd54b2SAndi Kleen    {
2824ad91126SIan Rogers        "BriefDescription": "Mispredicted conditional retired branches (Precise Event)",
283*788c5160SIan Rogers        "Counter": "0,1,2,3",
2844ad91126SIan Rogers        "EventCode": "0xC5",
2851fbd54b2SAndi Kleen        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
2861fbd54b2SAndi Kleen        "PEBS": "1",
2874ad91126SIan Rogers        "SampleAfterValue": "20000",
2884ad91126SIan Rogers        "UMask": "0x1"
2891fbd54b2SAndi Kleen    },
2901fbd54b2SAndi Kleen    {
2914ad91126SIan Rogers        "BriefDescription": "Mispredicted near retired calls (Precise Event)",
292*788c5160SIan Rogers        "Counter": "0,1,2,3",
2934ad91126SIan Rogers        "EventCode": "0xC5",
2944ad91126SIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
2954ad91126SIan Rogers        "PEBS": "1",
2964ad91126SIan Rogers        "SampleAfterValue": "2000",
2974ad91126SIan Rogers        "UMask": "0x2"
2984ad91126SIan Rogers    },
2994ad91126SIan Rogers    {
3004ad91126SIan Rogers        "BriefDescription": "Reference cycles when thread is not halted (fixed counter)",
301*788c5160SIan Rogers        "Counter": "Fixed counter 3",
3021fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF",
3036abaa020SIan Rogers        "SampleAfterValue": "2000000"
3041fbd54b2SAndi Kleen    },
3051fbd54b2SAndi Kleen    {
3064ad91126SIan Rogers        "BriefDescription": "Reference base clock (133 Mhz) cycles when thread is not halted (programmable counter)",
307*788c5160SIan Rogers        "Counter": "0,1,2,3",
3084ad91126SIan Rogers        "EventCode": "0x3C",
3091fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_P",
3101fbd54b2SAndi Kleen        "SampleAfterValue": "100000",
3114ad91126SIan Rogers        "UMask": "0x1"
3121fbd54b2SAndi Kleen    },
3131fbd54b2SAndi Kleen    {
3144ad91126SIan Rogers        "BriefDescription": "Cycles when thread is not halted (fixed counter)",
315*788c5160SIan Rogers        "Counter": "Fixed counter 2",
3161fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD",
3176abaa020SIan Rogers        "SampleAfterValue": "2000000"
3181fbd54b2SAndi Kleen    },
3191fbd54b2SAndi Kleen    {
3204ad91126SIan Rogers        "BriefDescription": "Cycles when thread is not halted (programmable counter)",
321*788c5160SIan Rogers        "Counter": "0,1,2,3",
3224ad91126SIan Rogers        "EventCode": "0x3C",
3231fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
3246abaa020SIan Rogers        "SampleAfterValue": "2000000"
3251fbd54b2SAndi Kleen    },
3261fbd54b2SAndi Kleen    {
3271fbd54b2SAndi Kleen        "BriefDescription": "Total CPU cycles",
328*788c5160SIan Rogers        "Counter": "0,1,2,3",
3294ad91126SIan Rogers        "CounterMask": "2",
3304ad91126SIan Rogers        "EventCode": "0x3C",
3314ad91126SIan Rogers        "EventName": "CPU_CLK_UNHALTED.TOTAL_CYCLES",
3324ad91126SIan Rogers        "Invert": "1",
3336abaa020SIan Rogers        "SampleAfterValue": "2000000"
3341fbd54b2SAndi Kleen    },
3351fbd54b2SAndi Kleen    {
3364ad91126SIan Rogers        "BriefDescription": "Any Instruction Length Decoder stall cycles",
337*788c5160SIan Rogers        "Counter": "0,1,2,3",
3384ad91126SIan Rogers        "EventCode": "0x87",
3391fbd54b2SAndi Kleen        "EventName": "ILD_STALL.ANY",
3401fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3414ad91126SIan Rogers        "UMask": "0xf"
3421fbd54b2SAndi Kleen    },
3431fbd54b2SAndi Kleen    {
3444ad91126SIan Rogers        "BriefDescription": "Instruction Queue full stall cycles",
345*788c5160SIan Rogers        "Counter": "0,1,2,3",
3464ad91126SIan Rogers        "EventCode": "0x87",
3471fbd54b2SAndi Kleen        "EventName": "ILD_STALL.IQ_FULL",
3481fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3494ad91126SIan Rogers        "UMask": "0x4"
3501fbd54b2SAndi Kleen    },
3511fbd54b2SAndi Kleen    {
3524ad91126SIan Rogers        "BriefDescription": "Length Change Prefix stall cycles",
353*788c5160SIan Rogers        "Counter": "0,1,2,3",
3544ad91126SIan Rogers        "EventCode": "0x87",
3551fbd54b2SAndi Kleen        "EventName": "ILD_STALL.LCP",
3561fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3574ad91126SIan Rogers        "UMask": "0x1"
3581fbd54b2SAndi Kleen    },
3591fbd54b2SAndi Kleen    {
3604ad91126SIan Rogers        "BriefDescription": "Stall cycles due to BPU MRU bypass",
361*788c5160SIan Rogers        "Counter": "0,1,2,3",
3624ad91126SIan Rogers        "EventCode": "0x87",
3631fbd54b2SAndi Kleen        "EventName": "ILD_STALL.MRU",
3641fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3654ad91126SIan Rogers        "UMask": "0x2"
3661fbd54b2SAndi Kleen    },
3671fbd54b2SAndi Kleen    {
3684ad91126SIan Rogers        "BriefDescription": "Regen stall cycles",
369*788c5160SIan Rogers        "Counter": "0,1,2,3",
3704ad91126SIan Rogers        "EventCode": "0x87",
3711fbd54b2SAndi Kleen        "EventName": "ILD_STALL.REGEN",
3721fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3734ad91126SIan Rogers        "UMask": "0x8"
3741fbd54b2SAndi Kleen    },
3751fbd54b2SAndi Kleen    {
3764ad91126SIan Rogers        "BriefDescription": "Instructions that must be decoded by decoder 0",
377*788c5160SIan Rogers        "Counter": "0,1,2,3",
3784ad91126SIan Rogers        "EventCode": "0x18",
3791fbd54b2SAndi Kleen        "EventName": "INST_DECODED.DEC0",
3801fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3814ad91126SIan Rogers        "UMask": "0x1"
3821fbd54b2SAndi Kleen    },
3831fbd54b2SAndi Kleen    {
3844ad91126SIan Rogers        "BriefDescription": "Instructions written to instruction queue.",
385*788c5160SIan Rogers        "Counter": "0,1,2,3",
3861fbd54b2SAndi Kleen        "EventCode": "0x17",
3871fbd54b2SAndi Kleen        "EventName": "INST_QUEUE_WRITES",
3881fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3894ad91126SIan Rogers        "UMask": "0x1"
3901fbd54b2SAndi Kleen    },
3911fbd54b2SAndi Kleen    {
3924ad91126SIan Rogers        "BriefDescription": "Cycles instructions are written to the instruction queue",
393*788c5160SIan Rogers        "Counter": "0,1,2,3",
3944ad91126SIan Rogers        "EventCode": "0x1E",
3954ad91126SIan Rogers        "EventName": "INST_QUEUE_WRITE_CYCLES",
3964ad91126SIan Rogers        "SampleAfterValue": "2000000",
3974ad91126SIan Rogers        "UMask": "0x1"
3984ad91126SIan Rogers    },
3994ad91126SIan Rogers    {
4004ad91126SIan Rogers        "BriefDescription": "Instructions retired (fixed counter)",
401*788c5160SIan Rogers        "Counter": "Fixed counter 1",
4021fbd54b2SAndi Kleen        "EventName": "INST_RETIRED.ANY",
4036abaa020SIan Rogers        "SampleAfterValue": "2000000"
4041fbd54b2SAndi Kleen    },
4051fbd54b2SAndi Kleen    {
4064ad91126SIan Rogers        "BriefDescription": "Instructions retired (Programmable counter and Precise Event)",
407*788c5160SIan Rogers        "Counter": "0,1,2,3",
4084ad91126SIan Rogers        "EventCode": "0xC0",
4091fbd54b2SAndi Kleen        "EventName": "INST_RETIRED.ANY_P",
4104ad91126SIan Rogers        "PEBS": "1",
4111fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4124ad91126SIan Rogers        "UMask": "0x1"
4131fbd54b2SAndi Kleen    },
4141fbd54b2SAndi Kleen    {
4154ad91126SIan Rogers        "BriefDescription": "Retired MMX instructions (Precise Event)",
416*788c5160SIan Rogers        "Counter": "0,1,2,3",
4174ad91126SIan Rogers        "EventCode": "0xC0",
4181fbd54b2SAndi Kleen        "EventName": "INST_RETIRED.MMX",
4194ad91126SIan Rogers        "PEBS": "1",
4201fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4214ad91126SIan Rogers        "UMask": "0x4"
4221fbd54b2SAndi Kleen    },
4231fbd54b2SAndi Kleen    {
4241fbd54b2SAndi Kleen        "BriefDescription": "Total cycles (Precise Event)",
425*788c5160SIan Rogers        "Counter": "0,1,2,3",
4264ad91126SIan Rogers        "CounterMask": "16",
4274ad91126SIan Rogers        "EventCode": "0xC0",
4284ad91126SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES",
4294ad91126SIan Rogers        "Invert": "1",
4304ad91126SIan Rogers        "PEBS": "1",
4311fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4324ad91126SIan Rogers        "UMask": "0x1"
4331fbd54b2SAndi Kleen    },
4341fbd54b2SAndi Kleen    {
4354ad91126SIan Rogers        "BriefDescription": "Total cycles (Precise Event)",
436*788c5160SIan Rogers        "Counter": "0,1,2,3",
4374ad91126SIan Rogers        "CounterMask": "16",
4384ad91126SIan Rogers        "EventCode": "0xC0",
4394ad91126SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
4404ad91126SIan Rogers        "Invert": "1",
4414ad91126SIan Rogers        "PEBS": "2",
4424ad91126SIan Rogers        "SampleAfterValue": "2000000",
4434ad91126SIan Rogers        "UMask": "0x1"
4444ad91126SIan Rogers    },
4454ad91126SIan Rogers    {
4464ad91126SIan Rogers        "BriefDescription": "Retired floating-point operations (Precise Event)",
447*788c5160SIan Rogers        "Counter": "0,1,2,3",
4484ad91126SIan Rogers        "EventCode": "0xC0",
4494ad91126SIan Rogers        "EventName": "INST_RETIRED.X87",
4504ad91126SIan Rogers        "PEBS": "1",
4514ad91126SIan Rogers        "SampleAfterValue": "2000000",
4524ad91126SIan Rogers        "UMask": "0x2"
4534ad91126SIan Rogers    },
4544ad91126SIan Rogers    {
4554ad91126SIan Rogers        "BriefDescription": "Load operations conflicting with software prefetches",
456*788c5160SIan Rogers        "Counter": "0,1",
4574ad91126SIan Rogers        "EventCode": "0x4C",
4581fbd54b2SAndi Kleen        "EventName": "LOAD_HIT_PRE",
4591fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
4604ad91126SIan Rogers        "UMask": "0x1"
4611fbd54b2SAndi Kleen    },
4621fbd54b2SAndi Kleen    {
4634ad91126SIan Rogers        "BriefDescription": "Cycles when uops were delivered by the LSD",
464*788c5160SIan Rogers        "Counter": "0,1,2,3",
4654ad91126SIan Rogers        "CounterMask": "1",
4664ad91126SIan Rogers        "EventCode": "0xA8",
4671fbd54b2SAndi Kleen        "EventName": "LSD.ACTIVE",
4681fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4694ad91126SIan Rogers        "UMask": "0x1"
4701fbd54b2SAndi Kleen    },
4711fbd54b2SAndi Kleen    {
4721fbd54b2SAndi Kleen        "BriefDescription": "Cycles no uops were delivered by the LSD",
473*788c5160SIan Rogers        "Counter": "0,1,2,3",
4744ad91126SIan Rogers        "CounterMask": "1",
4754ad91126SIan Rogers        "EventCode": "0xA8",
4764ad91126SIan Rogers        "EventName": "LSD.INACTIVE",
4774ad91126SIan Rogers        "Invert": "1",
4784ad91126SIan Rogers        "SampleAfterValue": "2000000",
4794ad91126SIan Rogers        "UMask": "0x1"
4801fbd54b2SAndi Kleen    },
4811fbd54b2SAndi Kleen    {
4824ad91126SIan Rogers        "BriefDescription": "Loops that can't stream from the instruction queue",
483*788c5160SIan Rogers        "Counter": "0,1,2,3",
4844ad91126SIan Rogers        "EventCode": "0x20",
4851fbd54b2SAndi Kleen        "EventName": "LSD_OVERFLOW",
4861fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4874ad91126SIan Rogers        "UMask": "0x1"
4881fbd54b2SAndi Kleen    },
4891fbd54b2SAndi Kleen    {
4904ad91126SIan Rogers        "BriefDescription": "Cycles machine clear asserted",
491*788c5160SIan Rogers        "Counter": "0,1,2,3",
4924ad91126SIan Rogers        "EventCode": "0xC3",
4931fbd54b2SAndi Kleen        "EventName": "MACHINE_CLEARS.CYCLES",
4941fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
4954ad91126SIan Rogers        "UMask": "0x1"
4961fbd54b2SAndi Kleen    },
4971fbd54b2SAndi Kleen    {
4984ad91126SIan Rogers        "BriefDescription": "Execution pipeline restart due to Memory ordering conflicts",
499*788c5160SIan Rogers        "Counter": "0,1,2,3",
5004ad91126SIan Rogers        "EventCode": "0xC3",
5011fbd54b2SAndi Kleen        "EventName": "MACHINE_CLEARS.MEM_ORDER",
5021fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
5034ad91126SIan Rogers        "UMask": "0x2"
5041fbd54b2SAndi Kleen    },
5051fbd54b2SAndi Kleen    {
5064ad91126SIan Rogers        "BriefDescription": "Self-Modifying Code detected",
507*788c5160SIan Rogers        "Counter": "0,1,2,3",
5084ad91126SIan Rogers        "EventCode": "0xC3",
5091fbd54b2SAndi Kleen        "EventName": "MACHINE_CLEARS.SMC",
5101fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
5114ad91126SIan Rogers        "UMask": "0x4"
5121fbd54b2SAndi Kleen    },
5131fbd54b2SAndi Kleen    {
51444a4b9adSIan Rogers        "BriefDescription": "All RAT stall cycles",
515*788c5160SIan Rogers        "Counter": "0,1,2,3",
51644a4b9adSIan Rogers        "EventCode": "0xD2",
51744a4b9adSIan Rogers        "EventName": "RAT_STALLS.ANY",
51844a4b9adSIan Rogers        "SampleAfterValue": "2000000",
51944a4b9adSIan Rogers        "UMask": "0xf"
52044a4b9adSIan Rogers    },
52144a4b9adSIan Rogers    {
52244a4b9adSIan Rogers        "BriefDescription": "Flag stall cycles",
523*788c5160SIan Rogers        "Counter": "0,1,2,3",
52444a4b9adSIan Rogers        "EventCode": "0xD2",
52544a4b9adSIan Rogers        "EventName": "RAT_STALLS.FLAGS",
52644a4b9adSIan Rogers        "SampleAfterValue": "2000000",
52744a4b9adSIan Rogers        "UMask": "0x1"
52844a4b9adSIan Rogers    },
52944a4b9adSIan Rogers    {
53044a4b9adSIan Rogers        "BriefDescription": "Partial register stall cycles",
531*788c5160SIan Rogers        "Counter": "0,1,2,3",
53244a4b9adSIan Rogers        "EventCode": "0xD2",
53344a4b9adSIan Rogers        "EventName": "RAT_STALLS.REGISTERS",
53444a4b9adSIan Rogers        "SampleAfterValue": "2000000",
53544a4b9adSIan Rogers        "UMask": "0x2"
53644a4b9adSIan Rogers    },
53744a4b9adSIan Rogers    {
53844a4b9adSIan Rogers        "BriefDescription": "ROB read port stalls cycles",
539*788c5160SIan Rogers        "Counter": "0,1,2,3",
54044a4b9adSIan Rogers        "EventCode": "0xD2",
54144a4b9adSIan Rogers        "EventName": "RAT_STALLS.ROB_READ_PORT",
54244a4b9adSIan Rogers        "SampleAfterValue": "2000000",
54344a4b9adSIan Rogers        "UMask": "0x4"
54444a4b9adSIan Rogers    },
54544a4b9adSIan Rogers    {
54644a4b9adSIan Rogers        "BriefDescription": "Scoreboard stall cycles",
547*788c5160SIan Rogers        "Counter": "0,1,2,3",
54844a4b9adSIan Rogers        "EventCode": "0xD2",
54944a4b9adSIan Rogers        "EventName": "RAT_STALLS.SCOREBOARD",
55044a4b9adSIan Rogers        "SampleAfterValue": "2000000",
55144a4b9adSIan Rogers        "UMask": "0x8"
55244a4b9adSIan Rogers    },
55344a4b9adSIan Rogers    {
5544ad91126SIan Rogers        "BriefDescription": "Resource related stall cycles",
555*788c5160SIan Rogers        "Counter": "0,1,2,3",
5564ad91126SIan Rogers        "EventCode": "0xA2",
5571fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.ANY",
5581fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5594ad91126SIan Rogers        "UMask": "0x1"
5601fbd54b2SAndi Kleen    },
5611fbd54b2SAndi Kleen    {
5624ad91126SIan Rogers        "BriefDescription": "FPU control word write stall cycles",
563*788c5160SIan Rogers        "Counter": "0,1,2,3",
5644ad91126SIan Rogers        "EventCode": "0xA2",
5651fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.FPCW",
5661fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5674ad91126SIan Rogers        "UMask": "0x20"
5681fbd54b2SAndi Kleen    },
5691fbd54b2SAndi Kleen    {
5704ad91126SIan Rogers        "BriefDescription": "Load buffer stall cycles",
571*788c5160SIan Rogers        "Counter": "0,1,2,3",
5724ad91126SIan Rogers        "EventCode": "0xA2",
5731fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.LOAD",
5741fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5754ad91126SIan Rogers        "UMask": "0x2"
5761fbd54b2SAndi Kleen    },
5771fbd54b2SAndi Kleen    {
5784ad91126SIan Rogers        "BriefDescription": "MXCSR rename stall cycles",
579*788c5160SIan Rogers        "Counter": "0,1,2,3",
5804ad91126SIan Rogers        "EventCode": "0xA2",
5811fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.MXCSR",
5821fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5834ad91126SIan Rogers        "UMask": "0x40"
5841fbd54b2SAndi Kleen    },
5851fbd54b2SAndi Kleen    {
5864ad91126SIan Rogers        "BriefDescription": "Other Resource related stall cycles",
587*788c5160SIan Rogers        "Counter": "0,1,2,3",
5884ad91126SIan Rogers        "EventCode": "0xA2",
5891fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.OTHER",
5901fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5914ad91126SIan Rogers        "UMask": "0x80"
5921fbd54b2SAndi Kleen    },
5931fbd54b2SAndi Kleen    {
5944ad91126SIan Rogers        "BriefDescription": "ROB full stall cycles",
595*788c5160SIan Rogers        "Counter": "0,1,2,3",
5964ad91126SIan Rogers        "EventCode": "0xA2",
5971fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.ROB_FULL",
5981fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5994ad91126SIan Rogers        "UMask": "0x10"
6001fbd54b2SAndi Kleen    },
6011fbd54b2SAndi Kleen    {
6024ad91126SIan Rogers        "BriefDescription": "Reservation Station full stall cycles",
603*788c5160SIan Rogers        "Counter": "0,1,2,3",
6044ad91126SIan Rogers        "EventCode": "0xA2",
6051fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.RS_FULL",
6061fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6074ad91126SIan Rogers        "UMask": "0x4"
6081fbd54b2SAndi Kleen    },
6091fbd54b2SAndi Kleen    {
6104ad91126SIan Rogers        "BriefDescription": "Store buffer stall cycles",
611*788c5160SIan Rogers        "Counter": "0,1,2,3",
6124ad91126SIan Rogers        "EventCode": "0xA2",
6131fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.STORE",
6141fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6154ad91126SIan Rogers        "UMask": "0x8"
6161fbd54b2SAndi Kleen    },
6171fbd54b2SAndi Kleen    {
6184ad91126SIan Rogers        "BriefDescription": "SIMD Packed-Double Uops retired (Precise Event)",
619*788c5160SIan Rogers        "Counter": "0,1,2,3",
6204ad91126SIan Rogers        "EventCode": "0xC7",
6211fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_DOUBLE",
6224ad91126SIan Rogers        "PEBS": "1",
6231fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6244ad91126SIan Rogers        "UMask": "0x4"
6251fbd54b2SAndi Kleen    },
6261fbd54b2SAndi Kleen    {
6274ad91126SIan Rogers        "BriefDescription": "SIMD Packed-Single Uops retired (Precise Event)",
628*788c5160SIan Rogers        "Counter": "0,1,2,3",
6294ad91126SIan Rogers        "EventCode": "0xC7",
6301fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_SINGLE",
6314ad91126SIan Rogers        "PEBS": "1",
6321fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6334ad91126SIan Rogers        "UMask": "0x1"
6341fbd54b2SAndi Kleen    },
6351fbd54b2SAndi Kleen    {
6364ad91126SIan Rogers        "BriefDescription": "SIMD Scalar-Double Uops retired (Precise Event)",
637*788c5160SIan Rogers        "Counter": "0,1,2,3",
6384ad91126SIan Rogers        "EventCode": "0xC7",
6391fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_DOUBLE",
6404ad91126SIan Rogers        "PEBS": "1",
6411fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6424ad91126SIan Rogers        "UMask": "0x8"
6431fbd54b2SAndi Kleen    },
6441fbd54b2SAndi Kleen    {
6454ad91126SIan Rogers        "BriefDescription": "SIMD Scalar-Single Uops retired (Precise Event)",
646*788c5160SIan Rogers        "Counter": "0,1,2,3",
6474ad91126SIan Rogers        "EventCode": "0xC7",
6481fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_SINGLE",
6491fbd54b2SAndi Kleen        "PEBS": "1",
6501fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6514ad91126SIan Rogers        "UMask": "0x2"
6521fbd54b2SAndi Kleen    },
6531fbd54b2SAndi Kleen    {
6544ad91126SIan Rogers        "BriefDescription": "SIMD Vector Integer Uops retired (Precise Event)",
655*788c5160SIan Rogers        "Counter": "0,1,2,3",
6564ad91126SIan Rogers        "EventCode": "0xC7",
6574ad91126SIan Rogers        "EventName": "SSEX_UOPS_RETIRED.VECTOR_INTEGER",
6584ad91126SIan Rogers        "PEBS": "1",
6594ad91126SIan Rogers        "SampleAfterValue": "200000",
6604ad91126SIan Rogers        "UMask": "0x10"
6611fbd54b2SAndi Kleen    },
6621fbd54b2SAndi Kleen    {
6634ad91126SIan Rogers        "BriefDescription": "Stack pointer instructions decoded",
664*788c5160SIan Rogers        "Counter": "0,1,2,3",
6651fbd54b2SAndi Kleen        "EventCode": "0xD1",
6661fbd54b2SAndi Kleen        "EventName": "UOPS_DECODED.ESP_FOLDING",
6671fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6684ad91126SIan Rogers        "UMask": "0x4"
6691fbd54b2SAndi Kleen    },
6701fbd54b2SAndi Kleen    {
6714ad91126SIan Rogers        "BriefDescription": "Stack pointer sync operations",
672*788c5160SIan Rogers        "Counter": "0,1,2,3",
6734ad91126SIan Rogers        "EventCode": "0xD1",
6741fbd54b2SAndi Kleen        "EventName": "UOPS_DECODED.ESP_SYNC",
6751fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6764ad91126SIan Rogers        "UMask": "0x8"
6771fbd54b2SAndi Kleen    },
6781fbd54b2SAndi Kleen    {
6794ad91126SIan Rogers        "BriefDescription": "Uops decoded by Microcode Sequencer",
680*788c5160SIan Rogers        "Counter": "0,1,2,3",
6814ad91126SIan Rogers        "CounterMask": "1",
6824ad91126SIan Rogers        "EventCode": "0xD1",
6831fbd54b2SAndi Kleen        "EventName": "UOPS_DECODED.MS_CYCLES_ACTIVE",
6841fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6854ad91126SIan Rogers        "UMask": "0x2"
6861fbd54b2SAndi Kleen    },
6871fbd54b2SAndi Kleen    {
6881fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops are decoded",
689*788c5160SIan Rogers        "Counter": "0,1,2,3",
6904ad91126SIan Rogers        "CounterMask": "1",
6914ad91126SIan Rogers        "EventCode": "0xD1",
6924ad91126SIan Rogers        "EventName": "UOPS_DECODED.STALL_CYCLES",
6934ad91126SIan Rogers        "Invert": "1",
6944ad91126SIan Rogers        "SampleAfterValue": "2000000",
6954ad91126SIan Rogers        "UMask": "0x1"
6961fbd54b2SAndi Kleen    },
6971fbd54b2SAndi Kleen    {
6981fbd54b2SAndi Kleen        "AnyThread": "1",
6994ad91126SIan Rogers        "BriefDescription": "Cycles Uops executed on any port (core count)",
700*788c5160SIan Rogers        "Counter": "0,1,2,3",
7014ad91126SIan Rogers        "CounterMask": "1",
7024ad91126SIan Rogers        "EventCode": "0xB1",
7031fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES",
7041fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7054ad91126SIan Rogers        "UMask": "0x3f"
7061fbd54b2SAndi Kleen    },
7071fbd54b2SAndi Kleen    {
7081fbd54b2SAndi Kleen        "AnyThread": "1",
7094ad91126SIan Rogers        "BriefDescription": "Cycles Uops executed on ports 0-4 (core count)",
710*788c5160SIan Rogers        "Counter": "0,1,2,3",
7114ad91126SIan Rogers        "CounterMask": "1",
7124ad91126SIan Rogers        "EventCode": "0xB1",
7131fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5",
7141fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7154ad91126SIan Rogers        "UMask": "0x1f"
7161fbd54b2SAndi Kleen    },
7171fbd54b2SAndi Kleen    {
7181fbd54b2SAndi Kleen        "BriefDescription": "Uops executed on any port (core count)",
719*788c5160SIan Rogers        "Counter": "0,1,2,3",
7201fbd54b2SAndi Kleen        "CounterMask": "1",
7214ad91126SIan Rogers        "EdgeDetect": "1",
7224ad91126SIan Rogers        "EventCode": "0xB1",
7234ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT",
7244ad91126SIan Rogers        "Invert": "1",
7254ad91126SIan Rogers        "SampleAfterValue": "2000000",
7264ad91126SIan Rogers        "UMask": "0x3f"
7271fbd54b2SAndi Kleen    },
7281fbd54b2SAndi Kleen    {
7291fbd54b2SAndi Kleen        "BriefDescription": "Uops executed on ports 0-4 (core count)",
730*788c5160SIan Rogers        "Counter": "0,1,2,3",
7311fbd54b2SAndi Kleen        "CounterMask": "1",
7324ad91126SIan Rogers        "EdgeDetect": "1",
7334ad91126SIan Rogers        "EventCode": "0xB1",
7344ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT_NO_PORT5",
7354ad91126SIan Rogers        "Invert": "1",
7364ad91126SIan Rogers        "SampleAfterValue": "2000000",
7374ad91126SIan Rogers        "UMask": "0x1f"
7381fbd54b2SAndi Kleen    },
7391fbd54b2SAndi Kleen    {
7401fbd54b2SAndi Kleen        "AnyThread": "1",
7411fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops issued on any port (core count)",
742*788c5160SIan Rogers        "Counter": "0,1,2,3",
7434ad91126SIan Rogers        "CounterMask": "1",
7441fbd54b2SAndi Kleen        "EventCode": "0xB1",
7454ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES",
7461fbd54b2SAndi Kleen        "Invert": "1",
7471fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7484ad91126SIan Rogers        "UMask": "0x3f"
7491fbd54b2SAndi Kleen    },
7501fbd54b2SAndi Kleen    {
7514ad91126SIan Rogers        "AnyThread": "1",
7524ad91126SIan Rogers        "BriefDescription": "Cycles no Uops issued on ports 0-4 (core count)",
753*788c5160SIan Rogers        "Counter": "0,1,2,3",
7544ad91126SIan Rogers        "CounterMask": "1",
7554ad91126SIan Rogers        "EventCode": "0xB1",
7564ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES_NO_PORT5",
7574ad91126SIan Rogers        "Invert": "1",
7584ad91126SIan Rogers        "SampleAfterValue": "2000000",
7594ad91126SIan Rogers        "UMask": "0x1f"
7604ad91126SIan Rogers    },
7614ad91126SIan Rogers    {
7624ad91126SIan Rogers        "BriefDescription": "Uops executed on port 0",
763*788c5160SIan Rogers        "Counter": "0,1,2,3",
7644ad91126SIan Rogers        "EventCode": "0xB1",
7651fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT0",
7661fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7674ad91126SIan Rogers        "UMask": "0x1"
7681fbd54b2SAndi Kleen    },
7691fbd54b2SAndi Kleen    {
7704ad91126SIan Rogers        "BriefDescription": "Uops issued on ports 0, 1 or 5",
771*788c5160SIan Rogers        "Counter": "0,1,2,3",
7724ad91126SIan Rogers        "EventCode": "0xB1",
7731fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT015",
7741fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7754ad91126SIan Rogers        "UMask": "0x40"
7761fbd54b2SAndi Kleen    },
7771fbd54b2SAndi Kleen    {
7781fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops issued on ports 0, 1 or 5",
779*788c5160SIan Rogers        "Counter": "0,1,2,3",
7804ad91126SIan Rogers        "CounterMask": "1",
7814ad91126SIan Rogers        "EventCode": "0xB1",
7824ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.PORT015_STALL_CYCLES",
7834ad91126SIan Rogers        "Invert": "1",
7844ad91126SIan Rogers        "SampleAfterValue": "2000000",
7854ad91126SIan Rogers        "UMask": "0x40"
7861fbd54b2SAndi Kleen    },
7871fbd54b2SAndi Kleen    {
7884ad91126SIan Rogers        "BriefDescription": "Uops executed on port 1",
789*788c5160SIan Rogers        "Counter": "0,1,2,3",
7904ad91126SIan Rogers        "EventCode": "0xB1",
7911fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT1",
7921fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7934ad91126SIan Rogers        "UMask": "0x2"
7941fbd54b2SAndi Kleen    },
7951fbd54b2SAndi Kleen    {
7961fbd54b2SAndi Kleen        "AnyThread": "1",
7974ad91126SIan Rogers        "BriefDescription": "Uops issued on ports 2, 3 or 4",
798*788c5160SIan Rogers        "Counter": "0,1,2,3",
7994ad91126SIan Rogers        "EventCode": "0xB1",
8001fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT234_CORE",
8011fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8024ad91126SIan Rogers        "UMask": "0x80"
8031fbd54b2SAndi Kleen    },
8041fbd54b2SAndi Kleen    {
8051fbd54b2SAndi Kleen        "AnyThread": "1",
8064ad91126SIan Rogers        "BriefDescription": "Uops executed on port 2 (core count)",
807*788c5160SIan Rogers        "Counter": "0,1,2,3",
8084ad91126SIan Rogers        "EventCode": "0xB1",
8094ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.PORT2_CORE",
8104ad91126SIan Rogers        "SampleAfterValue": "2000000",
8114ad91126SIan Rogers        "UMask": "0x4"
8124ad91126SIan Rogers    },
8134ad91126SIan Rogers    {
8144ad91126SIan Rogers        "AnyThread": "1",
8154ad91126SIan Rogers        "BriefDescription": "Uops executed on port 3 (core count)",
816*788c5160SIan Rogers        "Counter": "0,1,2,3",
8174ad91126SIan Rogers        "EventCode": "0xB1",
8181fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT3_CORE",
8191fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8204ad91126SIan Rogers        "UMask": "0x8"
8211fbd54b2SAndi Kleen    },
8221fbd54b2SAndi Kleen    {
8231fbd54b2SAndi Kleen        "AnyThread": "1",
8244ad91126SIan Rogers        "BriefDescription": "Uops executed on port 4 (core count)",
825*788c5160SIan Rogers        "Counter": "0,1,2,3",
8264ad91126SIan Rogers        "EventCode": "0xB1",
8271fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT4_CORE",
8281fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8294ad91126SIan Rogers        "UMask": "0x10"
8301fbd54b2SAndi Kleen    },
8311fbd54b2SAndi Kleen    {
8324ad91126SIan Rogers        "BriefDescription": "Uops executed on port 5",
833*788c5160SIan Rogers        "Counter": "0,1,2,3",
8344ad91126SIan Rogers        "EventCode": "0xB1",
8351fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT5",
8361fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8374ad91126SIan Rogers        "UMask": "0x20"
8381fbd54b2SAndi Kleen    },
8391fbd54b2SAndi Kleen    {
8404ad91126SIan Rogers        "BriefDescription": "Uops issued",
841*788c5160SIan Rogers        "Counter": "0,1,2,3",
8424ad91126SIan Rogers        "EventCode": "0xE",
8431fbd54b2SAndi Kleen        "EventName": "UOPS_ISSUED.ANY",
8441fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8454ad91126SIan Rogers        "UMask": "0x1"
8461fbd54b2SAndi Kleen    },
8471fbd54b2SAndi Kleen    {
8481fbd54b2SAndi Kleen        "AnyThread": "1",
8491fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops were issued on any thread",
850*788c5160SIan Rogers        "Counter": "0,1,2,3",
8514ad91126SIan Rogers        "CounterMask": "1",
8524ad91126SIan Rogers        "EventCode": "0xE",
8534ad91126SIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
8544ad91126SIan Rogers        "Invert": "1",
8554ad91126SIan Rogers        "SampleAfterValue": "2000000",
8564ad91126SIan Rogers        "UMask": "0x1"
8571fbd54b2SAndi Kleen    },
8581fbd54b2SAndi Kleen    {
8591fbd54b2SAndi Kleen        "AnyThread": "1",
8604ad91126SIan Rogers        "BriefDescription": "Cycles Uops were issued on either thread",
861*788c5160SIan Rogers        "Counter": "0,1,2,3",
8624ad91126SIan Rogers        "CounterMask": "1",
8634ad91126SIan Rogers        "EventCode": "0xE",
8641fbd54b2SAndi Kleen        "EventName": "UOPS_ISSUED.CYCLES_ALL_THREADS",
8651fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8664ad91126SIan Rogers        "UMask": "0x1"
8671fbd54b2SAndi Kleen    },
8681fbd54b2SAndi Kleen    {
8694ad91126SIan Rogers        "BriefDescription": "Fused Uops issued",
870*788c5160SIan Rogers        "Counter": "0,1,2,3",
8714ad91126SIan Rogers        "EventCode": "0xE",
8721fbd54b2SAndi Kleen        "EventName": "UOPS_ISSUED.FUSED",
8731fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8744ad91126SIan Rogers        "UMask": "0x2"
8751fbd54b2SAndi Kleen    },
8761fbd54b2SAndi Kleen    {
8771fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops were issued",
878*788c5160SIan Rogers        "Counter": "0,1,2,3",
8794ad91126SIan Rogers        "CounterMask": "1",
8804ad91126SIan Rogers        "EventCode": "0xE",
8814ad91126SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
8824ad91126SIan Rogers        "Invert": "1",
8834ad91126SIan Rogers        "SampleAfterValue": "2000000",
8844ad91126SIan Rogers        "UMask": "0x1"
8851fbd54b2SAndi Kleen    },
8861fbd54b2SAndi Kleen    {
8871fbd54b2SAndi Kleen        "BriefDescription": "Cycles Uops are being retired",
888*788c5160SIan Rogers        "Counter": "0,1,2,3",
8894ad91126SIan Rogers        "CounterMask": "1",
8904ad91126SIan Rogers        "EventCode": "0xC2",
8914ad91126SIan Rogers        "EventName": "UOPS_RETIRED.ACTIVE_CYCLES",
8924ad91126SIan Rogers        "PEBS": "1",
8934ad91126SIan Rogers        "SampleAfterValue": "2000000",
8944ad91126SIan Rogers        "UMask": "0x1"
8951fbd54b2SAndi Kleen    },
8961fbd54b2SAndi Kleen    {
8974ad91126SIan Rogers        "BriefDescription": "Uops retired (Precise Event)",
898*788c5160SIan Rogers        "Counter": "0,1,2,3",
8994ad91126SIan Rogers        "EventCode": "0xC2",
9001fbd54b2SAndi Kleen        "EventName": "UOPS_RETIRED.ANY",
9014ad91126SIan Rogers        "PEBS": "1",
9021fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9034ad91126SIan Rogers        "UMask": "0x1"
9041fbd54b2SAndi Kleen    },
9051fbd54b2SAndi Kleen    {
9064ad91126SIan Rogers        "BriefDescription": "Macro-fused Uops retired (Precise Event)",
907*788c5160SIan Rogers        "Counter": "0,1,2,3",
9084ad91126SIan Rogers        "EventCode": "0xC2",
9091fbd54b2SAndi Kleen        "EventName": "UOPS_RETIRED.MACRO_FUSED",
9104ad91126SIan Rogers        "PEBS": "1",
9111fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9124ad91126SIan Rogers        "UMask": "0x4"
9131fbd54b2SAndi Kleen    },
9141fbd54b2SAndi Kleen    {
9154ad91126SIan Rogers        "BriefDescription": "Retirement slots used (Precise Event)",
916*788c5160SIan Rogers        "Counter": "0,1,2,3",
9174ad91126SIan Rogers        "EventCode": "0xC2",
9181fbd54b2SAndi Kleen        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
9194ad91126SIan Rogers        "PEBS": "1",
9201fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9214ad91126SIan Rogers        "UMask": "0x2"
9221fbd54b2SAndi Kleen    },
9231fbd54b2SAndi Kleen    {
9241fbd54b2SAndi Kleen        "BriefDescription": "Cycles Uops are not retiring (Precise Event)",
925*788c5160SIan Rogers        "Counter": "0,1,2,3",
9264ad91126SIan Rogers        "CounterMask": "1",
9271fbd54b2SAndi Kleen        "EventCode": "0xC2",
9284ad91126SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
9291fbd54b2SAndi Kleen        "Invert": "1",
9304ad91126SIan Rogers        "PEBS": "1",
9311fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9324ad91126SIan Rogers        "UMask": "0x1"
9331fbd54b2SAndi Kleen    },
9341fbd54b2SAndi Kleen    {
9354ad91126SIan Rogers        "BriefDescription": "Total cycles using precise uop retired event (Precise Event)",
936*788c5160SIan Rogers        "Counter": "0,1,2,3",
9374ad91126SIan Rogers        "CounterMask": "16",
9384ad91126SIan Rogers        "EventCode": "0xC2",
9394ad91126SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
9404ad91126SIan Rogers        "Invert": "1",
9414ad91126SIan Rogers        "PEBS": "1",
9421fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9434ad91126SIan Rogers        "UMask": "0x1"
9444ad91126SIan Rogers    },
9454ad91126SIan Rogers    {
9464ad91126SIan Rogers        "BriefDescription": "Uop unfusions due to FP exceptions",
947*788c5160SIan Rogers        "Counter": "0,1,2,3",
9484ad91126SIan Rogers        "EventCode": "0xDB",
9494ad91126SIan Rogers        "EventName": "UOP_UNFUSION",
9504ad91126SIan Rogers        "SampleAfterValue": "2000000",
9514ad91126SIan Rogers        "UMask": "0x1"
9521fbd54b2SAndi Kleen    }
9531fbd54b2SAndi Kleen]
954