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