11ab4ef06SIan Rogers[
21ab4ef06SIan Rogers    {
31ab4ef06SIan Rogers        "BriefDescription": "L2 code requests",
41ab4ef06SIan Rogers        "EventCode": "0x24",
51ab4ef06SIan Rogers        "EventName": "L2_RQSTS.ALL_CODE_RD",
6*591530c0SIan Rogers        "PublicDescription": "Counts the total number of L2 code requests.",
71ab4ef06SIan Rogers        "SampleAfterValue": "200003",
81ab4ef06SIan Rogers        "UMask": "0xe4",
91ab4ef06SIan Rogers        "Unit": "cpu_core"
101ab4ef06SIan Rogers    },
111ab4ef06SIan Rogers    {
121ab4ef06SIan Rogers        "BriefDescription": "Demand Data Read access L2 cache",
131ab4ef06SIan Rogers        "EventCode": "0x24",
141ab4ef06SIan Rogers        "EventName": "L2_RQSTS.ALL_DEMAND_DATA_RD",
15*591530c0SIan Rogers        "PublicDescription": "Counts Demand Data Read requests accessing the L2 cache. These requests may hit or miss L2 cache. True-miss exclude misses that were merged with ongoing L2 misses. An access is counted once.",
161ab4ef06SIan Rogers        "SampleAfterValue": "200003",
171ab4ef06SIan Rogers        "UMask": "0xe1",
181ab4ef06SIan Rogers        "Unit": "cpu_core"
191ab4ef06SIan Rogers    },
201ab4ef06SIan Rogers    {
215362e4d1SIan Rogers        "BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
221ab4ef06SIan Rogers        "EventCode": "0x2e",
231ab4ef06SIan Rogers        "EventName": "LONGEST_LAT_CACHE.MISS",
24*591530c0SIan Rogers        "PublicDescription": "Counts the number of cacheable memory requests that miss in the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
255362e4d1SIan Rogers        "SampleAfterValue": "200003",
265362e4d1SIan Rogers        "UMask": "0x41",
275362e4d1SIan Rogers        "Unit": "cpu_atom"
285362e4d1SIan Rogers    },
295362e4d1SIan Rogers    {
305362e4d1SIan Rogers        "BriefDescription": "Core-originated cacheable requests that missed L3  (Except hardware prefetches to the L3)",
315362e4d1SIan Rogers        "EventCode": "0x2e",
325362e4d1SIan Rogers        "EventName": "LONGEST_LAT_CACHE.MISS",
33*591530c0SIan Rogers        "PublicDescription": "Counts core-originated cacheable requests that miss the L3 cache (Longest Latency cache). Requests include data and code reads, Reads-for-Ownership (RFOs), speculative accesses and hardware prefetches to the L1 and L2.  It does not include hardware prefetches to the L3, and may not count other types of requests to the L3.",
341ab4ef06SIan Rogers        "SampleAfterValue": "100003",
351ab4ef06SIan Rogers        "UMask": "0x41",
361ab4ef06SIan Rogers        "Unit": "cpu_core"
371ab4ef06SIan Rogers    },
381ab4ef06SIan Rogers    {
395362e4d1SIan Rogers        "BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
401ab4ef06SIan Rogers        "EventCode": "0x2e",
411ab4ef06SIan Rogers        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
42*591530c0SIan Rogers        "PublicDescription": "Counts the number of cacheable memory requests that access the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
435362e4d1SIan Rogers        "SampleAfterValue": "200003",
445362e4d1SIan Rogers        "UMask": "0x4f",
455362e4d1SIan Rogers        "Unit": "cpu_atom"
465362e4d1SIan Rogers    },
475362e4d1SIan Rogers    {
485362e4d1SIan Rogers        "BriefDescription": "Core-originated cacheable requests that refer to L3 (Except hardware prefetches to the L3)",
495362e4d1SIan Rogers        "EventCode": "0x2e",
505362e4d1SIan Rogers        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
51*591530c0SIan Rogers        "PublicDescription": "Counts core-originated cacheable requests to the L3 cache (Longest Latency cache). Requests include data and code reads, Reads-for-Ownership (RFOs), speculative accesses and hardware prefetches to the L1 and L2.  It does not include hardware prefetches to the L3, and may not count other types of requests to the L3.",
521ab4ef06SIan Rogers        "SampleAfterValue": "100003",
531ab4ef06SIan Rogers        "UMask": "0x4f",
541ab4ef06SIan Rogers        "Unit": "cpu_core"
551ab4ef06SIan Rogers    },
561ab4ef06SIan Rogers    {
571ab4ef06SIan Rogers        "BriefDescription": "Retired load instructions.",
581ab4ef06SIan Rogers        "Data_LA": "1",
591ab4ef06SIan Rogers        "EventCode": "0xd0",
601ab4ef06SIan Rogers        "EventName": "MEM_INST_RETIRED.ALL_LOADS",
611ab4ef06SIan Rogers        "PEBS": "1",
62*591530c0SIan Rogers        "PublicDescription": "Counts all retired load instructions. This event accounts for SW prefetch instructions of PREFETCHNTA or PREFETCHT0/1/2 or PREFETCHW.",
631ab4ef06SIan Rogers        "SampleAfterValue": "1000003",
641ab4ef06SIan Rogers        "UMask": "0x81",
651ab4ef06SIan Rogers        "Unit": "cpu_core"
661ab4ef06SIan Rogers    },
671ab4ef06SIan Rogers    {
681ab4ef06SIan Rogers        "BriefDescription": "Retired store instructions.",
691ab4ef06SIan Rogers        "Data_LA": "1",
701ab4ef06SIan Rogers        "EventCode": "0xd0",
711ab4ef06SIan Rogers        "EventName": "MEM_INST_RETIRED.ALL_STORES",
721ab4ef06SIan Rogers        "PEBS": "1",
73*591530c0SIan Rogers        "PublicDescription": "Counts all retired store instructions.",
741ab4ef06SIan Rogers        "SampleAfterValue": "1000003",
751ab4ef06SIan Rogers        "UMask": "0x82",
761ab4ef06SIan Rogers        "Unit": "cpu_core"
775362e4d1SIan Rogers    },
785362e4d1SIan Rogers    {
795362e4d1SIan Rogers        "BriefDescription": "Counts the number of load ops retired.",
805362e4d1SIan Rogers        "Data_LA": "1",
815362e4d1SIan Rogers        "EventCode": "0xd0",
825362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
835362e4d1SIan Rogers        "PEBS": "1",
845362e4d1SIan Rogers        "SampleAfterValue": "200003",
855362e4d1SIan Rogers        "UMask": "0x81",
865362e4d1SIan Rogers        "Unit": "cpu_atom"
875362e4d1SIan Rogers    },
885362e4d1SIan Rogers    {
895362e4d1SIan Rogers        "BriefDescription": "Counts the number of store ops retired.",
905362e4d1SIan Rogers        "Data_LA": "1",
915362e4d1SIan Rogers        "EventCode": "0xd0",
925362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
935362e4d1SIan Rogers        "PEBS": "1",
945362e4d1SIan Rogers        "SampleAfterValue": "200003",
955362e4d1SIan Rogers        "UMask": "0x82",
965362e4d1SIan Rogers        "Unit": "cpu_atom"
975362e4d1SIan Rogers    },
985362e4d1SIan Rogers    {
995362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1005362e4d1SIan Rogers        "Data_LA": "1",
1015362e4d1SIan Rogers        "EventCode": "0xd0",
1025362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
1035362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1045362e4d1SIan Rogers        "MSRValue": "0x80",
1055362e4d1SIan Rogers        "PEBS": "2",
1065362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1075362e4d1SIan Rogers        "UMask": "0x5",
1085362e4d1SIan Rogers        "Unit": "cpu_atom"
1095362e4d1SIan Rogers    },
1105362e4d1SIan Rogers    {
1115362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1125362e4d1SIan Rogers        "Data_LA": "1",
1135362e4d1SIan Rogers        "EventCode": "0xd0",
1145362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
1155362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1165362e4d1SIan Rogers        "MSRValue": "0x10",
1175362e4d1SIan Rogers        "PEBS": "2",
1185362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1195362e4d1SIan Rogers        "UMask": "0x5",
1205362e4d1SIan Rogers        "Unit": "cpu_atom"
1215362e4d1SIan Rogers    },
1225362e4d1SIan Rogers    {
1235362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1245362e4d1SIan Rogers        "Data_LA": "1",
1255362e4d1SIan Rogers        "EventCode": "0xd0",
1265362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
1275362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1285362e4d1SIan Rogers        "MSRValue": "0x100",
1295362e4d1SIan Rogers        "PEBS": "2",
1305362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1315362e4d1SIan Rogers        "UMask": "0x5",
1325362e4d1SIan Rogers        "Unit": "cpu_atom"
1335362e4d1SIan Rogers    },
1345362e4d1SIan Rogers    {
1355362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1365362e4d1SIan Rogers        "Data_LA": "1",
1375362e4d1SIan Rogers        "EventCode": "0xd0",
1385362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
1395362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1405362e4d1SIan Rogers        "MSRValue": "0x20",
1415362e4d1SIan Rogers        "PEBS": "2",
1425362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1435362e4d1SIan Rogers        "UMask": "0x5",
1445362e4d1SIan Rogers        "Unit": "cpu_atom"
1455362e4d1SIan Rogers    },
1465362e4d1SIan Rogers    {
1475362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1485362e4d1SIan Rogers        "Data_LA": "1",
1495362e4d1SIan Rogers        "EventCode": "0xd0",
1505362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
1515362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1525362e4d1SIan Rogers        "MSRValue": "0x4",
1535362e4d1SIan Rogers        "PEBS": "2",
1545362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1555362e4d1SIan Rogers        "UMask": "0x5",
1565362e4d1SIan Rogers        "Unit": "cpu_atom"
1575362e4d1SIan Rogers    },
1585362e4d1SIan Rogers    {
1595362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1605362e4d1SIan Rogers        "Data_LA": "1",
1615362e4d1SIan Rogers        "EventCode": "0xd0",
1625362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
1635362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1645362e4d1SIan Rogers        "MSRValue": "0x200",
1655362e4d1SIan Rogers        "PEBS": "2",
1665362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1675362e4d1SIan Rogers        "UMask": "0x5",
1685362e4d1SIan Rogers        "Unit": "cpu_atom"
1695362e4d1SIan Rogers    },
1705362e4d1SIan Rogers    {
1715362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1725362e4d1SIan Rogers        "Data_LA": "1",
1735362e4d1SIan Rogers        "EventCode": "0xd0",
1745362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
1755362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1765362e4d1SIan Rogers        "MSRValue": "0x40",
1775362e4d1SIan Rogers        "PEBS": "2",
1785362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1795362e4d1SIan Rogers        "UMask": "0x5",
1805362e4d1SIan Rogers        "Unit": "cpu_atom"
1815362e4d1SIan Rogers    },
1825362e4d1SIan Rogers    {
1835362e4d1SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
1845362e4d1SIan Rogers        "Data_LA": "1",
1855362e4d1SIan Rogers        "EventCode": "0xd0",
1865362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
1875362e4d1SIan Rogers        "MSRIndex": "0x3F6",
1885362e4d1SIan Rogers        "MSRValue": "0x8",
1895362e4d1SIan Rogers        "PEBS": "2",
1905362e4d1SIan Rogers        "SampleAfterValue": "1000003",
1915362e4d1SIan Rogers        "UMask": "0x5",
1925362e4d1SIan Rogers        "Unit": "cpu_atom"
1935362e4d1SIan Rogers    },
1945362e4d1SIan Rogers    {
1955362e4d1SIan Rogers        "BriefDescription": "Counts the number of  stores uops retired same as MEM_UOPS_RETIRED.ALL_STORES",
1965362e4d1SIan Rogers        "Data_LA": "1",
1975362e4d1SIan Rogers        "EventCode": "0xd0",
1985362e4d1SIan Rogers        "EventName": "MEM_UOPS_RETIRED.STORE_LATENCY",
1995362e4d1SIan Rogers        "PEBS": "2",
2005362e4d1SIan Rogers        "SampleAfterValue": "1000003",
2015362e4d1SIan Rogers        "UMask": "0x6",
2025362e4d1SIan Rogers        "Unit": "cpu_atom"
2031ab4ef06SIan Rogers    }
2041ab4ef06SIan Rogers]
205