summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/x86/amdzen5/l2-cache.json
blob: d1de51a0292262613da0707cee14ade6d4cc03a7 (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
[
  {
    "EventName": "l2_request_g1.group2",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests of non-cacheable type (non-cached data and instructions reads, self-modifying code checks).",
    "UMask": "0x01"
  },
  {
    "EventName": "l2_request_g1.l2_hw_pf",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests: from hardware prefetchers to prefetch directly into L2 (hit or miss).",
    "UMask": "0x02"
  },
  {
    "EventName": "l2_request_g1.prefetch_l2_cmd",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests: prefetch directly into L2.",
    "UMask": "0x04"
  },
  {
    "EventName": "l2_request_g1.cacheable_ic_read",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests: instruction cache reads.",
    "UMask": "0x10"
  },
  {
    "EventName": "l2_request_g1.ls_rd_blk_c_s",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests: data cache shared reads.",
    "UMask": "0x20"
  },
  {
    "EventName": "l2_request_g1.rd_blk_x",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests: data cache stores.",
    "UMask": "0x40"
  },
  {
    "EventName": "l2_request_g1.rd_blk_l",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests: data cache reads including hardware and software prefetch.",
    "UMask": "0x80"
  },
  {
    "EventName": "l2_request_g1.all_dc",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests of common types from L1 data cache (including prefetches).",
    "UMask": "0xe0"
  },
  {
    "EventName": "l2_request_g1.all_no_prefetch",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests of common types not including prefetches.",
    "UMask": "0xf1"
  },
  {
    "EventName": "l2_request_g1.all",
    "EventCode": "0x60",
    "BriefDescription": "L2 cache requests of all types.",
    "UMask": "0xf7"
  },
  {
    "EventName": "l2_request_g2.ls_rd_sized_nc",
    "EventCode": "0x61",
    "BriefDescription": "L2 cache requests: non-coherent, non-cacheable LS sized reads.",
    "UMask": "0x20"
  },
  {
    "EventName": "l2_request_g2.ls_rd_sized",
    "EventCode": "0x61",
    "BriefDescription": "L2 cache requests: coherent, non-cacheable LS sized reads.",
    "UMask": "0x40"
  },
  {
    "EventName": "l2_wcb_req.wcb_close",
    "EventCode": "0x63",
    "BriefDescription": "Write Combining Buffer (WCB) closures.",
    "UMask": "0x20"
  },
  {
    "EventName": "l2_cache_req_stat.ic_fill_miss",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: instruction cache request miss in L2.",
    "UMask": "0x01"
  },
  {
    "EventName": "l2_cache_req_stat.ic_fill_hit_s",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: instruction cache hit non-modifiable line in L2.",
    "UMask": "0x02"
  },
  {
    "EventName": "l2_cache_req_stat.ic_fill_hit_x",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: instruction cache hit modifiable line in L2.",
    "UMask": "0x04"
  },
  {
    "EventName": "l2_cache_req_stat.ic_hit_in_l2",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for instruction cache hits.",
    "UMask": "0x06"
  },
  {
    "EventName": "l2_cache_req_stat.ic_access_in_l2",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for instruction cache access.",
    "UMask": "0x07"
  },
  {
    "EventName": "l2_cache_req_stat.ls_rd_blk_c",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache request miss in L2.",
    "UMask": "0x08"
  },
  {
    "EventName": "l2_cache_req_stat.ic_dc_miss_in_l2",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data and instruction cache misses.",
    "UMask": "0x09"
  },
  {
    "EventName": "l2_cache_req_stat.ls_rd_blk_x",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache store or state change hit in L2.",
    "UMask": "0x10"
  },
  {
    "EventName": "l2_cache_req_stat.ls_rd_blk_l_hit_s",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache read hit non-modifiable line in L2.",
    "UMask": "0x20"
  },
  {
    "EventName": "l2_cache_req_stat.ls_rd_blk_l_hit_x",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache read hit modifiable line in L2.",
    "UMask": "0x40"
  },
  {
    "EventName": "l2_cache_req_stat.ls_rd_blk_cs",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) with status: data cache shared read hit in L2.",
    "UMask": "0x80"
  },
  {
    "EventName": "l2_cache_req_stat.dc_hit_in_l2",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data cache hits.",
    "UMask": "0xf0"
  },
  {
    "EventName": "l2_cache_req_stat.ic_dc_hit_in_l2",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data and instruction cache hits.",
    "UMask": "0xf6"
  },
  {
    "EventName": "l2_cache_req_stat.dc_access_in_l2",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data cache access.",
    "UMask": "0xf8"
  },
  {
    "EventName": "l2_cache_req_stat.all",
    "EventCode": "0x64",
    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) for data and instruction cache access.",
    "UMask": "0xff"
  },
  {
    "EventName": "l2_pf_hit_l2.l2_hwpf",
    "EventCode": "0x70",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache and are generated from L2 hardware prefetchers.",
    "UMask": "0x1f"
  },
  {
    "EventName": "l2_pf_hit_l2.l1_dc_hwpf",
    "EventCode": "0x70",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache and are generated from L1 data hardware prefetchers.",
    "UMask": "0xe0"
  },
  {
    "EventName": "l2_pf_hit_l2.l1_dc_l2_hwpf",
    "EventCode": "0x70",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache and are generated from L1 data and L2 hardware prefetchers.",
    "UMask": "0xff"
  },
  {
    "EventName": "l2_pf_miss_l2_hit_l3.l2_hwpf",
    "EventCode": "0x71",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache but hit in the L3 cache and are generated from L2 hardware prefetchers.",
    "UMask": "0x1f"
  },
  {
    "EventName": "l2_pf_miss_l2_hit_l3.l1_dc_hwpf",
    "EventCode": "0x71",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache but hit in the L3 cache and are generated from L1 data hardware prefetchers.",
    "UMask": "0xe0"
  },
  {
    "EventName": "l2_pf_miss_l2_hit_l3.l1_dc_l2_hwpf",
    "EventCode": "0x71",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache but hit in the L3 cache and are generated from L1 data and L2 hardware prefetchers.",
    "UMask": "0xff"
  },
  {
    "EventName": "l2_pf_miss_l2_l3.l2_hwpf",
    "EventCode": "0x72",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 as well as the L3 caches and are generated from L2 hardware prefetchers.",
    "UMask": "0x1f"
  },
  {
    "EventName": "l2_pf_miss_l2_l3.l1_dc_hwpf",
    "EventCode": "0x72",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 as well as the L3 caches and are generated from L1 data hardware prefetchers.",
    "UMask": "0xe0"
  },
  {
    "EventName": "l2_pf_miss_l2_l3.l1_dc_l2_hwpf",
    "EventCode": "0x72",
    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 as well as the L3 caches and are generated from L1 data and L2 hardware prefetchers.",
    "UMask": "0xff"
  },
  {
    "EventName": "l2_fill_rsp_src.local_ccx",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from L3 cache or different L2 cache in the same CCX.",
    "UMask": "0x02"
  },
  {
    "EventName": "l2_fill_rsp_src.near_cache",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from cache of another CCX when the address was in the same NUMA node.",
    "UMask": "0x04"
  },
  {
    "EventName": "l2_fill_rsp_src.dram_io_near",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from either DRAM or MMIO in the same NUMA node.",
    "UMask": "0x08"
  },
  {
    "EventName": "l2_fill_rsp_src.far_cache",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from cache of another CCX when the address was in a different NUMA node.",
    "UMask": "0x10"
  },
  {
    "EventName": "l2_fill_rsp_src.dram_io_far",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from either DRAM or MMIO in a different NUMA node (same or different socket).",
    "UMask": "0x40"
  },
  {
    "EventName": "l2_fill_rsp_src.alternate_memories",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from extension memory.",
    "UMask": "0x80"
  },
  {
    "EventName": "l2_fill_rsp_src.all",
    "EventCode": "0x165",
    "BriefDescription": "L2 cache fills from all types of data sources.",
    "UMask": "0xde"
  }
]