File Index
Files and directories
Sign in
FILE

test-record-group-sampling1

File preview with syntax highlighting.

linux-6.19.14/tools/perf/tests/shell/attr/test-record-group-sampling1 PLAIN TEXT
 1[config]
 2command = record
 3args    = --no-bpf-event -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 | PERF_SAMPLE_PERIOD
16sample_type=343
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[event-2:base-record]
30fd=2
31group_fd=1
32
33# cache-misses
34type=0
35config=3
36
37# default | PERF_SAMPLE_READ | PERF_SAMPLE_PERIOD
38sample_type=343
39
40# PERF_FORMAT_ID | PERF_FORMAT_GROUP  | PERF_FORMAT_LOST | PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_TOTAL_TIME_RUNNING
41read_format=28|31
42task=0
43mmap=0
44comm=0
45enable_on_exec=0
46disabled=0
47freq=0
48
49# inherit is enabled for group sampling
50inherit=1
~/ Read-only file preview.