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