xref: /openbmc/linux/tools/perf/tests/attr/test-stat-detailed-1 (revision ecc23d0a422a3118fcf6e4f0a46e17a6c2047b02)
18a6408a0SJiri Olsa[config]
28a6408a0SJiri Olsacommand = stat
38a6408a0SJiri Olsaargs    = -d kill >/dev/null 2>&1
48a6408a0SJiri Olsaret     = 1
58a6408a0SJiri Olsa
68a6408a0SJiri Olsa
78a6408a0SJiri Olsa# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_TASK_CLOCK
88a6408a0SJiri Olsa[event1:base-stat]
98a6408a0SJiri Olsafd=1
108a6408a0SJiri Olsatype=1
118a6408a0SJiri Olsaconfig=1
128a6408a0SJiri Olsa
138a6408a0SJiri Olsa# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CONTEXT_SWITCHES
148a6408a0SJiri Olsa[event2:base-stat]
158a6408a0SJiri Olsafd=2
168a6408a0SJiri Olsatype=1
178a6408a0SJiri Olsaconfig=3
188a6408a0SJiri Olsa
198a6408a0SJiri Olsa# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CPU_MIGRATIONS
208a6408a0SJiri Olsa[event3:base-stat]
218a6408a0SJiri Olsafd=3
228a6408a0SJiri Olsatype=1
238a6408a0SJiri Olsaconfig=4
248a6408a0SJiri Olsa
258a6408a0SJiri Olsa# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_PAGE_FAULTS
268a6408a0SJiri Olsa[event4:base-stat]
278a6408a0SJiri Olsafd=4
288a6408a0SJiri Olsatype=1
298a6408a0SJiri Olsaconfig=2
308a6408a0SJiri Olsa
318a6408a0SJiri Olsa# PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
328a6408a0SJiri Olsa[event5:base-stat]
338a6408a0SJiri Olsafd=5
348a6408a0SJiri Olsatype=0
358a6408a0SJiri Olsaconfig=0
36692f5a22SJiri Olsaoptional=1
378a6408a0SJiri Olsa
388a6408a0SJiri Olsa# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
398a6408a0SJiri Olsa[event6:base-stat]
408a6408a0SJiri Olsafd=6
418a6408a0SJiri Olsatype=0
428a6408a0SJiri Olsaconfig=7
431f41873cSJiri Olsaoptional=1
448a6408a0SJiri Olsa
458a6408a0SJiri Olsa# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
468a6408a0SJiri Olsa[event7:base-stat]
478a6408a0SJiri Olsafd=7
488a6408a0SJiri Olsatype=0
498a6408a0SJiri Olsaconfig=8
501f41873cSJiri Olsaoptional=1
518a6408a0SJiri Olsa
528a6408a0SJiri Olsa# PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
538a6408a0SJiri Olsa[event8:base-stat]
548a6408a0SJiri Olsafd=8
558a6408a0SJiri Olsatype=0
568a6408a0SJiri Olsaconfig=1
57692f5a22SJiri Olsaoptional=1
588a6408a0SJiri Olsa
598a6408a0SJiri Olsa# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS
608a6408a0SJiri Olsa[event9:base-stat]
618a6408a0SJiri Olsafd=9
628a6408a0SJiri Olsatype=0
638a6408a0SJiri Olsaconfig=4
64692f5a22SJiri Olsaoptional=1
658a6408a0SJiri Olsa
668a6408a0SJiri Olsa# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
678a6408a0SJiri Olsa[event10:base-stat]
688a6408a0SJiri Olsafd=10
698a6408a0SJiri Olsatype=0
708a6408a0SJiri Olsaconfig=5
71692f5a22SJiri Olsaoptional=1
728a6408a0SJiri Olsa
730b6c5371SKan Liang# PERF_TYPE_RAW / slots (0x400)
740b6c5371SKan Liang[event11:base-stat]
750b6c5371SKan Liangfd=11
760b6c5371SKan Lianggroup_fd=-1
770b6c5371SKan Liangtype=4
780b6c5371SKan Liangconfig=1024
790b6c5371SKan Liangread_format=15
800b6c5371SKan Liangoptional=1
810b6c5371SKan Liang
820b6c5371SKan Liang# PERF_TYPE_RAW / topdown-retiring (0x8000)
830b6c5371SKan Liang[event12:base-stat]
840b6c5371SKan Liangfd=12
850b6c5371SKan Lianggroup_fd=11
860b6c5371SKan Liangtype=4
870b6c5371SKan Liangconfig=32768
880b6c5371SKan Liangdisabled=0
890b6c5371SKan Liangenable_on_exec=0
900b6c5371SKan Liangread_format=15
910b6c5371SKan Liangoptional=1
920b6c5371SKan Liang
93*9ac8d663SVeronika Molnarova# PERF_TYPE_RAW / topdown-bad-spec (0x8100)
940b6c5371SKan Liang[event13:base-stat]
950b6c5371SKan Liangfd=13
960b6c5371SKan Lianggroup_fd=11
970b6c5371SKan Liangtype=4
98*9ac8d663SVeronika Molnarovaconfig=33024
99*9ac8d663SVeronika Molnarovadisabled=0
100*9ac8d663SVeronika Molnarovaenable_on_exec=0
101*9ac8d663SVeronika Molnarovaread_format=15
102*9ac8d663SVeronika Molnarovaoptional=1
103*9ac8d663SVeronika Molnarova
104*9ac8d663SVeronika Molnarova# PERF_TYPE_RAW / topdown-fe-bound (0x8200)
105*9ac8d663SVeronika Molnarova[event14:base-stat]
106*9ac8d663SVeronika Molnarovafd=14
107*9ac8d663SVeronika Molnarovagroup_fd=11
108*9ac8d663SVeronika Molnarovatype=4
1090b6c5371SKan Liangconfig=33280
1100b6c5371SKan Liangdisabled=0
1110b6c5371SKan Liangenable_on_exec=0
1120b6c5371SKan Liangread_format=15
1130b6c5371SKan Liangoptional=1
1140b6c5371SKan Liang
1150b6c5371SKan Liang# PERF_TYPE_RAW / topdown-be-bound (0x8300)
116*9ac8d663SVeronika Molnarova[event15:base-stat]
117*9ac8d663SVeronika Molnarovafd=15
1180b6c5371SKan Lianggroup_fd=11
1190b6c5371SKan Liangtype=4
1200b6c5371SKan Liangconfig=33536
1210b6c5371SKan Liangdisabled=0
1220b6c5371SKan Liangenable_on_exec=0
1230b6c5371SKan Liangread_format=15
1240b6c5371SKan Liangoptional=1
1250b6c5371SKan Liang
126*9ac8d663SVeronika Molnarova# PERF_TYPE_RAW / topdown-heavy-ops (0x8400)
127*9ac8d663SVeronika Molnarova[event16:base-stat]
128*9ac8d663SVeronika Molnarovafd=16
129951efb99SIan Rogersgroup_fd=11
130951efb99SIan Rogerstype=4
131*9ac8d663SVeronika Molnarovaconfig=33792
132*9ac8d663SVeronika Molnarovadisabled=0
133*9ac8d663SVeronika Molnarovaenable_on_exec=0
134*9ac8d663SVeronika Molnarovaread_format=15
135*9ac8d663SVeronika Molnarovaoptional=1
136*9ac8d663SVeronika Molnarova
137*9ac8d663SVeronika Molnarova# PERF_TYPE_RAW / topdown-br-mispredict (0x8500)
138*9ac8d663SVeronika Molnarova[event17:base-stat]
139*9ac8d663SVeronika Molnarovafd=17
140*9ac8d663SVeronika Molnarovagroup_fd=11
141*9ac8d663SVeronika Molnarovatype=4
142*9ac8d663SVeronika Molnarovaconfig=34048
143*9ac8d663SVeronika Molnarovadisabled=0
144*9ac8d663SVeronika Molnarovaenable_on_exec=0
145*9ac8d663SVeronika Molnarovaread_format=15
146*9ac8d663SVeronika Molnarovaoptional=1
147*9ac8d663SVeronika Molnarova
148*9ac8d663SVeronika Molnarova# PERF_TYPE_RAW / topdown-fetch-lat (0x8600)
149*9ac8d663SVeronika Molnarova[event18:base-stat]
150*9ac8d663SVeronika Molnarovafd=18
151*9ac8d663SVeronika Molnarovagroup_fd=11
152*9ac8d663SVeronika Molnarovatype=4
153*9ac8d663SVeronika Molnarovaconfig=34304
154*9ac8d663SVeronika Molnarovadisabled=0
155*9ac8d663SVeronika Molnarovaenable_on_exec=0
156*9ac8d663SVeronika Molnarovaread_format=15
157*9ac8d663SVeronika Molnarovaoptional=1
158*9ac8d663SVeronika Molnarova
159*9ac8d663SVeronika Molnarova# PERF_TYPE_RAW / topdown-mem-bound (0x8700)
160*9ac8d663SVeronika Molnarova[event19:base-stat]
161*9ac8d663SVeronika Molnarovafd=19
162*9ac8d663SVeronika Molnarovagroup_fd=11
163*9ac8d663SVeronika Molnarovatype=4
164*9ac8d663SVeronika Molnarovaconfig=34560
165951efb99SIan Rogersdisabled=0
166951efb99SIan Rogersenable_on_exec=0
167951efb99SIan Rogersread_format=15
168951efb99SIan Rogersoptional=1
169951efb99SIan Rogers
170951efb99SIan Rogers# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
171*9ac8d663SVeronika Molnarova[event20:base-stat]
172*9ac8d663SVeronika Molnarovafd=20
1730b6c5371SKan Liangtype=4
174951efb99SIan Rogersconfig=4109
1750b6c5371SKan Liangoptional=1
1760b6c5371SKan Liang
177951efb99SIan Rogers# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/
178*9ac8d663SVeronika Molnarova[event21:base-stat]
179*9ac8d663SVeronika Molnarovafd=21
1800b6c5371SKan Liangtype=4
181951efb99SIan Rogersconfig=17039629
1820b6c5371SKan Liangoptional=1
1830b6c5371SKan Liang
184951efb99SIan Rogers# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD
185*9ac8d663SVeronika Molnarova[event22:base-stat]
186*9ac8d663SVeronika Molnarovafd=22
1870b6c5371SKan Liangtype=4
188951efb99SIan Rogersconfig=60
1890b6c5371SKan Liangoptional=1
1900b6c5371SKan Liang
191951efb99SIan Rogers# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY
192*9ac8d663SVeronika Molnarova[event23:base-stat]
193*9ac8d663SVeronika Molnarovafd=23
1940b6c5371SKan Liangtype=4
195951efb99SIan Rogersconfig=2097421
196951efb99SIan Rogersoptional=1
197951efb99SIan Rogers
198951efb99SIan Rogers# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK
199*9ac8d663SVeronika Molnarova[event24:base-stat]
200*9ac8d663SVeronika Molnarovafd=24
201951efb99SIan Rogerstype=4
202951efb99SIan Rogersconfig=316
203951efb99SIan Rogersoptional=1
204951efb99SIan Rogers
205951efb99SIan Rogers# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE
206*9ac8d663SVeronika Molnarova[event25:base-stat]
207*9ac8d663SVeronika Molnarovafd=25
208951efb99SIan Rogerstype=4
209951efb99SIan Rogersconfig=412
210951efb99SIan Rogersoptional=1
211951efb99SIan Rogers
212951efb99SIan Rogers# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE
213*9ac8d663SVeronika Molnarova[event26:base-stat]
214*9ac8d663SVeronika Molnarovafd=26
215951efb99SIan Rogerstype=4
216951efb99SIan Rogersconfig=572
217951efb99SIan Rogersoptional=1
218951efb99SIan Rogers
219951efb99SIan Rogers# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS
220*9ac8d663SVeronika Molnarova[event27:base-stat]
221*9ac8d663SVeronika Molnarovafd=27
222951efb99SIan Rogerstype=4
223951efb99SIan Rogersconfig=706
224951efb99SIan Rogersoptional=1
225951efb99SIan Rogers
226951efb99SIan Rogers# PERF_TYPE_RAW / UOPS_ISSUED.ANY
227*9ac8d663SVeronika Molnarova[event28:base-stat]
228*9ac8d663SVeronika Molnarovafd=28
229951efb99SIan Rogerstype=4
230951efb99SIan Rogersconfig=270
2310b6c5371SKan Liangoptional=1
2320b6c5371SKan Liang
2338a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE /
2348a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
2358a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2368a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
237*9ac8d663SVeronika Molnarova[event29:base-stat]
238*9ac8d663SVeronika Molnarovafd=29
2398a6408a0SJiri Olsatype=3
2408a6408a0SJiri Olsaconfig=0
241692f5a22SJiri Olsaoptional=1
2428a6408a0SJiri Olsa
2438a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE /
2448a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
2458a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2468a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
247*9ac8d663SVeronika Molnarova[event30:base-stat]
248*9ac8d663SVeronika Molnarovafd=30
2498a6408a0SJiri Olsatype=3
2508a6408a0SJiri Olsaconfig=65536
251692f5a22SJiri Olsaoptional=1
2528a6408a0SJiri Olsa
2538a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE /
2548a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
2558a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2568a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
257*9ac8d663SVeronika Molnarova[event31:base-stat]
258*9ac8d663SVeronika Molnarovafd=31
2598a6408a0SJiri Olsatype=3
2608a6408a0SJiri Olsaconfig=2
261692f5a22SJiri Olsaoptional=1
2628a6408a0SJiri Olsa
2638a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE,
2648a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
2658a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2668a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
267*9ac8d663SVeronika Molnarova[event32:base-stat]
268*9ac8d663SVeronika Molnarovafd=32
2698a6408a0SJiri Olsatype=3
2708a6408a0SJiri Olsaconfig=65538
271692f5a22SJiri Olsaoptional=1
272