xref: /linux/tools/perf/tests/shell/attr/test-record-group-sampling2 (revision 1dc707e647bc919834eff9636c8d00b78c782545)
1[config]
2command = record
3args    = --no-bpf-event -c 10000 -e '{cycles,cache-misses}:S' kill >/dev/null 2>&1
4ret     = 1
5kernel_since = 6.12
6
7[event-1:base-record]
8fd=1
9group_fd=-1
10
11# cycles
12type=0
13config=0
14
15# default | PERF_SAMPLE_READ
16sample_type=87
17
18# PERF_FORMAT_ID | PERF_FORMAT_GROUP  | PERF_FORMAT_LOST | PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_TOTAL_TIME_RUNNING
19read_format=28|31
20task=1
21mmap=1
22comm=1
23enable_on_exec=1
24disabled=1
25
26# inherit is enabled for group sampling
27inherit=1
28
29# sampling disabled
30sample_freq=0
31sample_period=10000
32freq=0
33write_backward=0
34
35[event-2:base-record]
36fd=2
37group_fd=1
38
39# cache-misses
40type=0
41config=3
42
43# default | PERF_SAMPLE_READ
44sample_type=87
45
46# PERF_FORMAT_ID | PERF_FORMAT_GROUP  | PERF_FORMAT_LOST | PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_TOTAL_TIME_RUNNING
47read_format=28|31
48task=0
49mmap=0
50comm=0
51enable_on_exec=0
52disabled=0
53
54# inherit is enabled for group sampling
55inherit=1
56
57# sampling disabled
58sample_freq=0
59sample_period=0
60freq=0
61write_backward=0
62