xref: /linux/tools/perf/tests/attr/test-stat-detailed-2 (revision b48aa6a3577cccd13ea21392540f6cde437dd04d)
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-fe-bound (0x8200)
94[event13:base-stat]
95fd=13
96group_fd=11
97type=4
98config=33280
99disabled=0
100enable_on_exec=0
101read_format=15
102optional=1
103
104# PERF_TYPE_RAW / topdown-be-bound (0x8300)
105[event14:base-stat]
106fd=14
107group_fd=11
108type=4
109config=33536
110disabled=0
111enable_on_exec=0
112read_format=15
113optional=1
114
115# PERF_TYPE_RAW / topdown-bad-spec (0x8100)
116[event15:base-stat]
117fd=15
118group_fd=11
119type=4
120config=33024
121disabled=0
122enable_on_exec=0
123read_format=15
124optional=1
125
126# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
127[event16:base-stat]
128fd=16
129type=4
130config=4109
131optional=1
132
133# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/
134[event17:base-stat]
135fd=17
136type=4
137config=17039629
138optional=1
139
140# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD
141[event18:base-stat]
142fd=18
143type=4
144config=60
145optional=1
146
147# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY
148[event19:base-stat]
149fd=19
150type=4
151config=2097421
152optional=1
153
154# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK
155[event20:base-stat]
156fd=20
157type=4
158config=316
159optional=1
160
161# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE
162[event21:base-stat]
163fd=21
164type=4
165config=412
166optional=1
167
168# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE
169[event22:base-stat]
170fd=22
171type=4
172config=572
173optional=1
174
175# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS
176[event23:base-stat]
177fd=23
178type=4
179config=706
180optional=1
181
182# PERF_TYPE_RAW / UOPS_ISSUED.ANY
183[event24:base-stat]
184fd=24
185type=4
186config=270
187optional=1
188
189# PERF_TYPE_HW_CACHE /
190#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
191# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
192# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
193[event25:base-stat]
194fd=25
195type=3
196config=0
197optional=1
198
199# PERF_TYPE_HW_CACHE /
200#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
201# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
202# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
203[event26:base-stat]
204fd=26
205type=3
206config=65536
207optional=1
208
209# PERF_TYPE_HW_CACHE /
210#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
211# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
212# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
213[event27:base-stat]
214fd=27
215type=3
216config=2
217optional=1
218
219# PERF_TYPE_HW_CACHE,
220#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
221# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
222# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
223[event28:base-stat]
224fd=28
225type=3
226config=65538
227optional=1
228
229# PERF_TYPE_HW_CACHE,
230#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
231# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
232# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
233[event29:base-stat]
234fd=29
235type=3
236config=1
237optional=1
238
239# PERF_TYPE_HW_CACHE,
240#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
241# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
242# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
243[event30:base-stat]
244fd=30
245type=3
246config=65537
247optional=1
248
249# PERF_TYPE_HW_CACHE,
250#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
251# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
252# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
253[event31:base-stat]
254fd=31
255type=3
256config=3
257optional=1
258
259# PERF_TYPE_HW_CACHE,
260#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
261# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
262# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
263[event32:base-stat]
264fd=32
265type=3
266config=65539
267optional=1
268
269# PERF_TYPE_HW_CACHE,
270#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
271# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
272# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
273[event33:base-stat]
274fd=33
275type=3
276config=4
277optional=1
278
279# PERF_TYPE_HW_CACHE,
280#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
281# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
282# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
283[event34:base-stat]
284fd=34
285type=3
286config=65540
287optional=1
288