1[config]
2command = stat
3args    = -ddd 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_HW_CACHE /
171#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
172# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
173# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
174[event20:base-stat]
175fd=20
176type=3
177config=0
178optional=1
179
180# PERF_TYPE_HW_CACHE /
181#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
182# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
183# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
184[event21:base-stat]
185fd=21
186type=3
187config=65536
188optional=1
189
190# PERF_TYPE_HW_CACHE /
191#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
192# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
193# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
194[event22:base-stat]
195fd=22
196type=3
197config=2
198optional=1
199
200# PERF_TYPE_HW_CACHE,
201#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
202# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
203# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
204[event23:base-stat]
205fd=23
206type=3
207config=65538
208optional=1
209
210# PERF_TYPE_HW_CACHE,
211#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
212# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
213# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
214[event24:base-stat]
215fd=24
216type=3
217config=1
218optional=1
219
220# PERF_TYPE_HW_CACHE,
221#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
222# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
223# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
224[event25:base-stat]
225fd=25
226type=3
227config=65537
228optional=1
229
230# PERF_TYPE_HW_CACHE,
231#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
232# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
233# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
234[event26:base-stat]
235fd=26
236type=3
237config=3
238optional=1
239
240# PERF_TYPE_HW_CACHE,
241#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
242# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
243# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
244[event27:base-stat]
245fd=27
246type=3
247config=65539
248optional=1
249
250# PERF_TYPE_HW_CACHE,
251#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
252# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
253# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
254[event28:base-stat]
255fd=28
256type=3
257config=4
258optional=1
259
260# PERF_TYPE_HW_CACHE,
261#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
262# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
263# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
264[event29:base-stat]
265fd=29
266type=3
267config=65540
268optional=1
269
270# PERF_TYPE_HW_CACHE,
271#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
272# (PERF_COUNT_HW_CACHE_OP_PREFETCH        <<  8) |
273# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
274[event30:base-stat]
275fd=30
276type=3
277config=512
278optional=1
279
280# PERF_TYPE_HW_CACHE,
281#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
282# (PERF_COUNT_HW_CACHE_OP_PREFETCH        <<  8) |
283# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
284[event31:base-stat]
285fd=31
286type=3
287config=66048
288optional=1
289