xref: /openbmc/linux/tools/perf/tests/attr/test-stat-detailed-1 (revision 951efb9976ce453342a86b29d7bfe9fa483c7c4d)
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*951efb99SIan Rogers# PERF_TYPE_RAW / topdown-fe-bound (0x8200)
940b6c5371SKan Liang[event13:base-stat]
950b6c5371SKan Liangfd=13
960b6c5371SKan Lianggroup_fd=11
970b6c5371SKan Liangtype=4
980b6c5371SKan Liangconfig=33280
990b6c5371SKan Liangdisabled=0
1000b6c5371SKan Liangenable_on_exec=0
1010b6c5371SKan Liangread_format=15
1020b6c5371SKan Liangoptional=1
1030b6c5371SKan Liang
1040b6c5371SKan Liang# PERF_TYPE_RAW / topdown-be-bound (0x8300)
105*951efb99SIan Rogers[event14:base-stat]
106*951efb99SIan Rogersfd=14
1070b6c5371SKan Lianggroup_fd=11
1080b6c5371SKan Liangtype=4
1090b6c5371SKan Liangconfig=33536
1100b6c5371SKan Liangdisabled=0
1110b6c5371SKan Liangenable_on_exec=0
1120b6c5371SKan Liangread_format=15
1130b6c5371SKan Liangoptional=1
1140b6c5371SKan Liang
115*951efb99SIan Rogers# PERF_TYPE_RAW / topdown-bad-spec (0x8100)
116*951efb99SIan Rogers[event15:base-stat]
117*951efb99SIan Rogersfd=15
118*951efb99SIan Rogersgroup_fd=11
119*951efb99SIan Rogerstype=4
120*951efb99SIan Rogersconfig=33024
121*951efb99SIan Rogersdisabled=0
122*951efb99SIan Rogersenable_on_exec=0
123*951efb99SIan Rogersread_format=15
124*951efb99SIan Rogersoptional=1
125*951efb99SIan Rogers
126*951efb99SIan Rogers# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
1270b6c5371SKan Liang[event16:base-stat]
1280b6c5371SKan Liangfd=16
1290b6c5371SKan Liangtype=4
130*951efb99SIan Rogersconfig=4109
1310b6c5371SKan Liangoptional=1
1320b6c5371SKan Liang
133*951efb99SIan Rogers# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/
1340b6c5371SKan Liang[event17:base-stat]
1350b6c5371SKan Liangfd=17
1360b6c5371SKan Liangtype=4
137*951efb99SIan Rogersconfig=17039629
1380b6c5371SKan Liangoptional=1
1390b6c5371SKan Liang
140*951efb99SIan Rogers# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD
1410b6c5371SKan Liang[event18:base-stat]
1420b6c5371SKan Liangfd=18
1430b6c5371SKan Liangtype=4
144*951efb99SIan Rogersconfig=60
1450b6c5371SKan Liangoptional=1
1460b6c5371SKan Liang
147*951efb99SIan Rogers# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY
1480b6c5371SKan Liang[event19:base-stat]
1490b6c5371SKan Liangfd=19
1500b6c5371SKan Liangtype=4
151*951efb99SIan Rogersconfig=2097421
152*951efb99SIan Rogersoptional=1
153*951efb99SIan Rogers
154*951efb99SIan Rogers# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK
155*951efb99SIan Rogers[event20:base-stat]
156*951efb99SIan Rogersfd=20
157*951efb99SIan Rogerstype=4
158*951efb99SIan Rogersconfig=316
159*951efb99SIan Rogersoptional=1
160*951efb99SIan Rogers
161*951efb99SIan Rogers# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE
162*951efb99SIan Rogers[event21:base-stat]
163*951efb99SIan Rogersfd=21
164*951efb99SIan Rogerstype=4
165*951efb99SIan Rogersconfig=412
166*951efb99SIan Rogersoptional=1
167*951efb99SIan Rogers
168*951efb99SIan Rogers# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE
169*951efb99SIan Rogers[event22:base-stat]
170*951efb99SIan Rogersfd=22
171*951efb99SIan Rogerstype=4
172*951efb99SIan Rogersconfig=572
173*951efb99SIan Rogersoptional=1
174*951efb99SIan Rogers
175*951efb99SIan Rogers# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS
176*951efb99SIan Rogers[event23:base-stat]
177*951efb99SIan Rogersfd=23
178*951efb99SIan Rogerstype=4
179*951efb99SIan Rogersconfig=706
180*951efb99SIan Rogersoptional=1
181*951efb99SIan Rogers
182*951efb99SIan Rogers# PERF_TYPE_RAW / UOPS_ISSUED.ANY
183*951efb99SIan Rogers[event24:base-stat]
184*951efb99SIan Rogersfd=24
185*951efb99SIan Rogerstype=4
186*951efb99SIan Rogersconfig=270
1870b6c5371SKan Liangoptional=1
1880b6c5371SKan Liang
1898a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE /
1908a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
1918a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
1928a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
193*951efb99SIan Rogers[event25:base-stat]
194*951efb99SIan Rogersfd=25
1958a6408a0SJiri Olsatype=3
1968a6408a0SJiri Olsaconfig=0
197692f5a22SJiri Olsaoptional=1
1988a6408a0SJiri Olsa
1998a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE /
2008a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_L1D                <<  0  |
2018a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2028a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
203*951efb99SIan Rogers[event26:base-stat]
204*951efb99SIan Rogersfd=26
2058a6408a0SJiri Olsatype=3
2068a6408a0SJiri Olsaconfig=65536
207692f5a22SJiri Olsaoptional=1
2088a6408a0SJiri Olsa
2098a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE /
2108a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
2118a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2128a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_ACCESS      << 16)
213*951efb99SIan Rogers[event27:base-stat]
214*951efb99SIan Rogersfd=27
2158a6408a0SJiri Olsatype=3
2168a6408a0SJiri Olsaconfig=2
217692f5a22SJiri Olsaoptional=1
2188a6408a0SJiri Olsa
2198a6408a0SJiri Olsa# PERF_TYPE_HW_CACHE,
2208a6408a0SJiri Olsa#  PERF_COUNT_HW_CACHE_LL                 <<  0  |
2218a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_OP_READ            <<  8) |
2228a6408a0SJiri Olsa# (PERF_COUNT_HW_CACHE_RESULT_MISS        << 16)
223*951efb99SIan Rogers[event28:base-stat]
224*951efb99SIan Rogersfd=28
2258a6408a0SJiri Olsatype=3
2268a6408a0SJiri Olsaconfig=65538
227692f5a22SJiri Olsaoptional=1
228