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