Skip to content

Commit 5362e4d

Browse files
captain5050acmel
authored andcommitted
perf vendor events intel: Refresh meteorlake events
Update the meteorlake events using the new tooling from: https://github.com/intel/perfmon The events are unchanged but they are sorted and unused json values are removed. This increases consistency across the json files. The CPUID matching regular expression is updated to match the perfmon one. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Kan Liang <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Caleb Biggers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Perry Taylor <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 2c3fd22 commit 5362e4d

File tree

7 files changed

+166
-363
lines changed

7 files changed

+166
-363
lines changed

tools/perf/pmu-events/arch/x86/mapfile.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GenuineIntel-6-3A,v23,ivybridge,core
1717
GenuineIntel-6-3E,v22,ivytown,core
1818
GenuineIntel-6-2D,v21,jaketown,core
1919
GenuineIntel-6-(57|85),v9,knightslanding,core
20-
GenuineIntel-6-AA,v1.00,meteorlake,core
20+
GenuineIntel-6-A[AC],v1.00,meteorlake,core
2121
GenuineIntel-6-1[AEF],v3,nehalemep,core
2222
GenuineIntel-6-2E,v3,nehalemex,core
2323
GenuineIntel-6-2A,v17,sandybridge,core
Lines changed: 52 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,262 +1,196 @@
11
[
2+
{
3+
"BriefDescription": "L2 code requests",
4+
"EventCode": "0x24",
5+
"EventName": "L2_RQSTS.ALL_CODE_RD",
6+
"SampleAfterValue": "200003",
7+
"UMask": "0xe4",
8+
"Unit": "cpu_core"
9+
},
10+
{
11+
"BriefDescription": "Demand Data Read access L2 cache",
12+
"EventCode": "0x24",
13+
"EventName": "L2_RQSTS.ALL_DEMAND_DATA_RD",
14+
"SampleAfterValue": "200003",
15+
"UMask": "0xe1",
16+
"Unit": "cpu_core"
17+
},
218
{
319
"BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
4-
"CollectPEBSRecord": "2",
5-
"Counter": "0,1,2,3,4,5,6,7",
620
"EventCode": "0x2e",
721
"EventName": "LONGEST_LAT_CACHE.MISS",
8-
"PEBScounters": "0,1,2,3,4,5,6,7",
922
"SampleAfterValue": "200003",
1023
"UMask": "0x41",
1124
"Unit": "cpu_atom"
1225
},
26+
{
27+
"BriefDescription": "Core-originated cacheable requests that missed L3 (Except hardware prefetches to the L3)",
28+
"EventCode": "0x2e",
29+
"EventName": "LONGEST_LAT_CACHE.MISS",
30+
"SampleAfterValue": "100003",
31+
"UMask": "0x41",
32+
"Unit": "cpu_core"
33+
},
1334
{
1435
"BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
15-
"CollectPEBSRecord": "2",
16-
"Counter": "0,1,2,3,4,5,6,7",
1736
"EventCode": "0x2e",
1837
"EventName": "LONGEST_LAT_CACHE.REFERENCE",
19-
"PEBScounters": "0,1,2,3,4,5,6,7",
2038
"SampleAfterValue": "200003",
2139
"UMask": "0x4f",
2240
"Unit": "cpu_atom"
2341
},
42+
{
43+
"BriefDescription": "Core-originated cacheable requests that refer to L3 (Except hardware prefetches to the L3)",
44+
"EventCode": "0x2e",
45+
"EventName": "LONGEST_LAT_CACHE.REFERENCE",
46+
"SampleAfterValue": "100003",
47+
"UMask": "0x4f",
48+
"Unit": "cpu_core"
49+
},
50+
{
51+
"BriefDescription": "Retired load instructions.",
52+
"Data_LA": "1",
53+
"EventCode": "0xd0",
54+
"EventName": "MEM_INST_RETIRED.ALL_LOADS",
55+
"PEBS": "1",
56+
"SampleAfterValue": "1000003",
57+
"UMask": "0x81",
58+
"Unit": "cpu_core"
59+
},
60+
{
61+
"BriefDescription": "Retired store instructions.",
62+
"Data_LA": "1",
63+
"EventCode": "0xd0",
64+
"EventName": "MEM_INST_RETIRED.ALL_STORES",
65+
"PEBS": "1",
66+
"SampleAfterValue": "1000003",
67+
"UMask": "0x82",
68+
"Unit": "cpu_core"
69+
},
2470
{
2571
"BriefDescription": "Counts the number of load ops retired.",
26-
"CollectPEBSRecord": "2",
27-
"Counter": "0,1,2,3,4,5,6,7",
2872
"Data_LA": "1",
2973
"EventCode": "0xd0",
3074
"EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
3175
"PEBS": "1",
32-
"PEBScounters": "0,1,2,3,4,5,6,7",
3376
"SampleAfterValue": "200003",
3477
"UMask": "0x81",
3578
"Unit": "cpu_atom"
3679
},
3780
{
3881
"BriefDescription": "Counts the number of store ops retired.",
39-
"CollectPEBSRecord": "2",
40-
"Counter": "0,1,2,3,4,5,6,7",
4182
"Data_LA": "1",
4283
"EventCode": "0xd0",
4384
"EventName": "MEM_UOPS_RETIRED.ALL_STORES",
4485
"PEBS": "1",
45-
"PEBScounters": "0,1,2,3,4,5,6,7",
4686
"SampleAfterValue": "200003",
4787
"UMask": "0x82",
4888
"Unit": "cpu_atom"
4989
},
5090
{
5191
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
52-
"CollectPEBSRecord": "3",
53-
"Counter": "0,1,2,3,4,5,6,7",
5492
"Data_LA": "1",
5593
"EventCode": "0xd0",
5694
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
5795
"MSRIndex": "0x3F6",
5896
"MSRValue": "0x80",
5997
"PEBS": "2",
60-
"PEBScounters": "0,1,2,3,4,5,6,7",
6198
"SampleAfterValue": "1000003",
62-
"TakenAlone": "1",
6399
"UMask": "0x5",
64100
"Unit": "cpu_atom"
65101
},
66102
{
67103
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
68-
"CollectPEBSRecord": "3",
69-
"Counter": "0,1,2,3,4,5,6,7",
70104
"Data_LA": "1",
71105
"EventCode": "0xd0",
72106
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
73107
"MSRIndex": "0x3F6",
74108
"MSRValue": "0x10",
75109
"PEBS": "2",
76-
"PEBScounters": "0,1,2,3,4,5,6,7",
77110
"SampleAfterValue": "1000003",
78-
"TakenAlone": "1",
79111
"UMask": "0x5",
80112
"Unit": "cpu_atom"
81113
},
82114
{
83115
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
84-
"CollectPEBSRecord": "3",
85-
"Counter": "0,1,2,3,4,5,6,7",
86116
"Data_LA": "1",
87117
"EventCode": "0xd0",
88118
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
89119
"MSRIndex": "0x3F6",
90120
"MSRValue": "0x100",
91121
"PEBS": "2",
92-
"PEBScounters": "0,1,2,3,4,5,6,7",
93122
"SampleAfterValue": "1000003",
94-
"TakenAlone": "1",
95123
"UMask": "0x5",
96124
"Unit": "cpu_atom"
97125
},
98126
{
99127
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
100-
"CollectPEBSRecord": "3",
101-
"Counter": "0,1,2,3,4,5,6,7",
102128
"Data_LA": "1",
103129
"EventCode": "0xd0",
104130
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
105131
"MSRIndex": "0x3F6",
106132
"MSRValue": "0x20",
107133
"PEBS": "2",
108-
"PEBScounters": "0,1,2,3,4,5,6,7",
109134
"SampleAfterValue": "1000003",
110-
"TakenAlone": "1",
111135
"UMask": "0x5",
112136
"Unit": "cpu_atom"
113137
},
114138
{
115139
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
116-
"CollectPEBSRecord": "3",
117-
"Counter": "0,1,2,3,4,5,6,7",
118140
"Data_LA": "1",
119141
"EventCode": "0xd0",
120142
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
121143
"MSRIndex": "0x3F6",
122144
"MSRValue": "0x4",
123145
"PEBS": "2",
124-
"PEBScounters": "0,1,2,3,4,5,6,7",
125146
"SampleAfterValue": "1000003",
126-
"TakenAlone": "1",
127147
"UMask": "0x5",
128148
"Unit": "cpu_atom"
129149
},
130150
{
131151
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
132-
"CollectPEBSRecord": "3",
133-
"Counter": "0,1,2,3,4,5,6,7",
134152
"Data_LA": "1",
135153
"EventCode": "0xd0",
136154
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
137155
"MSRIndex": "0x3F6",
138156
"MSRValue": "0x200",
139157
"PEBS": "2",
140-
"PEBScounters": "0,1,2,3,4,5,6,7",
141158
"SampleAfterValue": "1000003",
142-
"TakenAlone": "1",
143159
"UMask": "0x5",
144160
"Unit": "cpu_atom"
145161
},
146162
{
147163
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
148-
"CollectPEBSRecord": "3",
149-
"Counter": "0,1,2,3,4,5,6,7",
150164
"Data_LA": "1",
151165
"EventCode": "0xd0",
152166
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
153167
"MSRIndex": "0x3F6",
154168
"MSRValue": "0x40",
155169
"PEBS": "2",
156-
"PEBScounters": "0,1,2,3,4,5,6,7",
157170
"SampleAfterValue": "1000003",
158-
"TakenAlone": "1",
159171
"UMask": "0x5",
160172
"Unit": "cpu_atom"
161173
},
162174
{
163175
"BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
164-
"CollectPEBSRecord": "3",
165-
"Counter": "0,1,2,3,4,5,6,7",
166176
"Data_LA": "1",
167177
"EventCode": "0xd0",
168178
"EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
169179
"MSRIndex": "0x3F6",
170180
"MSRValue": "0x8",
171181
"PEBS": "2",
172-
"PEBScounters": "0,1,2,3,4,5,6,7",
173182
"SampleAfterValue": "1000003",
174-
"TakenAlone": "1",
175183
"UMask": "0x5",
176184
"Unit": "cpu_atom"
177185
},
178186
{
179187
"BriefDescription": "Counts the number of stores uops retired same as MEM_UOPS_RETIRED.ALL_STORES",
180-
"CollectPEBSRecord": "3",
181-
"Counter": "0,1,2,3,4,5,6,7",
182188
"Data_LA": "1",
183189
"EventCode": "0xd0",
184190
"EventName": "MEM_UOPS_RETIRED.STORE_LATENCY",
185191
"PEBS": "2",
186-
"PEBScounters": "0,1,2,3,4,5,6,7",
187192
"SampleAfterValue": "1000003",
188193
"UMask": "0x6",
189194
"Unit": "cpu_atom"
190-
},
191-
{
192-
"BriefDescription": "L2 code requests",
193-
"CollectPEBSRecord": "2",
194-
"Counter": "0,1,2,3",
195-
"EventCode": "0x24",
196-
"EventName": "L2_RQSTS.ALL_CODE_RD",
197-
"PEBScounters": "0,1,2,3",
198-
"SampleAfterValue": "200003",
199-
"UMask": "0xe4",
200-
"Unit": "cpu_core"
201-
},
202-
{
203-
"BriefDescription": "Demand Data Read access L2 cache",
204-
"CollectPEBSRecord": "2",
205-
"Counter": "0,1,2,3",
206-
"EventCode": "0x24",
207-
"EventName": "L2_RQSTS.ALL_DEMAND_DATA_RD",
208-
"PEBScounters": "0,1,2,3",
209-
"SampleAfterValue": "200003",
210-
"UMask": "0xe1",
211-
"Unit": "cpu_core"
212-
},
213-
{
214-
"BriefDescription": "Core-originated cacheable requests that missed L3 (Except hardware prefetches to the L3)",
215-
"CollectPEBSRecord": "2",
216-
"Counter": "0,1,2,3,4,5,6,7",
217-
"EventCode": "0x2e",
218-
"EventName": "LONGEST_LAT_CACHE.MISS",
219-
"PEBScounters": "0,1,2,3,4,5,6,7",
220-
"SampleAfterValue": "100003",
221-
"UMask": "0x41",
222-
"Unit": "cpu_core"
223-
},
224-
{
225-
"BriefDescription": "Core-originated cacheable requests that refer to L3 (Except hardware prefetches to the L3)",
226-
"CollectPEBSRecord": "2",
227-
"Counter": "0,1,2,3,4,5,6,7",
228-
"EventCode": "0x2e",
229-
"EventName": "LONGEST_LAT_CACHE.REFERENCE",
230-
"PEBScounters": "0,1,2,3,4,5,6,7",
231-
"SampleAfterValue": "100003",
232-
"UMask": "0x4f",
233-
"Unit": "cpu_core"
234-
},
235-
{
236-
"BriefDescription": "Retired load instructions.",
237-
"CollectPEBSRecord": "2",
238-
"Counter": "0,1,2,3",
239-
"Data_LA": "1",
240-
"EventCode": "0xd0",
241-
"EventName": "MEM_INST_RETIRED.ALL_LOADS",
242-
"PEBS": "1",
243-
"PEBScounters": "0,1,2,3",
244-
"SampleAfterValue": "1000003",
245-
"UMask": "0x81",
246-
"Unit": "cpu_core"
247-
},
248-
{
249-
"BriefDescription": "Retired store instructions.",
250-
"CollectPEBSRecord": "2",
251-
"Counter": "0,1,2,3",
252-
"Data_LA": "1",
253-
"EventCode": "0xd0",
254-
"EventName": "MEM_INST_RETIRED.ALL_STORES",
255-
"L1_Hit_Indication": "1",
256-
"PEBS": "1",
257-
"PEBScounters": "0,1,2,3",
258-
"SampleAfterValue": "1000003",
259-
"UMask": "0x82",
260-
"Unit": "cpu_core"
261195
}
262196
]

tools/perf/pmu-events/arch/x86/meteorlake/frontend.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
[
22
{
33
"BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump.",
4-
"CollectPEBSRecord": "2",
5-
"Counter": "0,1,2,3,4,5,6,7",
64
"EventCode": "0x80",
75
"EventName": "ICACHE.ACCESSES",
8-
"PEBScounters": "0,1,2,3,4,5,6,7",
96
"SampleAfterValue": "200003",
107
"UMask": "0x3",
118
"Unit": "cpu_atom"
129
},
1310
{
1411
"BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump and the instruction cache registers bytes are not present. -",
15-
"CollectPEBSRecord": "2",
16-
"Counter": "0,1,2,3,4,5,6,7",
1712
"EventCode": "0x80",
1813
"EventName": "ICACHE.MISSES",
19-
"PEBScounters": "0,1,2,3,4,5,6,7",
2014
"SampleAfterValue": "200003",
2115
"UMask": "0x2",
2216
"Unit": "cpu_atom"

0 commit comments

Comments
 (0)