]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libpmcstat/pmu-events/arch/x86/broadwellde/uncore-cache.json
libpmcstat: compile in events based on json description
[FreeBSD/FreeBSD.git] / lib / libpmcstat / pmu-events / arch / x86 / broadwellde / uncore-cache.json
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,2,3",
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,2,3",
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",
32         "Counter": "0,1,2,3",
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 (from cpu) . Derived from unc_c_tor_inserts.miss_opcode",
43         "Counter": "0,1,2,3",
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": "MMIO reads. Derived from unc_c_tor_inserts.miss_opcode",
54         "Counter": "0,1,2,3",
55         "EventCode": "0x35",
56         "EventName": "LLC_MISSES.MMIO_READ",
57         "Filter": "filter_opc=0x187,filter_nc=1",
58         "PerPkg": "1",
59         "ScaleUnit": "64Bytes",
60         "UMask": "0x3",
61         "Unit": "CBO"
62     },
63     {
64         "BriefDescription": "MMIO writes. Derived from unc_c_tor_inserts.miss_opcode",
65         "Counter": "0,1,2,3",
66         "EventCode": "0x35",
67         "EventName": "LLC_MISSES.MMIO_WRITE",
68         "Filter": "filter_opc=0x18f,filter_nc=1",
69         "PerPkg": "1",
70         "ScaleUnit": "64Bytes",
71         "UMask": "0x3",
72         "Unit": "CBO"
73     },
74     {
75         "BriefDescription": "LLC prefetch misses for RFO. Derived from unc_c_tor_inserts.miss_opcode",
76         "Counter": "0,1,2,3",
77         "EventCode": "0x35",
78         "EventName": "LLC_MISSES.RFO_LLC_PREFETCH",
79         "Filter": "filter_opc=0x190",
80         "PerPkg": "1",
81         "ScaleUnit": "64Bytes",
82         "UMask": "0x3",
83         "Unit": "CBO"
84     },
85     {
86         "BriefDescription": "LLC prefetch misses for code reads. Derived from unc_c_tor_inserts.miss_opcode",
87         "Counter": "0,1,2,3",
88         "EventCode": "0x35",
89         "EventName": "LLC_MISSES.CODE_LLC_PREFETCH",
90         "Filter": "filter_opc=0x191",
91         "PerPkg": "1",
92         "ScaleUnit": "64Bytes",
93         "UMask": "0x3",
94         "Unit": "CBO"
95     },
96     {
97         "BriefDescription": "LLC prefetch misses for data reads. Derived from unc_c_tor_inserts.miss_opcode",
98         "Counter": "0,1,2,3",
99         "EventCode": "0x35",
100         "EventName": "LLC_MISSES.DATA_LLC_PREFETCH",
101         "Filter": "filter_opc=0x192",
102         "PerPkg": "1",
103         "ScaleUnit": "64Bytes",
104         "UMask": "0x3",
105         "Unit": "CBO"
106     },
107     {
108         "BriefDescription": "LLC misses for PCIe read current. Derived from unc_c_tor_inserts.miss_opcode",
109         "Counter": "0,1,2,3",
110         "EventCode": "0x35",
111         "EventName": "LLC_MISSES.PCIE_READ",
112         "Filter": "filter_opc=0x19e",
113         "PerPkg": "1",
114         "ScaleUnit": "64Bytes",
115         "UMask": "0x3",
116         "Unit": "CBO"
117     },
118     {
119         "BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line writes. Derived from unc_c_tor_inserts.miss_opcode",
120         "Counter": "0,1,2,3",
121         "EventCode": "0x35",
122         "EventName": "LLC_MISSES.PCIE_WRITE",
123         "Filter": "filter_opc=0x1c8",
124         "PerPkg": "1",
125         "ScaleUnit": "64Bytes",
126         "UMask": "0x3",
127         "Unit": "CBO"
128     },
129     {
130         "BriefDescription": "PCIe write misses (full cache line). Derived from unc_c_tor_inserts.miss_opcode",
131         "Counter": "0,1,2,3",
132         "EventCode": "0x35",
133         "EventName": "LLC_MISSES.PCIE_NON_SNOOP_WRITE",
134         "Filter": "filter_opc=0x1c8,filter_tid=0x3e",
135         "PerPkg": "1",
136         "ScaleUnit": "64Bytes",
137         "UMask": "0x3",
138         "Unit": "CBO"
139     },
140     {
141         "BriefDescription": "PCIe writes (partial cache line). Derived from unc_c_tor_inserts.opcode",
142         "Counter": "0,1,2,3",
143         "EventCode": "0x35",
144         "EventName": "LLC_REFERENCES.PCIE_NS_PARTIAL_WRITE",
145         "Filter": "filter_opc=0x180,filter_tid=0x3e",
146         "PerPkg": "1",
147         "UMask": "0x1",
148         "Unit": "CBO"
149     },
150     {
151         "BriefDescription": "L2 demand and L2 prefetch code references to LLC. Derived from unc_c_tor_inserts.opcode",
152         "Counter": "0,1,2,3",
153         "EventCode": "0x35",
154         "EventName": "LLC_REFERENCES.CODE_LLC_PREFETCH",
155         "Filter": "filter_opc=0x181",
156         "PerPkg": "1",
157         "ScaleUnit": "64Bytes",
158         "UMask": "0x1",
159         "Unit": "CBO"
160     },
161     {
162         "BriefDescription": "Streaming stores (full cache line). Derived from unc_c_tor_inserts.opcode",
163         "Counter": "0,1,2,3",
164         "EventCode": "0x35",
165         "EventName": "LLC_REFERENCES.STREAMING_FULL",
166         "Filter": "filter_opc=0x18c",
167         "PerPkg": "1",
168         "ScaleUnit": "64Bytes",
169         "UMask": "0x1",
170         "Unit": "CBO"
171     },
172     {
173         "BriefDescription": "Streaming stores (partial cache line). Derived from unc_c_tor_inserts.opcode",
174         "Counter": "0,1,2,3",
175         "EventCode": "0x35",
176         "EventName": "LLC_REFERENCES.STREAMING_PARTIAL",
177         "Filter": "filter_opc=0x18d",
178         "PerPkg": "1",
179         "ScaleUnit": "64Bytes",
180         "UMask": "0x1",
181         "Unit": "CBO"
182     },
183     {
184         "BriefDescription": "PCIe read current. Derived from unc_c_tor_inserts.opcode",
185         "Counter": "0,1,2,3",
186         "EventCode": "0x35",
187         "EventName": "LLC_REFERENCES.PCIE_READ",
188         "Filter": "filter_opc=0x19e",
189         "PerPkg": "1",
190         "ScaleUnit": "64Bytes",
191         "UMask": "0x1",
192         "Unit": "CBO"
193     },
194     {
195         "BriefDescription": "PCIe write references (full cache line). Derived from unc_c_tor_inserts.opcode",
196         "Counter": "0,1,2,3",
197         "EventCode": "0x35",
198         "EventName": "LLC_REFERENCES.PCIE_WRITE",
199         "Filter": "filter_opc=0x1c8,filter_tid=0x3e",
200         "PerPkg": "1",
201         "ScaleUnit": "64Bytes",
202         "UMask": "0x1",
203         "Unit": "CBO"
204     },
205     {
206         "BriefDescription": "Occupancy counter for LLC data reads (demand and L2 prefetch). Derived from unc_c_tor_occupancy.miss_opcode",
207         "EventCode": "0x36",
208         "EventName": "UNC_C_TOR_OCCUPANCY.LLC_DATA_READ",
209         "Filter": "filter_opc=0x182",
210         "PerPkg": "1",
211         "UMask": "0x3",
212         "Unit": "CBO"
213     },
214     {
215         "BriefDescription": "read requests to home agent",
216         "Counter": "0,1,2,3",
217         "EventCode": "0x1",
218         "EventName": "UNC_H_REQUESTS.READS",
219         "PerPkg": "1",
220         "UMask": "0x3",
221         "Unit": "HA"
222     },
223     {
224         "BriefDescription": "read requests to local home agent",
225         "Counter": "0,1,2,3",
226         "EventCode": "0x1",
227         "EventName": "UNC_H_REQUESTS.READS_LOCAL",
228         "PerPkg": "1",
229         "UMask": "0x1",
230         "Unit": "HA"
231     },
232     {
233         "BriefDescription": "read requests to remote home agent",
234         "Counter": "0,1,2,3",
235         "EventCode": "0x1",
236         "EventName": "UNC_H_REQUESTS.READS_REMOTE",
237         "PerPkg": "1",
238         "UMask": "0x2",
239         "Unit": "HA"
240     },
241     {
242         "BriefDescription": "write requests to home agent",
243         "Counter": "0,1,2,3",
244         "EventCode": "0x1",
245         "EventName": "UNC_H_REQUESTS.WRITES",
246         "PerPkg": "1",
247         "UMask": "0xC",
248         "Unit": "HA"
249     },
250     {
251         "BriefDescription": "write requests to local home agent",
252         "Counter": "0,1,2,3",
253         "EventCode": "0x1",
254         "EventName": "UNC_H_REQUESTS.WRITES_LOCAL",
255         "PerPkg": "1",
256         "UMask": "0x4",
257         "Unit": "HA"
258     },
259     {
260         "BriefDescription": "write requests to remote home agent",
261         "Counter": "0,1,2,3",
262         "EventCode": "0x1",
263         "EventName": "UNC_H_REQUESTS.WRITES_REMOTE",
264         "PerPkg": "1",
265         "UMask": "0x8",
266         "Unit": "HA"
267     },
268     {
269         "BriefDescription": "Conflict requests (requests for same address from multiple agents simultaneously)",
270         "Counter": "0,1,2,3",
271         "EventCode": "0x21",
272         "EventName": "UNC_H_SNOOP_RESP.RSPCNFLCT",
273         "PerPkg": "1",
274         "UMask": "0x40",
275         "Unit": "HA"
276     },
277     {
278         "BriefDescription": "M line forwarded from remote cache along with writeback to memory",
279         "Counter": "0,1,2,3",
280         "EventCode": "0x21",
281         "EventName": "UNC_H_SNOOP_RESP.RSP_FWD_WB",
282         "PerPkg": "1",
283         "ScaleUnit": "64Bytes",
284         "UMask": "0x20",
285         "Unit": "HA"
286     },
287     {
288         "BriefDescription": "M line forwarded from remote cache with no writeback to memory",
289         "Counter": "0,1,2,3",
290         "EventCode": "0x21",
291         "EventName": "UNC_H_SNOOP_RESP.RSPIFWD",
292         "PerPkg": "1",
293         "ScaleUnit": "64Bytes",
294         "UMask": "0x4",
295         "Unit": "HA"
296     },
297     {
298         "BriefDescription": "Shared line response from remote cache",
299         "Counter": "0,1,2,3",
300         "EventCode": "0x21",
301         "EventName": "UNC_H_SNOOP_RESP.RSPS",
302         "PerPkg": "1",
303         "ScaleUnit": "64Bytes",
304         "UMask": "0x2",
305         "Unit": "HA"
306     },
307     {
308         "BriefDescription": "Shared line forwarded from remote cache",
309         "Counter": "0,1,2,3",
310         "EventCode": "0x21",
311         "EventName": "UNC_H_SNOOP_RESP.RSPSFWD",
312         "PerPkg": "1",
313         "ScaleUnit": "64Bytes",
314         "UMask": "0x8",
315         "Unit": "HA"
316     }
317 ]