1[
2    {
3        "BriefDescription": "Uncore cache clock ticks",
4        "Counter": "0,1,2,3",
5        "EventName": "UNC_C_CLOCKTICKS",
6        "PerPkg": "1",
7        "Unit": "CBO"
8    },
9    {
10        "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)",
11        "Counter": "0,1",
12        "EventCode": "0x34",
13        "EventName": "UNC_C_LLC_LOOKUP.ANY",
14        "Filter": "filter_state=0x1",
15        "PerPkg": "1",
16        "ScaleUnit": "64Bytes",
17        "UMask": "0x11",
18        "Unit": "CBO"
19    },
20    {
21        "BriefDescription": "M line evictions from LLC (writebacks to memory)",
22        "Counter": "0,1",
23        "EventCode": "0x37",
24        "EventName": "UNC_C_LLC_VICTIMS.M_STATE",
25        "PerPkg": "1",
26        "ScaleUnit": "64Bytes",
27        "UMask": "0x1",
28        "Unit": "CBO"
29    },
30    {
31        "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode.demand",
32        "Counter": "0,1",
33        "EventCode": "0x35",
34        "EventName": "LLC_MISSES.DATA_READ",
35        "Filter": "filter_opc=0x182",
36        "PerPkg": "1",
37        "ScaleUnit": "64Bytes",
38        "UMask": "0x3",
39        "Unit": "CBO"
40    },
41    {
42        "BriefDescription": "LLC misses - Uncacheable reads. Derived from unc_c_tor_inserts.miss_opcode.uncacheable",
43        "Counter": "0,1",
44        "EventCode": "0x35",
45        "EventName": "LLC_MISSES.UNCACHEABLE",
46        "Filter": "filter_opc=0x187",
47        "PerPkg": "1",
48        "ScaleUnit": "64Bytes",
49        "UMask": "0x3",
50        "Unit": "CBO"
51    },
52    {
53        "BriefDescription": "PCIe allocating writes that miss LLC - DDIO misses. Derived from unc_c_tor_inserts.miss_opcode.ddio_miss",
54        "Counter": "0,1",
55        "EventCode": "0x35",
56        "EventName": "LLC_MISSES.PCIE_WRITE",
57        "Filter": "filter_opc=0x19c",
58        "PerPkg": "1",
59        "ScaleUnit": "64Bytes",
60        "UMask": "0x3",
61        "Unit": "CBO"
62    },
63    {
64        "BriefDescription": "LLC misses for ItoM writes (as part of fast string memcpy stores). Derived from unc_c_tor_inserts.miss_opcode.itom_write",
65        "Counter": "0,1",
66        "EventCode": "0x35",
67        "EventName": "LLC_MISSES.ITOM_WRITE",
68        "Filter": "filter_opc=0x1c8",
69        "PerPkg": "1",
70        "ScaleUnit": "64Bytes",
71        "UMask": "0x3",
72        "Unit": "CBO"
73    },
74    {
75        "BriefDescription": "Streaming stores (full cache line). Derived from unc_c_tor_inserts.opcode.streaming_full",
76        "Counter": "0,1",
77        "EventCode": "0x35",
78        "EventName": "LLC_REFERENCES.STREAMING_FULL",
79        "Filter": "filter_opc=0x18c",
80        "PerPkg": "1",
81        "ScaleUnit": "64Bytes",
82        "UMask": "0x1",
83        "Unit": "CBO"
84    },
85    {
86        "BriefDescription": "Streaming stores (partial cache line). Derived from unc_c_tor_inserts.opcode.streaming_partial",
87        "Counter": "0,1",
88        "EventCode": "0x35",
89        "EventName": "LLC_REFERENCES.STREAMING_PARTIAL",
90        "Filter": "filter_opc=0x18d",
91        "PerPkg": "1",
92        "ScaleUnit": "64Bytes",
93        "UMask": "0x1",
94        "Unit": "CBO"
95    },
96    {
97        "BriefDescription": "Partial PCIe reads. Derived from unc_c_tor_inserts.opcode.pcie_partial",
98        "Counter": "0,1",
99        "EventCode": "0x35",
100        "EventName": "LLC_REFERENCES.PCIE_PARTIAL_READ",
101        "Filter": "filter_opc=0x195",
102        "PerPkg": "1",
103        "ScaleUnit": "64Bytes",
104        "UMask": "0x1",
105        "Unit": "CBO"
106    },
107    {
108        "BriefDescription": "PCIe allocating writes that hit in LLC (DDIO hits). Derived from unc_c_tor_inserts.opcode.ddio_hit",
109        "Counter": "0,1",
110        "EventCode": "0x35",
111        "EventName": "LLC_REFERENCES.PCIE_WRITE",
112        "Filter": "filter_opc=0x19c",
113        "PerPkg": "1",
114        "ScaleUnit": "64Bytes",
115        "UMask": "0x1",
116        "Unit": "CBO"
117    },
118    {
119        "BriefDescription": "PCIe read current. Derived from unc_c_tor_inserts.opcode.pcie_read_current",
120        "Counter": "0,1",
121        "EventCode": "0x35",
122        "EventName": "LLC_REFERENCES.PCIE_READ",
123        "Filter": "filter_opc=0x19e",
124        "PerPkg": "1",
125        "ScaleUnit": "64Bytes",
126        "UMask": "0x1",
127        "Unit": "CBO"
128    },
129    {
130        "BriefDescription": "ItoM write hits (as part of fast string memcpy stores). Derived from unc_c_tor_inserts.opcode.itom_write_hit",
131        "Counter": "0,1",
132        "EventCode": "0x35",
133        "EventName": "LLC_REFERENCES.ITOM_WRITE",
134        "Filter": "filter_opc=0x1c8",
135        "PerPkg": "1",
136        "ScaleUnit": "64Bytes",
137        "UMask": "0x1",
138        "Unit": "CBO"
139    },
140    {
141        "BriefDescription": "PCIe non-snoop reads. Derived from unc_c_tor_inserts.opcode.pcie_read",
142        "Counter": "0,1",
143        "EventCode": "0x35",
144        "EventName": "LLC_REFERENCES.PCIE_NS_READ",
145        "Filter": "filter_opc=0x1e4",
146        "PerPkg": "1",
147        "ScaleUnit": "64Bytes",
148        "UMask": "0x1",
149        "Unit": "CBO"
150    },
151    {
152        "BriefDescription": "PCIe non-snoop writes (partial). Derived from unc_c_tor_inserts.opcode.pcie_partial_write",
153        "Counter": "0,1",
154        "EventCode": "0x35",
155        "EventName": "LLC_REFERENCES.PCIE_NS_PARTIAL_WRITE",
156        "Filter": "filter_opc=0x1e5",
157        "PerPkg": "1",
158        "ScaleUnit": "64Bytes",
159        "UMask": "0x1",
160        "Unit": "CBO"
161    },
162    {
163        "BriefDescription": "PCIe non-snoop writes (full line). Derived from unc_c_tor_inserts.opcode.pcie_full_write",
164        "Counter": "0,1",
165        "EventCode": "0x35",
166        "EventName": "LLC_REFERENCES.PCIE_NS_WRITE",
167        "Filter": "filter_opc=0x1e6",
168        "PerPkg": "1",
169        "ScaleUnit": "64Bytes",
170        "UMask": "0x1",
171        "Unit": "CBO"
172    },
173    {
174        "BriefDescription": "Occupancy counter for all LLC misses; we divide this by UNC_C_CLOCKTICKS to get average Q depth",
175        "EventCode": "0x36",
176        "EventName": "UNC_C_TOR_OCCUPANCY.MISS_ALL",
177        "Filter": "filter_opc=0x182",
178        "MetricExpr": "(UNC_C_TOR_OCCUPANCY.MISS_ALL / UNC_C_CLOCKTICKS) * 100.",
179        "MetricName": "tor_occupancy.miss_all %",
180        "PerPkg": "1",
181        "UMask": "0xa",
182        "Unit": "CBO"
183    },
184    {
185        "BriefDescription": "Occupancy counter for LLC data reads (demand and L2 prefetch). Derived from unc_c_tor_occupancy.miss_opcode.llc_data_read",
186        "EventCode": "0x36",
187        "EventName": "UNC_C_TOR_OCCUPANCY.LLC_DATA_READ",
188        "PerPkg": "1",
189        "UMask": "0x3",
190        "Unit": "CBO"
191    },
192    {
193        "BriefDescription": "read requests to home agent",
194        "Counter": "0,1,2,3",
195        "EventCode": "0x1",
196        "EventName": "UNC_H_REQUESTS.READS",
197        "PerPkg": "1",
198        "UMask": "0x3",
199        "Unit": "HA"
200    },
201    {
202        "BriefDescription": "write requests to home agent",
203        "Counter": "0,1,2,3",
204        "EventCode": "0x1",
205        "EventName": "UNC_H_REQUESTS.WRITES",
206        "PerPkg": "1",
207        "UMask": "0xc",
208        "Unit": "HA"
209    }
210]
211