xref: /openbmc/linux/tools/perf/tests/attr/test-stat-detailed-3 (revision ecc23d0a422a3118fcf6e4f0a46e17a6c2047b02)
1 [config]
2 command = stat
3 args    = -ddd kill >/dev/null 2>&1
4 ret     = 1
5 
6 
7 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_TASK_CLOCK
8 [event1:base-stat]
9 fd=1
10 type=1
11 config=1
12 
13 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CONTEXT_SWITCHES
14 [event2:base-stat]
15 fd=2
16 type=1
17 config=3
18 
19 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CPU_MIGRATIONS
20 [event3:base-stat]
21 fd=3
22 type=1
23 config=4
24 
25 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_PAGE_FAULTS
26 [event4:base-stat]
27 fd=4
28 type=1
29 config=2
30 
31 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
32 [event5:base-stat]
33 fd=5
34 type=0
35 config=0
36 optional=1
37 
38 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
39 [event6:base-stat]
40 fd=6
41 type=0
42 config=7
43 optional=1
44 
45 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
46 [event7:base-stat]
47 fd=7
48 type=0
49 config=8
50 optional=1
51 
52 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
53 [event8:base-stat]
54 fd=8
55 type=0
56 config=1
57 optional=1
58 
59 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS
60 [event9:base-stat]
61 fd=9
62 type=0
63 config=4
64 optional=1
65 
66 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
67 [event10:base-stat]
68 fd=10
69 type=0
70 config=5
71 optional=1
72 
73 # PERF_TYPE_RAW / slots (0x400)
74 [event11:base-stat]
75 fd=11
76 group_fd=-1
77 type=4
78 config=1024
79 read_format=15
80 optional=1
81 
82 # PERF_TYPE_RAW / topdown-retiring (0x8000)
83 [event12:base-stat]
84 fd=12
85 group_fd=11
86 type=4
87 config=32768
88 disabled=0
89 enable_on_exec=0
90 read_format=15
91 optional=1
92 
93 # PERF_TYPE_RAW / topdown-bad-spec (0x8100)
94 [event13:base-stat]
95 fd=13
96 group_fd=11
97 type=4
98 config=33024
99 disabled=0
100 enable_on_exec=0
101 read_format=15
102 optional=1
103 
104 # PERF_TYPE_RAW / topdown-fe-bound (0x8200)
105 [event14:base-stat]
106 fd=14
107 group_fd=11
108 type=4
109 config=33280
110 disabled=0
111 enable_on_exec=0
112 read_format=15
113 optional=1
114 
115 # PERF_TYPE_RAW / topdown-be-bound (0x8300)
116 [event15:base-stat]
117 fd=15
118 group_fd=11
119 type=4
120 config=33536
121 disabled=0
122 enable_on_exec=0
123 read_format=15
124 optional=1
125 
126 # PERF_TYPE_RAW / topdown-heavy-ops (0x8400)
127 [event16:base-stat]
128 fd=16
129 group_fd=11
130 type=4
131 config=33792
132 disabled=0
133 enable_on_exec=0
134 read_format=15
135 optional=1
136 
137 # PERF_TYPE_RAW / topdown-br-mispredict (0x8500)
138 [event17:base-stat]
139 fd=17
140 group_fd=11
141 type=4
142 config=34048
143 disabled=0
144 enable_on_exec=0
145 read_format=15
146 optional=1
147 
148 # PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
149 [event18:base-stat]
150 fd=18
151 group_fd=11
152 type=4
153 config=34304
154 disabled=0
155 enable_on_exec=0
156 read_format=15
157 optional=1
158 
159 # PERF_TYPE_RAW / topdown-mem-bound (0x8700)
160 [event19:base-stat]
161 fd=19
162 group_fd=11
163 type=4
164 config=34560
165 disabled=0
166 enable_on_exec=0
167 read_format=15
168 optional=1
169 
170 # PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
171 [event20:base-stat]
172 fd=20
173 type=4
174 config=4109
175 optional=1
176 
177 # PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/
178 [event21:base-stat]
179 fd=21
180 type=4
181 config=17039629
182 optional=1
183 
184 # PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD
185 [event22:base-stat]
186 fd=22
187 type=4
188 config=60
189 optional=1
190 
191 # PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY
192 [event23:base-stat]
193 fd=23
194 type=4
195 config=2097421
196 optional=1
197 
198 # PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK
199 [event24:base-stat]
200 fd=24
201 type=4
202 config=316
203 optional=1
204 
205 # PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE
206 [event25:base-stat]
207 fd=25
208 type=4
209 config=412
210 optional=1
211 
212 # PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE
213 [event26:base-stat]
214 fd=26
215 type=4
216 config=572
217 optional=1
218 
219 # PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS
220 [event27:base-stat]
221 fd=27
222 type=4
223 config=706
224 optional=1
225 
226 # PERF_TYPE_RAW / UOPS_ISSUED.ANY
227 [event28:base-stat]
228 fd=28
229 type=4
230 config=270
231 optional=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]
238 fd=29
239 type=3
240 config=0
241 optional=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]
248 fd=30
249 type=3
250 config=65536
251 optional=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]
258 fd=31
259 type=3
260 config=2
261 optional=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]
268 fd=32
269 type=3
270 config=65538
271 optional=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]
278 fd=33
279 type=3
280 config=1
281 optional=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]
288 fd=34
289 type=3
290 config=65537
291 optional=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]
298 fd=35
299 type=3
300 config=3
301 optional=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]
308 fd=36
309 type=3
310 config=65539
311 optional=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]
318 fd=37
319 type=3
320 config=4
321 optional=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]
328 fd=38
329 type=3
330 config=65540
331 optional=1
332 
333 # PERF_TYPE_HW_CACHE,
334 #  PERF_COUNT_HW_CACHE_L1D                <<  0  |
335 # (PERF_COUNT_HW_CACHE_OP_PREFETCH        <<  8) |
336 # (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
337 [event39:base-stat]
338 fd=39
339 type=3
340 config=512
341 optional=1
342 
343 # PERF_TYPE_HW_CACHE,
344 #  PERF_COUNT_HW_CACHE_L1D                <<  0  |
345 # (PERF_COUNT_HW_CACHE_OP_PREFETCH        <<  8) |
346 # (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
347 [event40:base-stat]
348 fd=40
349 type=3
350 config=66048
351 optional=1
352