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
36
37# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
38[event6:base-stat]
39fd=6
40type=0
41config=7
42
43# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
44[event7:base-stat]
45fd=7
46type=0
47config=8
48
49# PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
50[event8:base-stat]
51fd=8
52type=0
53config=1
54
55# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS
56[event9:base-stat]
57fd=9
58type=0
59config=4
60
61# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
62[event10:base-stat]
63fd=10
64type=0
65config=5
66
67# PERF_TYPE_HW_CACHE /
68#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
69# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
70# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
71[event11:base-stat]
72fd=11
73type=3
74config=0
75
76# PERF_TYPE_HW_CACHE /
77#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
78# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
79# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
80[event12:base-stat]
81fd=12
82type=3
83config=65536
84
85# PERF_TYPE_HW_CACHE /
86#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
87# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
88# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
89[event13:base-stat]
90fd=13
91type=3
92config=2
93
94# PERF_TYPE_HW_CACHE,
95#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
96# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
97# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
98[event14:base-stat]
99fd=14
100type=3
101config=65538
102
103# PERF_TYPE_HW_CACHE,
104#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
105# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
106# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
107[event15:base-stat]
108fd=15
109type=3
110config=1
111
112# PERF_TYPE_HW_CACHE,
113#  PERF_COUNT_HW_CACHE_L1I                <<  0  |
114# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
115# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
116[event16:base-stat]
117fd=16
118type=3
119config=65537
120
121# PERF_TYPE_HW_CACHE,
122#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
123# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
124# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
125[event17:base-stat]
126fd=17
127type=3
128config=3
129
130# PERF_TYPE_HW_CACHE,
131#  PERF_COUNT_HW_CACHE_DTLB               <<  0  |
132# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
133# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
134[event18:base-stat]
135fd=18
136type=3
137config=65539
138
139# PERF_TYPE_HW_CACHE,
140#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
141# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
142# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
143[event19:base-stat]
144fd=19
145type=3
146config=4
147
148# PERF_TYPE_HW_CACHE,
149#  PERF_COUNT_HW_CACHE_ITLB               <<  0  |
150# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
151# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
152[event20:base-stat]
153fd=20
154type=3
155config=65540
156