xref: /freebsd/lib/libpmc/pmu-events/arch/x86/tremontx/cache.json (revision 9e5787d2284e187abb5b654d924394a65772e004)
1[
2    {
3        "CollectPEBSRecord": "2",
4        "PublicDescription": "Counts cacheable memory requests that miss in the the Last Level Cache.  Requests include Demand Loads, Reads for Ownership(RFO), Instruction fetches and L1 HW prefetches. If the platform has an L3 cache, last level cache is the L3, otherwise it is the L2.",
5        "EventCode": "0x2e",
6        "Counter": "0,1,2,3",
7        "UMask": "0x41",
8        "PEBScounters": "0,1,2,3",
9        "EventName": "LONGEST_LAT_CACHE.MISS",
10        "PDIR_COUNTER": "na",
11        "SampleAfterValue": "200003",
12        "BriefDescription": "Counts memory requests originating from the core that miss in the last level cache. If the platform has an L3 cache, last level cache is the L3, otherwise it is the L2."
13    },
14    {
15        "CollectPEBSRecord": "2",
16        "PublicDescription": "Counts cacheable memory requests that access the Last Level Cache.  Requests include Demand Loads, Reads for Ownership(RFO), Instruction fetches and L1 HW prefetches. If the platform has an L3 cache, last level cache is the L3, otherwise it is the L2.",
17        "EventCode": "0x2e",
18        "Counter": "0,1,2,3",
19        "UMask": "0x4f",
20        "PEBScounters": "0,1,2,3",
21        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
22        "PDIR_COUNTER": "na",
23        "SampleAfterValue": "200003",
24        "BriefDescription": "Counts memory requests originating from the core that reference a cache line in the last level cache. If the platform has an L3 cache, last level cache is the L3, otherwise it is the L2."
25    },
26    {
27        "PEBS": "1",
28        "CollectPEBSRecord": "2",
29        "PublicDescription": "Counts the number of load uops retired. This event is Precise Event capable",
30        "EventCode": "0xd0",
31        "Counter": "0,1,2,3",
32        "UMask": "0x81",
33        "PEBScounters": "0,1,2,3",
34        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
35        "SampleAfterValue": "200003",
36        "BriefDescription": "Counts the number of load uops retired.",
37        "Data_LA": "1"
38    },
39    {
40        "PEBS": "1",
41        "CollectPEBSRecord": "2",
42        "PublicDescription": "Counts the number of store uops retired. This event is Precise Event capable",
43        "EventCode": "0xd0",
44        "Counter": "0,1,2,3",
45        "UMask": "0x82",
46        "PEBScounters": "0,1,2,3",
47        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
48        "SampleAfterValue": "200003",
49        "BriefDescription": "Counts the number of store uops retired.",
50        "Data_LA": "1"
51    },
52    {
53        "PEBS": "1",
54        "CollectPEBSRecord": "2",
55        "EventCode": "0xd1",
56        "Counter": "0,1,2,3",
57        "UMask": "0x1",
58        "PEBScounters": "0,1,2,3",
59        "EventName": "MEM_LOAD_UOPS_RETIRED.L1_HIT",
60        "SampleAfterValue": "200003",
61        "BriefDescription": "Counts the number of load uops retired that hit the level 1 data cache",
62        "Data_LA": "1"
63    },
64    {
65        "PEBS": "1",
66        "CollectPEBSRecord": "2",
67        "EventCode": "0xd1",
68        "Counter": "0,1,2,3",
69        "UMask": "0x2",
70        "PEBScounters": "0,1,2,3",
71        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_HIT",
72        "SampleAfterValue": "200003",
73        "BriefDescription": "Counts the number of load uops retired that hit in the level 2 cache",
74        "Data_LA": "1"
75    },
76    {
77        "PEBS": "1",
78        "CollectPEBSRecord": "2",
79        "EventCode": "0xd1",
80        "Counter": "0,1,2,3",
81        "UMask": "0x4",
82        "PEBScounters": "0,1,2,3",
83        "EventName": "MEM_LOAD_UOPS_RETIRED.L3_HIT",
84        "SampleAfterValue": "200003",
85        "BriefDescription": "Counts the number of load uops retired that miss in the level 3 cache"
86    },
87    {
88        "PEBS": "1",
89        "CollectPEBSRecord": "2",
90        "EventCode": "0xd1",
91        "Counter": "0,1,2,3",
92        "UMask": "0x8",
93        "PEBScounters": "0,1,2,3",
94        "EventName": "MEM_LOAD_UOPS_RETIRED.L1_MISS",
95        "SampleAfterValue": "200003",
96        "BriefDescription": "Counts the number of load uops retired that miss in the level 1 data cache",
97        "Data_LA": "1"
98    },
99    {
100        "PEBS": "1",
101        "CollectPEBSRecord": "2",
102        "EventCode": "0xd1",
103        "Counter": "0,1,2,3",
104        "UMask": "0x10",
105        "PEBScounters": "0,1,2,3",
106        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_MISS",
107        "SampleAfterValue": "200003",
108        "BriefDescription": "Counts the number of load uops retired that miss in the level 2 cache",
109        "Data_LA": "1"
110    }
111]