xref: /linux/tools/perf/tests/attr/test-stat-detailed-1 (revision c0c914eca7f251c70facc37dfebeaf176601918d)
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
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