target/cxgbit: Use T6 specific macros to get ETH/IP hdr len
[linux/fpc-iii.git] / tools / perf / pmu-events / arch / x86 / sandybridge / memory.json
blobe6dfa89d00f3f8d78143f75fcbe68e1e520237a3
2     {
3         "PublicDescription": "This event counts the number of memory ordering Machine Clears detected. Memory Ordering Machine Clears can result from memory disambiguation, external snoops, or cross SMT-HW-thread snoop (stores) hitting load buffers.  Machine clears can have a significant performance impact if they are happening frequently.",
4         "EventCode": "0xC3",
5         "Counter": "0,1,2,3",
6         "UMask": "0x2",
7         "EventName": "MACHINE_CLEARS.MEMORY_ORDERING",
8         "SampleAfterValue": "100003",
9         "BriefDescription": "Counts the number of machine clears due to memory order conflicts.",
10         "CounterHTOff": "0,1,2,3,4,5,6,7"
11     },
12     {
13         "PEBS": "2",
14         "EventCode": "0xCD",
15         "MSRValue": "0x4",
16         "Counter": "3",
17         "UMask": "0x1",
18         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_4",
19         "MSRIndex": "0x3F6",
20         "SampleAfterValue": "100003",
21         "BriefDescription": "Loads with latency value being above 4 .",
22         "TakenAlone": "1",
23         "CounterHTOff": "3"
24     },
25     {
26         "PEBS": "2",
27         "EventCode": "0xCD",
28         "MSRValue": "0x8",
29         "Counter": "3",
30         "UMask": "0x1",
31         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_8",
32         "MSRIndex": "0x3F6",
33         "SampleAfterValue": "50021",
34         "BriefDescription": "Loads with latency value being above 8.",
35         "TakenAlone": "1",
36         "CounterHTOff": "3"
37     },
38     {
39         "PEBS": "2",
40         "EventCode": "0xCD",
41         "MSRValue": "0x10",
42         "Counter": "3",
43         "UMask": "0x1",
44         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_16",
45         "MSRIndex": "0x3F6",
46         "SampleAfterValue": "20011",
47         "BriefDescription": "Loads with latency value being above 16.",
48         "TakenAlone": "1",
49         "CounterHTOff": "3"
50     },
51     {
52         "PEBS": "2",
53         "EventCode": "0xCD",
54         "MSRValue": "0x20",
55         "Counter": "3",
56         "UMask": "0x1",
57         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_32",
58         "MSRIndex": "0x3F6",
59         "SampleAfterValue": "100007",
60         "BriefDescription": "Loads with latency value being above 32.",
61         "TakenAlone": "1",
62         "CounterHTOff": "3"
63     },
64     {
65         "PEBS": "2",
66         "EventCode": "0xCD",
67         "MSRValue": "0x40",
68         "Counter": "3",
69         "UMask": "0x1",
70         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_64",
71         "MSRIndex": "0x3F6",
72         "SampleAfterValue": "2003",
73         "BriefDescription": "Loads with latency value being above 64.",
74         "TakenAlone": "1",
75         "CounterHTOff": "3"
76     },
77     {
78         "PEBS": "2",
79         "EventCode": "0xCD",
80         "MSRValue": "0x80",
81         "Counter": "3",
82         "UMask": "0x1",
83         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_128",
84         "MSRIndex": "0x3F6",
85         "SampleAfterValue": "1009",
86         "BriefDescription": "Loads with latency value being above 128.",
87         "TakenAlone": "1",
88         "CounterHTOff": "3"
89     },
90     {
91         "PEBS": "2",
92         "EventCode": "0xCD",
93         "MSRValue": "0x100",
94         "Counter": "3",
95         "UMask": "0x1",
96         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_256",
97         "MSRIndex": "0x3F6",
98         "SampleAfterValue": "503",
99         "BriefDescription": "Loads with latency value being above 256.",
100         "TakenAlone": "1",
101         "CounterHTOff": "3"
102     },
103     {
104         "PEBS": "2",
105         "EventCode": "0xCD",
106         "MSRValue": "0x200",
107         "Counter": "3",
108         "UMask": "0x1",
109         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_512",
110         "MSRIndex": "0x3F6",
111         "SampleAfterValue": "101",
112         "BriefDescription": "Loads with latency value being above 512.",
113         "TakenAlone": "1",
114         "CounterHTOff": "3"
115     },
116     {
117         "PEBS": "2",
118         "EventCode": "0xCD",
119         "Counter": "3",
120         "UMask": "0x2",
121         "EventName": "MEM_TRANS_RETIRED.PRECISE_STORE",
122         "SampleAfterValue": "2000003",
123         "BriefDescription": "Sample stores and collect precise store operation via PEBS record. PMC3 only. (Precise Event - PEBS).",
124         "PRECISE_STORE": "1",
125         "TakenAlone": "1",
126         "CounterHTOff": "3"
127     },
128     {
129         "EventCode": "0xBE",
130         "Counter": "0,1,2,3",
131         "UMask": "0x1",
132         "EventName": "PAGE_WALKS.LLC_MISS",
133         "SampleAfterValue": "100003",
134         "BriefDescription": "Number of any page walk that had a miss in LLC. Does not necessary cause a SUSPEND.",
135         "CounterHTOff": "0,1,2,3,4,5,6,7"
136     },
137     {
138         "EventCode": "0x05",
139         "Counter": "0,1,2,3",
140         "UMask": "0x1",
141         "EventName": "MISALIGN_MEM_REF.LOADS",
142         "SampleAfterValue": "2000003",
143         "BriefDescription": "Speculative cache line split load uops dispatched to L1 cache.",
144         "CounterHTOff": "0,1,2,3,4,5,6,7"
145     },
146     {
147         "EventCode": "0x05",
148         "Counter": "0,1,2,3",
149         "UMask": "0x2",
150         "EventName": "MISALIGN_MEM_REF.STORES",
151         "SampleAfterValue": "2000003",
152         "BriefDescription": "Speculative cache line split STA uops dispatched to L1 cache.",
153         "CounterHTOff": "0,1,2,3,4,5,6,7"
154     },
155     {
156         "EventCode": "0xB7, 0xBB",
157         "MSRValue": "0x300400244",
158         "Counter": "0,1,2,3",
159         "UMask": "0x1",
160         "Offcore": "1",
161         "EventName": "OFFCORE_RESPONSE.ALL_CODE_RD.LLC_MISS.DRAM",
162         "MSRIndex": "0x1a6,0x1a7",
163         "SampleAfterValue": "100003",
164         "BriefDescription": "Counts all demand & prefetch code reads that miss the LLC  and the data returned from dram.",
165         "CounterHTOff": "0,1,2,3"
166     },
167     {
168         "EventCode": "0xB7, 0xBB",
169         "MSRValue": "0x300400091",
170         "Counter": "0,1,2,3",
171         "UMask": "0x1",
172         "Offcore": "1",
173         "EventName": "OFFCORE_RESPONSE.ALL_DATA_RD.LLC_MISS.DRAM",
174         "MSRIndex": "0x1a6,0x1a7",
175         "SampleAfterValue": "100003",
176         "BriefDescription": "Counts all demand & prefetch data reads that miss the LLC  and the data returned from dram.",
177         "CounterHTOff": "0,1,2,3"
178     },
179     {
180         "EventCode": "0xB7, 0xBB",
181         "MSRValue": "0x300400240",
182         "Counter": "0,1,2,3",
183         "UMask": "0x1",
184         "Offcore": "1",
185         "EventName": "OFFCORE_RESPONSE.ALL_PF_CODE_RD.LLC_MISS.DRAM",
186         "MSRIndex": "0x1a6,0x1a7",
187         "SampleAfterValue": "100003",
188         "BriefDescription": "Counts all prefetch code reads that miss the LLC  and the data returned from dram.",
189         "CounterHTOff": "0,1,2,3"
190     },
191     {
192         "EventCode": "0xB7, 0xBB",
193         "MSRValue": "0x300400090",
194         "Counter": "0,1,2,3",
195         "UMask": "0x1",
196         "Offcore": "1",
197         "EventName": "OFFCORE_RESPONSE.ALL_PF_DATA_RD.LLC_MISS.DRAM",
198         "MSRIndex": "0x1a6,0x1a7",
199         "SampleAfterValue": "100003",
200         "BriefDescription": "Counts all prefetch data reads that miss the LLC  and the data returned from dram.",
201         "CounterHTOff": "0,1,2,3"
202     },
203     {
204         "EventCode": "0xB7, 0xBB",
205         "MSRValue": "0x300400120",
206         "Counter": "0,1,2,3",
207         "UMask": "0x1",
208         "Offcore": "1",
209         "EventName": "OFFCORE_RESPONSE.ALL_PF_RFO.LLC_MISS.DRAM",
210         "MSRIndex": "0x1a6,0x1a7",
211         "SampleAfterValue": "100003",
212         "BriefDescription": "Counts all prefetch RFOs that miss the LLC  and the data returned from dram.",
213         "CounterHTOff": "0,1,2,3"
214     },
215     {
216         "EventCode": "0xB7, 0xBB",
217         "MSRValue": "0x3004003f7",
218         "Counter": "0,1,2,3",
219         "UMask": "0x1",
220         "Offcore": "1",
221         "EventName": "OFFCORE_RESPONSE.ALL_READS.LLC_MISS.DRAM",
222         "MSRIndex": "0x1a6,0x1a7",
223         "SampleAfterValue": "100003",
224         "BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) that miss the LLC  and the data returned from dram.",
225         "CounterHTOff": "0,1,2,3"
226     },
227     {
228         "EventCode": "0xB7, 0xBB",
229         "MSRValue": "0x300400122",
230         "Counter": "0,1,2,3",
231         "UMask": "0x1",
232         "Offcore": "1",
233         "EventName": "OFFCORE_RESPONSE.ALL_RFO.LLC_MISS.DRAM",
234         "MSRIndex": "0x1a6,0x1a7",
235         "SampleAfterValue": "100003",
236         "BriefDescription": "Counts all demand & prefetch RFOs that miss the LLC  and the data returned from dram.",
237         "CounterHTOff": "0,1,2,3"
238     },
239     {
240         "EventCode": "0xB7, 0xBB",
241         "MSRValue": "0x300400004",
242         "Counter": "0,1,2,3",
243         "UMask": "0x1",
244         "Offcore": "1",
245         "EventName": "OFFCORE_RESPONSE.DEMAND_CODE_RD.LLC_MISS.DRAM",
246         "MSRIndex": "0x1a6,0x1a7",
247         "SampleAfterValue": "100003",
248         "BriefDescription": "Counts demand code reads that miss the LLC and the data returned from dram.",
249         "CounterHTOff": "0,1,2,3"
250     },
251     {
252         "EventCode": "0xB7, 0xBB",
253         "MSRValue": "0x300400001",
254         "Counter": "0,1,2,3",
255         "UMask": "0x1",
256         "Offcore": "1",
257         "EventName": "OFFCORE_RESPONSE.DEMAND_DATA_RD.LLC_MISS.DRAM",
258         "MSRIndex": "0x1a6,0x1a7",
259         "SampleAfterValue": "100003",
260         "BriefDescription": "Counts demand data reads that miss the LLC and the data returned from dram.",
261         "CounterHTOff": "0,1,2,3"
262     },
263     {
264         "EventCode": "0xB7, 0xBB",
265         "MSRValue": "0x300400002",
266         "Counter": "0,1,2,3",
267         "UMask": "0x1",
268         "Offcore": "1",
269         "EventName": "OFFCORE_RESPONSE.DEMAND_RFO.LLC_MISS.DRAM",
270         "MSRIndex": "0x1a6,0x1a7",
271         "SampleAfterValue": "100003",
272         "BriefDescription": "Counts demand data writes (RFOs) that miss the LLC and the data returned from dram.",
273         "CounterHTOff": "0,1,2,3"
274     },
275     {
276         "EventCode": "0xB7, 0xBB",
277         "MSRValue": "0x300400040",
278         "Counter": "0,1,2,3",
279         "UMask": "0x1",
280         "Offcore": "1",
281         "EventName": "OFFCORE_RESPONSE.PF_L2_CODE_RD.LLC_MISS.DRAM",
282         "MSRIndex": "0x1a6,0x1a7",
283         "SampleAfterValue": "100003",
284         "BriefDescription": "Counts all prefetch (that bring data to L2) code reads that miss the LLC  and the data returned from dram.",
285         "CounterHTOff": "0,1,2,3"
286     },
287     {
288         "EventCode": "0xB7, 0xBB",
289         "MSRValue": "0x300400010",
290         "Counter": "0,1,2,3",
291         "UMask": "0x1",
292         "Offcore": "1",
293         "EventName": "OFFCORE_RESPONSE.PF_L2_DATA_RD.LLC_MISS.DRAM",
294         "MSRIndex": "0x1a6,0x1a7",
295         "SampleAfterValue": "100003",
296         "BriefDescription": "Counts prefetch (that bring data to L2) data reads that miss the LLC and the data returned from dram.",
297         "CounterHTOff": "0,1,2,3"
298     },
299     {
300         "EventCode": "0xB7, 0xBB",
301         "MSRValue": "0x300400020",
302         "Counter": "0,1,2,3",
303         "UMask": "0x1",
304         "Offcore": "1",
305         "EventName": "OFFCORE_RESPONSE.PF_L2_RFO.LLC_MISS.DRAM",
306         "MSRIndex": "0x1a6,0x1a7",
307         "SampleAfterValue": "100003",
308         "BriefDescription": "Counts all prefetch (that bring data to L2) RFOs that miss the LLC  and the data returned from dram.",
309         "CounterHTOff": "0,1,2,3"
310     },
311     {
312         "EventCode": "0xB7, 0xBB",
313         "MSRValue": "0x300400200",
314         "Counter": "0,1,2,3",
315         "UMask": "0x1",
316         "Offcore": "1",
317         "EventName": "OFFCORE_RESPONSE.PF_LLC_CODE_RD.LLC_MISS.DRAM",
318         "MSRIndex": "0x1a6,0x1a7",
319         "SampleAfterValue": "100003",
320         "BriefDescription": "Counts all prefetch (that bring data to LLC only) code reads that miss the LLC  and the data returned from dram.",
321         "CounterHTOff": "0,1,2,3"
322     },
323     {
324         "EventCode": "0xB7, 0xBB",
325         "MSRValue": "0x300400080",
326         "Counter": "0,1,2,3",
327         "UMask": "0x1",
328         "Offcore": "1",
329         "EventName": "OFFCORE_RESPONSE.PF_LLC_DATA_RD.LLC_MISS.DRAM",
330         "MSRIndex": "0x1a6,0x1a7",
331         "SampleAfterValue": "100003",
332         "BriefDescription": "Counts all prefetch (that bring data to LLC only) data reads that miss the LLC  and the data returned from dram.",
333         "CounterHTOff": "0,1,2,3"
334     },
335     {
336         "EventCode": "0xB7, 0xBB",
337         "MSRValue": "0x300400100",
338         "Counter": "0,1,2,3",
339         "UMask": "0x1",
340         "Offcore": "1",
341         "EventName": "OFFCORE_RESPONSE.PF_LLC_RFO.LLC_MISS.DRAM",
342         "MSRIndex": "0x1a6,0x1a7",
343         "SampleAfterValue": "100003",
344         "BriefDescription": "Counts all prefetch (that bring data to LLC only) RFOs that miss the LLC  and the data returned from dram.",
345         "CounterHTOff": "0,1,2,3"
346     },
347     {
348         "PublicDescription": "This event counts all data requests (demand/prefetch data reads and demand data writes (RFOs) that miss the LLC  where the data is returned from local DRAM",
349         "EventCode": "0xB7, 0xBB",
350         "MSRValue": "0x6004001b3",
351         "Counter": "0,1,2,3",
352         "UMask": "0x1",
353         "Offcore": "1",
354         "EventName": "OFFCORE_RESPONSE.DATA_IN_SOCKET.LLC_MISS.LOCAL_DRAM",
355         "MSRIndex": "0x1a6,0x1a7",
356         "SampleAfterValue": "100003",
357         "BriefDescription": "Counts LLC replacements.",
358         "CounterHTOff": "0,1,2,3"
359     },
360     {
361         "PublicDescription": "This event counts any requests that miss the LLC where the data was returned from local DRAM",
362         "EventCode": "0xB7, 0xBB",
363         "MSRValue": "0x1f80408fff",
364         "Counter": "0,1,2,3",
365         "UMask": "0x1",
366         "Offcore": "1",
367         "EventName": "OFFCORE_RESPONSE.ANY_REQUEST.LLC_MISS_LOCAL.DRAM",
368         "MSRIndex": "0x1a6,0x1a7",
369         "SampleAfterValue": "100003",
370         "BriefDescription": " REQUEST = ANY_REQUEST and RESPONSE = LLC_MISS_LOCAL and SNOOP = DRAM",
371         "CounterHTOff": "0,1,2,3"
372     },
373     {
374         "EventCode": "0xB7, 0xBB",
375         "MSRValue": "0x17004001b3",
376         "Counter": "0,1,2,3",
377         "UMask": "0x1",
378         "Offcore": "1",
379         "EventName": "OFFCORE_RESPONSE.DATA_IN_SOCKET.LLC_MISS_LOCAL.ANY_LLC_HIT",
380         "MSRIndex": "0x1a6,0x1a7",
381         "SampleAfterValue": "100003",
382         "BriefDescription": " REQUEST = DATA_IN_SOCKET and RESPONSE = LLC_MISS_LOCAL and SNOOP = ANY_LLC_HIT",
383         "CounterHTOff": "0,1,2,3"
384     },
385     {
386         "EventCode": "0xB7, 0xBB",
387         "MSRValue": "0x1f80400004",
388         "Counter": "0,1,2,3",
389         "UMask": "0x1",
390         "Offcore": "1",
391         "EventName": "OFFCORE_RESPONSE.DEMAND_IFETCH.LLC_MISS_LOCAL.DRAM",
392         "MSRIndex": "0x1a6,0x1a7",
393         "SampleAfterValue": "100003",
394         "BriefDescription": " REQUEST = DEMAND_IFETCH and RESPONSE = LLC_MISS_LOCAL and SNOOP = DRAM",
395         "CounterHTOff": "0,1,2,3"
396     },
397     {
398         "EventCode": "0xB7, 0xBB",
399         "MSRValue": "0x1f80400010",
400         "Counter": "0,1,2,3",
401         "UMask": "0x1",
402         "Offcore": "1",
403         "EventName": "OFFCORE_RESPONSE.PF_DATA_RD.LLC_MISS_LOCAL.DRAM",
404         "MSRIndex": "0x1a6,0x1a7",
405         "SampleAfterValue": "100003",
406         "BriefDescription": " REQUEST = PF_DATA_RD and RESPONSE = LLC_MISS_LOCAL and SNOOP = DRAM",
407         "CounterHTOff": "0,1,2,3"
408     },
409     {
410         "EventCode": "0xB7, 0xBB",
411         "MSRValue": "0x1f80400040",
412         "Counter": "0,1,2,3",
413         "UMask": "0x1",
414         "Offcore": "1",
415         "EventName": "OFFCORE_RESPONSE.PF_IFETCH.LLC_MISS_LOCAL.DRAM",
416         "MSRIndex": "0x1a6,0x1a7",
417         "SampleAfterValue": "100003",
418         "BriefDescription": " REQUEST = PF_RFO and RESPONSE = LLC_MISS_LOCAL and SNOOP = DRAM",
419         "CounterHTOff": "0,1,2,3"
420     },
421     {
422         "EventCode": "0xB7, 0xBB",
423         "MSRValue": "0x1f80400080",
424         "Counter": "0,1,2,3",
425         "UMask": "0x1",
426         "Offcore": "1",
427         "EventName": "OFFCORE_RESPONSE.PF_L_DATA_RD.LLC_MISS_LOCAL.DRAM",
428         "MSRIndex": "0x1a6,0x1a7",
429         "SampleAfterValue": "100003",
430         "BriefDescription": " REQUEST = PF_LLC_DATA_RD and RESPONSE = LLC_MISS_LOCAL and SNOOP = DRAM",
431         "CounterHTOff": "0,1,2,3"
432     },
433     {
434         "EventCode": "0xB7, 0xBB",
435         "MSRValue": "0x1f80400200",
436         "Counter": "0,1,2,3",
437         "UMask": "0x1",
438         "Offcore": "1",
439         "EventName": "OFFCORE_RESPONSE.PF_L_IFETCH.LLC_MISS_LOCAL.DRAM",
440         "MSRIndex": "0x1a6,0x1a7",
441         "SampleAfterValue": "100003",
442         "BriefDescription": " REQUEST = PF_LLC_IFETCH and RESPONSE = LLC_MISS_LOCAL and SNOOP = DRAM",
443         "CounterHTOff": "0,1,2,3"
444     }