xref: /linux/tools/perf/pmu-events/arch/x86/westmereex/pipeline.json (revision 44a4b9ad8eb3f1e7a8dc27dda1547073d5725887)
11fbd54b2SAndi Kleen[
21fbd54b2SAndi Kleen    {
34ad91126SIan Rogers        "BriefDescription": "Cycles the divider is busy",
41fbd54b2SAndi Kleen        "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",
124ad91126SIan 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",
231fbd54b2SAndi Kleen        "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",
311fbd54b2SAndi Kleen        "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",
391fbd54b2SAndi Kleen        "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",
471fbd54b2SAndi Kleen        "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    {
54*44a4b9adSIan Rogers        "BriefDescription": "Early Branch Prediciton Unit clears",
55*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
56*44a4b9adSIan Rogers        "EventCode": "0xE8",
57*44a4b9adSIan Rogers        "EventName": "BPU_CLEARS.EARLY",
58*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
59*44a4b9adSIan Rogers        "UMask": "0x1"
60*44a4b9adSIan Rogers    },
61*44a4b9adSIan Rogers    {
62*44a4b9adSIan Rogers        "BriefDescription": "Late Branch Prediction Unit clears",
63*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
64*44a4b9adSIan Rogers        "EventCode": "0xE8",
65*44a4b9adSIan Rogers        "EventName": "BPU_CLEARS.LATE",
66*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
67*44a4b9adSIan Rogers        "UMask": "0x2"
68*44a4b9adSIan Rogers    },
69*44a4b9adSIan Rogers    {
70*44a4b9adSIan Rogers        "BriefDescription": "Branch prediction unit missed call or return",
71*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
72*44a4b9adSIan Rogers        "EventCode": "0xE5",
73*44a4b9adSIan Rogers        "EventName": "BPU_MISSED_CALL_RET",
74*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
75*44a4b9adSIan Rogers        "UMask": "0x1"
76*44a4b9adSIan Rogers    },
77*44a4b9adSIan Rogers    {
784ad91126SIan Rogers        "BriefDescription": "Branch instructions decoded",
791fbd54b2SAndi Kleen        "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",
871fbd54b2SAndi Kleen        "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",
951fbd54b2SAndi Kleen        "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",
1031fbd54b2SAndi Kleen        "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",
1111fbd54b2SAndi Kleen        "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",
1191fbd54b2SAndi Kleen        "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",
1271fbd54b2SAndi Kleen        "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",
1351fbd54b2SAndi Kleen        "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",
1431fbd54b2SAndi Kleen        "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",
1511fbd54b2SAndi Kleen        "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",
1591fbd54b2SAndi Kleen        "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)",
1671fbd54b2SAndi Kleen        "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)",
1761fbd54b2SAndi Kleen        "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)",
1851fbd54b2SAndi Kleen        "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",
1944ad91126SIan 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",
2021fbd54b2SAndi Kleen        "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",
2101fbd54b2SAndi Kleen        "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",
2181fbd54b2SAndi Kleen        "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",
2261fbd54b2SAndi Kleen        "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",
2341fbd54b2SAndi Kleen        "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",
2421fbd54b2SAndi Kleen        "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",
2501fbd54b2SAndi Kleen        "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",
2581fbd54b2SAndi Kleen        "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",
2661fbd54b2SAndi Kleen        "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)",
2741fbd54b2SAndi Kleen        "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)",
2831fbd54b2SAndi Kleen        "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)",
2924ad91126SIan 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)",
3011fbd54b2SAndi Kleen        "Counter": "Fixed counter 3",
3024ad91126SIan Rogers        "EventCode": "0x0",
3031fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF",
3041fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3054ad91126SIan Rogers        "UMask": "0x0"
3061fbd54b2SAndi Kleen    },
3071fbd54b2SAndi Kleen    {
3084ad91126SIan Rogers        "BriefDescription": "Reference base clock (133 Mhz) cycles when thread is not halted (programmable counter)",
3091fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3104ad91126SIan Rogers        "EventCode": "0x3C",
3111fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.REF_P",
3121fbd54b2SAndi Kleen        "SampleAfterValue": "100000",
3134ad91126SIan Rogers        "UMask": "0x1"
3141fbd54b2SAndi Kleen    },
3151fbd54b2SAndi Kleen    {
3164ad91126SIan Rogers        "BriefDescription": "Cycles when thread is not halted (fixed counter)",
3171fbd54b2SAndi Kleen        "Counter": "Fixed counter 2",
3184ad91126SIan Rogers        "EventCode": "0x0",
3191fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD",
3201fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3214ad91126SIan Rogers        "UMask": "0x0"
3221fbd54b2SAndi Kleen    },
3231fbd54b2SAndi Kleen    {
3244ad91126SIan Rogers        "BriefDescription": "Cycles when thread is not halted (programmable counter)",
3251fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3264ad91126SIan Rogers        "EventCode": "0x3C",
3271fbd54b2SAndi Kleen        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
3281fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3294ad91126SIan Rogers        "UMask": "0x0"
3301fbd54b2SAndi Kleen    },
3311fbd54b2SAndi Kleen    {
3321fbd54b2SAndi Kleen        "BriefDescription": "Total CPU cycles",
3334ad91126SIan Rogers        "Counter": "0,1,2,3",
3344ad91126SIan Rogers        "CounterMask": "2",
3354ad91126SIan Rogers        "EventCode": "0x3C",
3364ad91126SIan Rogers        "EventName": "CPU_CLK_UNHALTED.TOTAL_CYCLES",
3374ad91126SIan Rogers        "Invert": "1",
3384ad91126SIan Rogers        "SampleAfterValue": "2000000",
3394ad91126SIan Rogers        "UMask": "0x0"
3401fbd54b2SAndi Kleen    },
3411fbd54b2SAndi Kleen    {
3424ad91126SIan Rogers        "BriefDescription": "Any Instruction Length Decoder stall cycles",
3431fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3444ad91126SIan Rogers        "EventCode": "0x87",
3451fbd54b2SAndi Kleen        "EventName": "ILD_STALL.ANY",
3461fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3474ad91126SIan Rogers        "UMask": "0xf"
3481fbd54b2SAndi Kleen    },
3491fbd54b2SAndi Kleen    {
3504ad91126SIan Rogers        "BriefDescription": "Instruction Queue full stall cycles",
3511fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3524ad91126SIan Rogers        "EventCode": "0x87",
3531fbd54b2SAndi Kleen        "EventName": "ILD_STALL.IQ_FULL",
3541fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3554ad91126SIan Rogers        "UMask": "0x4"
3561fbd54b2SAndi Kleen    },
3571fbd54b2SAndi Kleen    {
3584ad91126SIan Rogers        "BriefDescription": "Length Change Prefix stall cycles",
3591fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3604ad91126SIan Rogers        "EventCode": "0x87",
3611fbd54b2SAndi Kleen        "EventName": "ILD_STALL.LCP",
3621fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3634ad91126SIan Rogers        "UMask": "0x1"
3641fbd54b2SAndi Kleen    },
3651fbd54b2SAndi Kleen    {
3664ad91126SIan Rogers        "BriefDescription": "Stall cycles due to BPU MRU bypass",
3671fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3684ad91126SIan Rogers        "EventCode": "0x87",
3691fbd54b2SAndi Kleen        "EventName": "ILD_STALL.MRU",
3701fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3714ad91126SIan Rogers        "UMask": "0x2"
3721fbd54b2SAndi Kleen    },
3731fbd54b2SAndi Kleen    {
3744ad91126SIan Rogers        "BriefDescription": "Regen stall cycles",
3751fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3764ad91126SIan Rogers        "EventCode": "0x87",
3771fbd54b2SAndi Kleen        "EventName": "ILD_STALL.REGEN",
3781fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3794ad91126SIan Rogers        "UMask": "0x8"
3801fbd54b2SAndi Kleen    },
3811fbd54b2SAndi Kleen    {
3824ad91126SIan Rogers        "BriefDescription": "Instructions that must be decoded by decoder 0",
3831fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3844ad91126SIan Rogers        "EventCode": "0x18",
3851fbd54b2SAndi Kleen        "EventName": "INST_DECODED.DEC0",
3861fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3874ad91126SIan Rogers        "UMask": "0x1"
3881fbd54b2SAndi Kleen    },
3891fbd54b2SAndi Kleen    {
3904ad91126SIan Rogers        "BriefDescription": "Instructions written to instruction queue.",
3911fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
3921fbd54b2SAndi Kleen        "EventCode": "0x17",
3931fbd54b2SAndi Kleen        "EventName": "INST_QUEUE_WRITES",
3941fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
3954ad91126SIan Rogers        "UMask": "0x1"
3961fbd54b2SAndi Kleen    },
3971fbd54b2SAndi Kleen    {
3984ad91126SIan Rogers        "BriefDescription": "Cycles instructions are written to the instruction queue",
3994ad91126SIan Rogers        "Counter": "0,1,2,3",
4004ad91126SIan Rogers        "EventCode": "0x1E",
4014ad91126SIan Rogers        "EventName": "INST_QUEUE_WRITE_CYCLES",
4024ad91126SIan Rogers        "SampleAfterValue": "2000000",
4034ad91126SIan Rogers        "UMask": "0x1"
4044ad91126SIan Rogers    },
4054ad91126SIan Rogers    {
4064ad91126SIan Rogers        "BriefDescription": "Instructions retired (fixed counter)",
4071fbd54b2SAndi Kleen        "Counter": "Fixed counter 1",
4084ad91126SIan Rogers        "EventCode": "0x0",
4091fbd54b2SAndi Kleen        "EventName": "INST_RETIRED.ANY",
4101fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4114ad91126SIan Rogers        "UMask": "0x0"
4121fbd54b2SAndi Kleen    },
4131fbd54b2SAndi Kleen    {
4144ad91126SIan Rogers        "BriefDescription": "Instructions retired (Programmable counter and Precise Event)",
4151fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
4164ad91126SIan Rogers        "EventCode": "0xC0",
4171fbd54b2SAndi Kleen        "EventName": "INST_RETIRED.ANY_P",
4184ad91126SIan Rogers        "PEBS": "1",
4191fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4204ad91126SIan Rogers        "UMask": "0x1"
4211fbd54b2SAndi Kleen    },
4221fbd54b2SAndi Kleen    {
4234ad91126SIan Rogers        "BriefDescription": "Retired MMX instructions (Precise Event)",
4241fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
4254ad91126SIan Rogers        "EventCode": "0xC0",
4261fbd54b2SAndi Kleen        "EventName": "INST_RETIRED.MMX",
4274ad91126SIan Rogers        "PEBS": "1",
4281fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4294ad91126SIan Rogers        "UMask": "0x4"
4301fbd54b2SAndi Kleen    },
4311fbd54b2SAndi Kleen    {
4321fbd54b2SAndi Kleen        "BriefDescription": "Total cycles (Precise Event)",
4331fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
4344ad91126SIan Rogers        "CounterMask": "16",
4354ad91126SIan Rogers        "EventCode": "0xC0",
4364ad91126SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES",
4374ad91126SIan Rogers        "Invert": "1",
4384ad91126SIan Rogers        "PEBS": "1",
4391fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4404ad91126SIan Rogers        "UMask": "0x1"
4411fbd54b2SAndi Kleen    },
4421fbd54b2SAndi Kleen    {
4434ad91126SIan Rogers        "BriefDescription": "Total cycles (Precise Event)",
4444ad91126SIan Rogers        "Counter": "0,1,2,3",
4454ad91126SIan Rogers        "CounterMask": "16",
4464ad91126SIan Rogers        "EventCode": "0xC0",
4474ad91126SIan Rogers        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
4484ad91126SIan Rogers        "Invert": "1",
4494ad91126SIan Rogers        "PEBS": "2",
4504ad91126SIan Rogers        "SampleAfterValue": "2000000",
4514ad91126SIan Rogers        "UMask": "0x1"
4524ad91126SIan Rogers    },
4534ad91126SIan Rogers    {
4544ad91126SIan Rogers        "BriefDescription": "Retired floating-point operations (Precise Event)",
4554ad91126SIan Rogers        "Counter": "0,1,2,3",
4564ad91126SIan Rogers        "EventCode": "0xC0",
4574ad91126SIan Rogers        "EventName": "INST_RETIRED.X87",
4584ad91126SIan Rogers        "PEBS": "1",
4594ad91126SIan Rogers        "SampleAfterValue": "2000000",
4604ad91126SIan Rogers        "UMask": "0x2"
4614ad91126SIan Rogers    },
4624ad91126SIan Rogers    {
4634ad91126SIan Rogers        "BriefDescription": "Load operations conflicting with software prefetches",
4641fbd54b2SAndi Kleen        "Counter": "0,1",
4654ad91126SIan Rogers        "EventCode": "0x4C",
4661fbd54b2SAndi Kleen        "EventName": "LOAD_HIT_PRE",
4671fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
4684ad91126SIan Rogers        "UMask": "0x1"
4691fbd54b2SAndi Kleen    },
4701fbd54b2SAndi Kleen    {
4714ad91126SIan Rogers        "BriefDescription": "Cycles when uops were delivered by the LSD",
4721fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
4734ad91126SIan Rogers        "CounterMask": "1",
4744ad91126SIan Rogers        "EventCode": "0xA8",
4751fbd54b2SAndi Kleen        "EventName": "LSD.ACTIVE",
4761fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4774ad91126SIan Rogers        "UMask": "0x1"
4781fbd54b2SAndi Kleen    },
4791fbd54b2SAndi Kleen    {
4801fbd54b2SAndi Kleen        "BriefDescription": "Cycles no uops were delivered by the LSD",
4814ad91126SIan Rogers        "Counter": "0,1,2,3",
4824ad91126SIan Rogers        "CounterMask": "1",
4834ad91126SIan Rogers        "EventCode": "0xA8",
4844ad91126SIan Rogers        "EventName": "LSD.INACTIVE",
4854ad91126SIan Rogers        "Invert": "1",
4864ad91126SIan Rogers        "SampleAfterValue": "2000000",
4874ad91126SIan Rogers        "UMask": "0x1"
4881fbd54b2SAndi Kleen    },
4891fbd54b2SAndi Kleen    {
4904ad91126SIan Rogers        "BriefDescription": "Loops that can't stream from the instruction queue",
4911fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
4924ad91126SIan Rogers        "EventCode": "0x20",
4931fbd54b2SAndi Kleen        "EventName": "LSD_OVERFLOW",
4941fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
4954ad91126SIan Rogers        "UMask": "0x1"
4961fbd54b2SAndi Kleen    },
4971fbd54b2SAndi Kleen    {
4984ad91126SIan Rogers        "BriefDescription": "Cycles machine clear asserted",
4991fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5004ad91126SIan Rogers        "EventCode": "0xC3",
5011fbd54b2SAndi Kleen        "EventName": "MACHINE_CLEARS.CYCLES",
5021fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
5034ad91126SIan Rogers        "UMask": "0x1"
5041fbd54b2SAndi Kleen    },
5051fbd54b2SAndi Kleen    {
5064ad91126SIan Rogers        "BriefDescription": "Execution pipeline restart due to Memory ordering conflicts",
5071fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5084ad91126SIan Rogers        "EventCode": "0xC3",
5091fbd54b2SAndi Kleen        "EventName": "MACHINE_CLEARS.MEM_ORDER",
5101fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
5114ad91126SIan Rogers        "UMask": "0x2"
5121fbd54b2SAndi Kleen    },
5131fbd54b2SAndi Kleen    {
5144ad91126SIan Rogers        "BriefDescription": "Self-Modifying Code detected",
5151fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5164ad91126SIan Rogers        "EventCode": "0xC3",
5171fbd54b2SAndi Kleen        "EventName": "MACHINE_CLEARS.SMC",
5181fbd54b2SAndi Kleen        "SampleAfterValue": "20000",
5194ad91126SIan Rogers        "UMask": "0x4"
5201fbd54b2SAndi Kleen    },
5211fbd54b2SAndi Kleen    {
522*44a4b9adSIan Rogers        "BriefDescription": "All RAT stall cycles",
523*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
524*44a4b9adSIan Rogers        "EventCode": "0xD2",
525*44a4b9adSIan Rogers        "EventName": "RAT_STALLS.ANY",
526*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
527*44a4b9adSIan Rogers        "UMask": "0xf"
528*44a4b9adSIan Rogers    },
529*44a4b9adSIan Rogers    {
530*44a4b9adSIan Rogers        "BriefDescription": "Flag stall cycles",
531*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
532*44a4b9adSIan Rogers        "EventCode": "0xD2",
533*44a4b9adSIan Rogers        "EventName": "RAT_STALLS.FLAGS",
534*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
535*44a4b9adSIan Rogers        "UMask": "0x1"
536*44a4b9adSIan Rogers    },
537*44a4b9adSIan Rogers    {
538*44a4b9adSIan Rogers        "BriefDescription": "Partial register stall cycles",
539*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
540*44a4b9adSIan Rogers        "EventCode": "0xD2",
541*44a4b9adSIan Rogers        "EventName": "RAT_STALLS.REGISTERS",
542*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
543*44a4b9adSIan Rogers        "UMask": "0x2"
544*44a4b9adSIan Rogers    },
545*44a4b9adSIan Rogers    {
546*44a4b9adSIan Rogers        "BriefDescription": "ROB read port stalls cycles",
547*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
548*44a4b9adSIan Rogers        "EventCode": "0xD2",
549*44a4b9adSIan Rogers        "EventName": "RAT_STALLS.ROB_READ_PORT",
550*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
551*44a4b9adSIan Rogers        "UMask": "0x4"
552*44a4b9adSIan Rogers    },
553*44a4b9adSIan Rogers    {
554*44a4b9adSIan Rogers        "BriefDescription": "Scoreboard stall cycles",
555*44a4b9adSIan Rogers        "Counter": "0,1,2,3",
556*44a4b9adSIan Rogers        "EventCode": "0xD2",
557*44a4b9adSIan Rogers        "EventName": "RAT_STALLS.SCOREBOARD",
558*44a4b9adSIan Rogers        "SampleAfterValue": "2000000",
559*44a4b9adSIan Rogers        "UMask": "0x8"
560*44a4b9adSIan Rogers    },
561*44a4b9adSIan Rogers    {
5624ad91126SIan Rogers        "BriefDescription": "Resource related stall cycles",
5631fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5644ad91126SIan Rogers        "EventCode": "0xA2",
5651fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.ANY",
5661fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5674ad91126SIan Rogers        "UMask": "0x1"
5681fbd54b2SAndi Kleen    },
5691fbd54b2SAndi Kleen    {
5704ad91126SIan Rogers        "BriefDescription": "FPU control word write stall cycles",
5711fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5724ad91126SIan Rogers        "EventCode": "0xA2",
5731fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.FPCW",
5741fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5754ad91126SIan Rogers        "UMask": "0x20"
5761fbd54b2SAndi Kleen    },
5771fbd54b2SAndi Kleen    {
5784ad91126SIan Rogers        "BriefDescription": "Load buffer stall cycles",
5791fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5804ad91126SIan Rogers        "EventCode": "0xA2",
5811fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.LOAD",
5821fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5834ad91126SIan Rogers        "UMask": "0x2"
5841fbd54b2SAndi Kleen    },
5851fbd54b2SAndi Kleen    {
5864ad91126SIan Rogers        "BriefDescription": "MXCSR rename stall cycles",
5871fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5884ad91126SIan Rogers        "EventCode": "0xA2",
5891fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.MXCSR",
5901fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5914ad91126SIan Rogers        "UMask": "0x40"
5921fbd54b2SAndi Kleen    },
5931fbd54b2SAndi Kleen    {
5944ad91126SIan Rogers        "BriefDescription": "Other Resource related stall cycles",
5951fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
5964ad91126SIan Rogers        "EventCode": "0xA2",
5971fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.OTHER",
5981fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
5994ad91126SIan Rogers        "UMask": "0x80"
6001fbd54b2SAndi Kleen    },
6011fbd54b2SAndi Kleen    {
6024ad91126SIan Rogers        "BriefDescription": "ROB full stall cycles",
6031fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6044ad91126SIan Rogers        "EventCode": "0xA2",
6051fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.ROB_FULL",
6061fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6074ad91126SIan Rogers        "UMask": "0x10"
6081fbd54b2SAndi Kleen    },
6091fbd54b2SAndi Kleen    {
6104ad91126SIan Rogers        "BriefDescription": "Reservation Station full stall cycles",
6111fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6124ad91126SIan Rogers        "EventCode": "0xA2",
6131fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.RS_FULL",
6141fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6154ad91126SIan Rogers        "UMask": "0x4"
6161fbd54b2SAndi Kleen    },
6171fbd54b2SAndi Kleen    {
6184ad91126SIan Rogers        "BriefDescription": "Store buffer stall cycles",
6191fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6204ad91126SIan Rogers        "EventCode": "0xA2",
6211fbd54b2SAndi Kleen        "EventName": "RESOURCE_STALLS.STORE",
6221fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6234ad91126SIan Rogers        "UMask": "0x8"
6241fbd54b2SAndi Kleen    },
6251fbd54b2SAndi Kleen    {
6264ad91126SIan Rogers        "BriefDescription": "SIMD Packed-Double Uops retired (Precise Event)",
6271fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6284ad91126SIan Rogers        "EventCode": "0xC7",
6291fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_DOUBLE",
6304ad91126SIan Rogers        "PEBS": "1",
6311fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6324ad91126SIan Rogers        "UMask": "0x4"
6331fbd54b2SAndi Kleen    },
6341fbd54b2SAndi Kleen    {
6354ad91126SIan Rogers        "BriefDescription": "SIMD Packed-Single Uops retired (Precise Event)",
6361fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6374ad91126SIan Rogers        "EventCode": "0xC7",
6381fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.PACKED_SINGLE",
6394ad91126SIan Rogers        "PEBS": "1",
6401fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6414ad91126SIan Rogers        "UMask": "0x1"
6421fbd54b2SAndi Kleen    },
6431fbd54b2SAndi Kleen    {
6444ad91126SIan Rogers        "BriefDescription": "SIMD Scalar-Double Uops retired (Precise Event)",
6451fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6464ad91126SIan Rogers        "EventCode": "0xC7",
6471fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_DOUBLE",
6484ad91126SIan Rogers        "PEBS": "1",
6491fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6504ad91126SIan Rogers        "UMask": "0x8"
6511fbd54b2SAndi Kleen    },
6521fbd54b2SAndi Kleen    {
6534ad91126SIan Rogers        "BriefDescription": "SIMD Scalar-Single Uops retired (Precise Event)",
6541fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6554ad91126SIan Rogers        "EventCode": "0xC7",
6561fbd54b2SAndi Kleen        "EventName": "SSEX_UOPS_RETIRED.SCALAR_SINGLE",
6571fbd54b2SAndi Kleen        "PEBS": "1",
6581fbd54b2SAndi Kleen        "SampleAfterValue": "200000",
6594ad91126SIan Rogers        "UMask": "0x2"
6601fbd54b2SAndi Kleen    },
6611fbd54b2SAndi Kleen    {
6624ad91126SIan Rogers        "BriefDescription": "SIMD Vector Integer Uops retired (Precise Event)",
6631fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6644ad91126SIan Rogers        "EventCode": "0xC7",
6654ad91126SIan Rogers        "EventName": "SSEX_UOPS_RETIRED.VECTOR_INTEGER",
6664ad91126SIan Rogers        "PEBS": "1",
6674ad91126SIan Rogers        "SampleAfterValue": "200000",
6684ad91126SIan Rogers        "UMask": "0x10"
6691fbd54b2SAndi Kleen    },
6701fbd54b2SAndi Kleen    {
6714ad91126SIan Rogers        "BriefDescription": "Stack pointer instructions decoded",
6721fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6731fbd54b2SAndi Kleen        "EventCode": "0xD1",
6741fbd54b2SAndi Kleen        "EventName": "UOPS_DECODED.ESP_FOLDING",
6751fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6764ad91126SIan Rogers        "UMask": "0x4"
6771fbd54b2SAndi Kleen    },
6781fbd54b2SAndi Kleen    {
6794ad91126SIan Rogers        "BriefDescription": "Stack pointer sync operations",
6801fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6814ad91126SIan Rogers        "EventCode": "0xD1",
6821fbd54b2SAndi Kleen        "EventName": "UOPS_DECODED.ESP_SYNC",
6831fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6844ad91126SIan Rogers        "UMask": "0x8"
6851fbd54b2SAndi Kleen    },
6861fbd54b2SAndi Kleen    {
6874ad91126SIan Rogers        "BriefDescription": "Uops decoded by Microcode Sequencer",
6881fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
6894ad91126SIan Rogers        "CounterMask": "1",
6904ad91126SIan Rogers        "EventCode": "0xD1",
6911fbd54b2SAndi Kleen        "EventName": "UOPS_DECODED.MS_CYCLES_ACTIVE",
6921fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
6934ad91126SIan Rogers        "UMask": "0x2"
6941fbd54b2SAndi Kleen    },
6951fbd54b2SAndi Kleen    {
6961fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops are decoded",
6974ad91126SIan Rogers        "Counter": "0,1,2,3",
6984ad91126SIan Rogers        "CounterMask": "1",
6994ad91126SIan Rogers        "EventCode": "0xD1",
7004ad91126SIan Rogers        "EventName": "UOPS_DECODED.STALL_CYCLES",
7014ad91126SIan Rogers        "Invert": "1",
7024ad91126SIan Rogers        "SampleAfterValue": "2000000",
7034ad91126SIan Rogers        "UMask": "0x1"
7041fbd54b2SAndi Kleen    },
7051fbd54b2SAndi Kleen    {
7061fbd54b2SAndi Kleen        "AnyThread": "1",
7074ad91126SIan Rogers        "BriefDescription": "Cycles Uops executed on any port (core count)",
7084ad91126SIan Rogers        "Counter": "0,1,2,3",
7094ad91126SIan Rogers        "CounterMask": "1",
7104ad91126SIan Rogers        "EventCode": "0xB1",
7111fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES",
7121fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7134ad91126SIan Rogers        "UMask": "0x3f"
7141fbd54b2SAndi Kleen    },
7151fbd54b2SAndi Kleen    {
7161fbd54b2SAndi Kleen        "AnyThread": "1",
7174ad91126SIan Rogers        "BriefDescription": "Cycles Uops executed on ports 0-4 (core count)",
7184ad91126SIan Rogers        "Counter": "0,1,2,3",
7194ad91126SIan Rogers        "CounterMask": "1",
7204ad91126SIan Rogers        "EventCode": "0xB1",
7211fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5",
7221fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7234ad91126SIan Rogers        "UMask": "0x1f"
7241fbd54b2SAndi Kleen    },
7251fbd54b2SAndi Kleen    {
7261fbd54b2SAndi Kleen        "BriefDescription": "Uops executed on any port (core count)",
7274ad91126SIan Rogers        "Counter": "0,1,2,3",
7281fbd54b2SAndi Kleen        "CounterMask": "1",
7294ad91126SIan Rogers        "EdgeDetect": "1",
7304ad91126SIan Rogers        "EventCode": "0xB1",
7314ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT",
7324ad91126SIan Rogers        "Invert": "1",
7334ad91126SIan Rogers        "SampleAfterValue": "2000000",
7344ad91126SIan Rogers        "UMask": "0x3f"
7351fbd54b2SAndi Kleen    },
7361fbd54b2SAndi Kleen    {
7371fbd54b2SAndi Kleen        "BriefDescription": "Uops executed on ports 0-4 (core count)",
7384ad91126SIan Rogers        "Counter": "0,1,2,3",
7391fbd54b2SAndi Kleen        "CounterMask": "1",
7404ad91126SIan Rogers        "EdgeDetect": "1",
7414ad91126SIan Rogers        "EventCode": "0xB1",
7424ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_COUNT_NO_PORT5",
7434ad91126SIan Rogers        "Invert": "1",
7444ad91126SIan Rogers        "SampleAfterValue": "2000000",
7454ad91126SIan Rogers        "UMask": "0x1f"
7461fbd54b2SAndi Kleen    },
7471fbd54b2SAndi Kleen    {
7481fbd54b2SAndi Kleen        "AnyThread": "1",
7491fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops issued on any port (core count)",
7504ad91126SIan Rogers        "Counter": "0,1,2,3",
7514ad91126SIan Rogers        "CounterMask": "1",
7521fbd54b2SAndi Kleen        "EventCode": "0xB1",
7534ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES",
7541fbd54b2SAndi Kleen        "Invert": "1",
7551fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7564ad91126SIan Rogers        "UMask": "0x3f"
7571fbd54b2SAndi Kleen    },
7581fbd54b2SAndi Kleen    {
7594ad91126SIan Rogers        "AnyThread": "1",
7604ad91126SIan Rogers        "BriefDescription": "Cycles no Uops issued on ports 0-4 (core count)",
7611fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
7624ad91126SIan Rogers        "CounterMask": "1",
7634ad91126SIan Rogers        "EventCode": "0xB1",
7644ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_STALL_CYCLES_NO_PORT5",
7654ad91126SIan Rogers        "Invert": "1",
7664ad91126SIan Rogers        "SampleAfterValue": "2000000",
7674ad91126SIan Rogers        "UMask": "0x1f"
7684ad91126SIan Rogers    },
7694ad91126SIan Rogers    {
7704ad91126SIan Rogers        "BriefDescription": "Uops executed on port 0",
7714ad91126SIan Rogers        "Counter": "0,1,2,3",
7724ad91126SIan Rogers        "EventCode": "0xB1",
7731fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT0",
7741fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7754ad91126SIan Rogers        "UMask": "0x1"
7761fbd54b2SAndi Kleen    },
7771fbd54b2SAndi Kleen    {
7784ad91126SIan Rogers        "BriefDescription": "Uops issued on ports 0, 1 or 5",
7791fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
7804ad91126SIan Rogers        "EventCode": "0xB1",
7811fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT015",
7821fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
7834ad91126SIan Rogers        "UMask": "0x40"
7841fbd54b2SAndi Kleen    },
7851fbd54b2SAndi Kleen    {
7861fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops issued on ports 0, 1 or 5",
7874ad91126SIan Rogers        "Counter": "0,1,2,3",
7884ad91126SIan Rogers        "CounterMask": "1",
7894ad91126SIan Rogers        "EventCode": "0xB1",
7904ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.PORT015_STALL_CYCLES",
7914ad91126SIan Rogers        "Invert": "1",
7924ad91126SIan Rogers        "SampleAfterValue": "2000000",
7934ad91126SIan Rogers        "UMask": "0x40"
7941fbd54b2SAndi Kleen    },
7951fbd54b2SAndi Kleen    {
7964ad91126SIan Rogers        "BriefDescription": "Uops executed on port 1",
7971fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
7984ad91126SIan Rogers        "EventCode": "0xB1",
7991fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT1",
8001fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8014ad91126SIan Rogers        "UMask": "0x2"
8021fbd54b2SAndi Kleen    },
8031fbd54b2SAndi Kleen    {
8041fbd54b2SAndi Kleen        "AnyThread": "1",
8054ad91126SIan Rogers        "BriefDescription": "Uops issued on ports 2, 3 or 4",
8061fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
8074ad91126SIan Rogers        "EventCode": "0xB1",
8081fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT234_CORE",
8091fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8104ad91126SIan Rogers        "UMask": "0x80"
8111fbd54b2SAndi Kleen    },
8121fbd54b2SAndi Kleen    {
8131fbd54b2SAndi Kleen        "AnyThread": "1",
8144ad91126SIan Rogers        "BriefDescription": "Uops executed on port 2 (core count)",
8154ad91126SIan Rogers        "Counter": "0,1,2,3",
8164ad91126SIan Rogers        "EventCode": "0xB1",
8174ad91126SIan Rogers        "EventName": "UOPS_EXECUTED.PORT2_CORE",
8184ad91126SIan Rogers        "SampleAfterValue": "2000000",
8194ad91126SIan Rogers        "UMask": "0x4"
8204ad91126SIan Rogers    },
8214ad91126SIan Rogers    {
8224ad91126SIan Rogers        "AnyThread": "1",
8234ad91126SIan Rogers        "BriefDescription": "Uops executed on port 3 (core count)",
8244ad91126SIan Rogers        "Counter": "0,1,2,3",
8254ad91126SIan Rogers        "EventCode": "0xB1",
8261fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT3_CORE",
8271fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8284ad91126SIan Rogers        "UMask": "0x8"
8291fbd54b2SAndi Kleen    },
8301fbd54b2SAndi Kleen    {
8311fbd54b2SAndi Kleen        "AnyThread": "1",
8324ad91126SIan Rogers        "BriefDescription": "Uops executed on port 4 (core count)",
8334ad91126SIan Rogers        "Counter": "0,1,2,3",
8344ad91126SIan Rogers        "EventCode": "0xB1",
8351fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT4_CORE",
8361fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8374ad91126SIan Rogers        "UMask": "0x10"
8381fbd54b2SAndi Kleen    },
8391fbd54b2SAndi Kleen    {
8404ad91126SIan Rogers        "BriefDescription": "Uops executed on port 5",
8411fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
8424ad91126SIan Rogers        "EventCode": "0xB1",
8431fbd54b2SAndi Kleen        "EventName": "UOPS_EXECUTED.PORT5",
8441fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8454ad91126SIan Rogers        "UMask": "0x20"
8461fbd54b2SAndi Kleen    },
8471fbd54b2SAndi Kleen    {
8484ad91126SIan Rogers        "BriefDescription": "Uops issued",
8491fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
8504ad91126SIan Rogers        "EventCode": "0xE",
8511fbd54b2SAndi Kleen        "EventName": "UOPS_ISSUED.ANY",
8521fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8534ad91126SIan Rogers        "UMask": "0x1"
8541fbd54b2SAndi Kleen    },
8551fbd54b2SAndi Kleen    {
8561fbd54b2SAndi Kleen        "AnyThread": "1",
8571fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops were issued on any thread",
8584ad91126SIan Rogers        "Counter": "0,1,2,3",
8594ad91126SIan Rogers        "CounterMask": "1",
8604ad91126SIan Rogers        "EventCode": "0xE",
8614ad91126SIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
8624ad91126SIan Rogers        "Invert": "1",
8634ad91126SIan Rogers        "SampleAfterValue": "2000000",
8644ad91126SIan Rogers        "UMask": "0x1"
8651fbd54b2SAndi Kleen    },
8661fbd54b2SAndi Kleen    {
8671fbd54b2SAndi Kleen        "AnyThread": "1",
8684ad91126SIan Rogers        "BriefDescription": "Cycles Uops were issued on either thread",
8694ad91126SIan Rogers        "Counter": "0,1,2,3",
8704ad91126SIan Rogers        "CounterMask": "1",
8714ad91126SIan Rogers        "EventCode": "0xE",
8721fbd54b2SAndi Kleen        "EventName": "UOPS_ISSUED.CYCLES_ALL_THREADS",
8731fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8744ad91126SIan Rogers        "UMask": "0x1"
8751fbd54b2SAndi Kleen    },
8761fbd54b2SAndi Kleen    {
8774ad91126SIan Rogers        "BriefDescription": "Fused Uops issued",
8781fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
8794ad91126SIan Rogers        "EventCode": "0xE",
8801fbd54b2SAndi Kleen        "EventName": "UOPS_ISSUED.FUSED",
8811fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
8824ad91126SIan Rogers        "UMask": "0x2"
8831fbd54b2SAndi Kleen    },
8841fbd54b2SAndi Kleen    {
8851fbd54b2SAndi Kleen        "BriefDescription": "Cycles no Uops were issued",
8864ad91126SIan Rogers        "Counter": "0,1,2,3",
8874ad91126SIan Rogers        "CounterMask": "1",
8884ad91126SIan Rogers        "EventCode": "0xE",
8894ad91126SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
8904ad91126SIan Rogers        "Invert": "1",
8914ad91126SIan Rogers        "SampleAfterValue": "2000000",
8924ad91126SIan Rogers        "UMask": "0x1"
8931fbd54b2SAndi Kleen    },
8941fbd54b2SAndi Kleen    {
8951fbd54b2SAndi Kleen        "BriefDescription": "Cycles Uops are being retired",
8964ad91126SIan Rogers        "Counter": "0,1,2,3",
8974ad91126SIan Rogers        "CounterMask": "1",
8984ad91126SIan Rogers        "EventCode": "0xC2",
8994ad91126SIan Rogers        "EventName": "UOPS_RETIRED.ACTIVE_CYCLES",
9004ad91126SIan Rogers        "PEBS": "1",
9014ad91126SIan Rogers        "SampleAfterValue": "2000000",
9024ad91126SIan Rogers        "UMask": "0x1"
9031fbd54b2SAndi Kleen    },
9041fbd54b2SAndi Kleen    {
9054ad91126SIan Rogers        "BriefDescription": "Uops retired (Precise Event)",
9061fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
9074ad91126SIan Rogers        "EventCode": "0xC2",
9081fbd54b2SAndi Kleen        "EventName": "UOPS_RETIRED.ANY",
9094ad91126SIan Rogers        "PEBS": "1",
9101fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9114ad91126SIan Rogers        "UMask": "0x1"
9121fbd54b2SAndi Kleen    },
9131fbd54b2SAndi Kleen    {
9144ad91126SIan Rogers        "BriefDescription": "Macro-fused Uops retired (Precise Event)",
9151fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
9164ad91126SIan Rogers        "EventCode": "0xC2",
9171fbd54b2SAndi Kleen        "EventName": "UOPS_RETIRED.MACRO_FUSED",
9184ad91126SIan Rogers        "PEBS": "1",
9191fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9204ad91126SIan Rogers        "UMask": "0x4"
9211fbd54b2SAndi Kleen    },
9221fbd54b2SAndi Kleen    {
9234ad91126SIan Rogers        "BriefDescription": "Retirement slots used (Precise Event)",
9241fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
9254ad91126SIan Rogers        "EventCode": "0xC2",
9261fbd54b2SAndi Kleen        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
9274ad91126SIan Rogers        "PEBS": "1",
9281fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9294ad91126SIan Rogers        "UMask": "0x2"
9301fbd54b2SAndi Kleen    },
9311fbd54b2SAndi Kleen    {
9321fbd54b2SAndi Kleen        "BriefDescription": "Cycles Uops are not retiring (Precise Event)",
9334ad91126SIan Rogers        "Counter": "0,1,2,3",
9344ad91126SIan Rogers        "CounterMask": "1",
9351fbd54b2SAndi Kleen        "EventCode": "0xC2",
9364ad91126SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
9371fbd54b2SAndi Kleen        "Invert": "1",
9384ad91126SIan Rogers        "PEBS": "1",
9391fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9404ad91126SIan Rogers        "UMask": "0x1"
9411fbd54b2SAndi Kleen    },
9421fbd54b2SAndi Kleen    {
9434ad91126SIan Rogers        "BriefDescription": "Total cycles using precise uop retired event (Precise Event)",
9441fbd54b2SAndi Kleen        "Counter": "0,1,2,3",
9454ad91126SIan Rogers        "CounterMask": "16",
9464ad91126SIan Rogers        "EventCode": "0xC2",
9474ad91126SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
9484ad91126SIan Rogers        "Invert": "1",
9494ad91126SIan Rogers        "PEBS": "1",
9501fbd54b2SAndi Kleen        "SampleAfterValue": "2000000",
9514ad91126SIan Rogers        "UMask": "0x1"
9524ad91126SIan Rogers    },
9534ad91126SIan Rogers    {
9544ad91126SIan Rogers        "BriefDescription": "Uop unfusions due to FP exceptions",
9554ad91126SIan Rogers        "Counter": "0,1,2,3",
9564ad91126SIan Rogers        "EventCode": "0xDB",
9574ad91126SIan Rogers        "EventName": "UOP_UNFUSION",
9584ad91126SIan Rogers        "SampleAfterValue": "2000000",
9594ad91126SIan Rogers        "UMask": "0x1"
9601fbd54b2SAndi Kleen    }
9611fbd54b2SAndi Kleen]
962