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_HW_CACHE /
74#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
75# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
76# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
77[event11:base-stat]
78fd=11
79type=3
80config=0
81optional=1
82
83# PERF_TYPE_HW_CACHE /
84#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
85# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
86# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
87[event12:base-stat]
88fd=12
89type=3
90config=65536
91optional=1
92
93# PERF_TYPE_HW_CACHE /
94#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
95# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
96# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
97[event13:base-stat]
98fd=13
99type=3
100config=2
101optional=1
102
103# PERF_TYPE_HW_CACHE,
104#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
105# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
106# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
107[event14:base-stat]
108fd=14
109type=3
110config=65538
111optional=1
112
113# PERF_TYPE_HW_CACHE,
114#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
115# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
116# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
117[event15:base-stat]
118fd=15
119type=3
120config=1
121optional=1
122
123# PERF_TYPE_HW_CACHE,
124#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
125# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
126# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
127[event16:base-stat]
128fd=16
129type=3
130config=65537
131optional=1
132
133# PERF_TYPE_HW_CACHE,
134#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
135# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
136# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
137[event17:base-stat]
138fd=17
139type=3
140config=3
141optional=1
142
143# PERF_TYPE_HW_CACHE,
144#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
145# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
146# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
147[event18:base-stat]
148fd=18
149type=3
150config=65539
151optional=1
152
153# PERF_TYPE_HW_CACHE,
154#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
155# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
156# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
157[event19:base-stat]
158fd=19
159type=3
160config=4
161optional=1
162
163# PERF_TYPE_HW_CACHE,
164#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
165# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
166# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
167[event20:base-stat]
168fd=20
169type=3
170config=65540
171optional=1
172