xref: /linux/tools/perf/tests/shell/attr/test-stat-detailed-1 (revision 8158b84e65ed01b80164413cc9cb0655b84fc470)
1[config]
2command = stat
3args    = -d kill >/dev/null 2>&1
4ret     = 1
5requires = core-pmu
6
7
8# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_TASK_CLOCK
9[event1:base-stat-group]
10fd=1
11type=1
12config=1
13
14# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CONTEXT_SWITCHES
15[event2:base-stat-group]
16fd=2
17type=1
18config=3
19
20# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CPU_MIGRATIONS
21[event3:base-stat-group]
22fd=3
23type=1
24config=4
25
26# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_PAGE_FAULTS
27[event4:base-stat-group]
28fd=4
29type=1
30config=2
31
32# PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
33[event5:base-stat-group]
34fd=5
35type=0
36config=0
37optional=1
38
39# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
40[event6:base-stat-group]
41fd=6
42type=0
43config=7
44optional=1
45
46# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
47[event7:base-stat-group]
48fd=7
49type=0
50config=8
51optional=1
52
53# PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
54[event8:base-stat-group]
55fd=8
56type=0
57config=1
58optional=1
59
60# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS
61[event9:base-stat-group]
62fd=9
63type=0
64config=4
65optional=1
66
67# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
68[event10:base-stat-group]
69fd=10
70type=0
71config=5
72optional=1
73
74# PERF_TYPE_RAW / slots (0x400)
75[event11:base-stat-group]
76fd=11
77group_fd=-1
78type=4
79config=1024
80read_format=15
81optional=1
82
83# PERF_TYPE_RAW / topdown-retiring (0x8000)
84[event12:base-stat-group]
85fd=12
86group_fd=11
87type=4
88config=32768
89disabled=0
90enable_on_exec=0
91read_format=15
92optional=1
93
94# PERF_TYPE_RAW / topdown-bad-spec (0x8100)
95[event13:base-stat-group]
96fd=13
97group_fd=11
98type=4
99config=33024
100disabled=0
101enable_on_exec=0
102read_format=15
103optional=1
104
105# PERF_TYPE_RAW / topdown-fe-bound (0x8200)
106[event14:base-stat-group]
107fd=14
108group_fd=11
109type=4
110config=33280
111disabled=0
112enable_on_exec=0
113read_format=15
114optional=1
115
116# PERF_TYPE_RAW / topdown-be-bound (0x8300)
117[event15:base-stat-group]
118fd=15
119group_fd=11
120type=4
121config=33536
122disabled=0
123enable_on_exec=0
124read_format=15
125optional=1
126
127# PERF_TYPE_RAW / topdown-heavy-ops (0x8400)
128[event16:base-stat-group]
129fd=16
130group_fd=11
131type=4
132config=33792
133disabled=0
134enable_on_exec=0
135read_format=15
136optional=1
137
138# PERF_TYPE_RAW / topdown-br-mispredict (0x8500)
139[event17:base-stat-group]
140fd=17
141group_fd=11
142type=4
143config=34048
144disabled=0
145enable_on_exec=0
146read_format=15
147optional=1
148
149# PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
150[event18:base-stat-group]
151fd=18
152group_fd=11
153type=4
154config=34304
155disabled=0
156enable_on_exec=0
157read_format=15
158optional=1
159
160# PERF_TYPE_RAW / topdown-mem-bound (0x8700)
161[event19:base-stat-group]
162fd=19
163group_fd=11
164type=4
165config=34560
166disabled=0
167enable_on_exec=0
168read_format=15
169optional=1
170
171# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
172[event20:base-stat-group]
173fd=20
174type=4
175config=4109
176optional=1
177
178# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/
179[event21:base-stat-group]
180fd=21
181type=4
182config=17039629
183optional=1
184
185# PERF_TYPE_RAW / cpu-cycles (core PMU sysfs event; Intel 0x3c, AMD 0x76)
186[event22:base-stat-group]
187fd=22
188type=4
189config=60|118
190optional=1
191
192# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY
193[event23:base-stat-group]
194fd=23
195type=4
196config=2097421
197optional=1
198
199# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK
200[event24:base-stat-group]
201fd=24
202type=4
203config=316
204optional=1
205
206# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE
207[event25:base-stat-group]
208fd=25
209type=4
210config=412
211optional=1
212
213# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE
214[event26:base-stat-group]
215fd=26
216type=4
217config=572
218optional=1
219
220# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS
221[event27:base-stat-group]
222fd=27
223type=4
224config=706
225optional=1
226
227# PERF_TYPE_RAW / UOPS_ISSUED.ANY
228[event28:base-stat-group]
229fd=28
230type=4
231config=270
232optional=1
233
234# PERF_TYPE_HW_CACHE /
235#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
236# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
237# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
238[event29:base-stat-group]
239fd=29
240type=3
241config=0
242optional=1
243
244# PERF_TYPE_HW_CACHE /
245#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
246# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
247# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
248[event30:base-stat-group]
249fd=30
250type=3
251config=65536
252optional=1
253
254# PERF_TYPE_HW_CACHE /
255#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
256# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
257# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
258[event31:base-stat-group]
259fd=31
260type=3
261config=2
262optional=1
263
264# PERF_TYPE_HW_CACHE,
265#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
266# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
267# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
268[event32:base-stat-group]
269fd=32
270type=3
271config=65538
272optional=1
273
274# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
275[event33:base-stat-group]
276fd=33
277type=4
278config=4269
279optional=1
280
281# PERF_TYPE_RAW / instructions (core PMU sysfs event)
282[event34:base-stat-group]
283fd=34
284type=4
285config=192
286optional=1
287
288# PERF_TYPE_RAW / branch-misses (core PMU sysfs event; Intel 0xc5, AMD 0xc3)
289[event35:base-stat-group]
290fd=35
291type=4
292config=197|195
293optional=1
294
295# PERF_TYPE_RAW / stalled-cycles-frontend (core PMU sysfs event; Intel 0x180010e, AMD 0xd0/0x287/0xa9)
296[event36:base-stat-group]
297fd=36
298type=4
299config=25166094|208|647|169
300optional=1
301
302# PERF_TYPE_RAW / stalled-cycles-backend (core PMU sysfs event; Intel 0x18001b1/0x1803fb1, AMD 0xd1/0x187)
303[event37:base-stat-group]
304fd=37
305type=4
306config=25166257|25182129|209|391
307optional=1