Linux 5.1.15
[linux/fpc-iii.git] / tools / perf / tests / attr / test-stat-detailed-1
blob8b04a055d1548d03a84c53ad719e249eeb807197
1 [config]
2 command = stat
3 args    = -d kill >/dev/null 2>&1
4 ret     = 1
7 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_TASK_CLOCK
8 [event1:base-stat]
9 fd=1
10 type=1
11 config=1
13 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CONTEXT_SWITCHES
14 [event2:base-stat]
15 fd=2
16 type=1
17 config=3
19 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CPU_MIGRATIONS
20 [event3:base-stat]
21 fd=3
22 type=1
23 config=4
25 # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_PAGE_FAULTS
26 [event4:base-stat]
27 fd=4
28 type=1
29 config=2
31 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
32 [event5:base-stat]
33 fd=5
34 type=0
35 config=0
36 optional=1
38 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
39 [event6:base-stat]
40 fd=6
41 type=0
42 config=7
43 optional=1
45 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
46 [event7:base-stat]
47 fd=7
48 type=0
49 config=8
50 optional=1
52 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
53 [event8:base-stat]
54 fd=8
55 type=0
56 config=1
57 optional=1
59 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS
60 [event9:base-stat]
61 fd=9
62 type=0
63 config=4
64 optional=1
66 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
67 [event10:base-stat]
68 fd=10
69 type=0
70 config=5
71 optional=1
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]
78 fd=11
79 type=3
80 config=0
81 optional=1
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]
88 fd=12
89 type=3
90 config=65536
91 optional=1
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]
98 fd=13
99 type=3
100 config=2
101 optional=1
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]
108 fd=14
109 type=3
110 config=65538
111 optional=1