1[config]
2command = stat
3args    = -d 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