Files
erofs-linux/tools/perf/tests/shell/attr/test-record-group-sampling2
Ian Rogers 8296aa0f28 perf test: Move attr files into shell directory where they are used
Now the attr tests are shell tests move the associated python and
configuration files. Update the installation build rules for the new
directories. Recycle the lib install rules for python files allowing
the explicit attr.py install line to be dropped.

Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Athira Rajeev <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: zhaimingbing <[email protected]>
Cc: Howard Chu <[email protected]>
Cc: Ze Gao <[email protected]>
Cc: Weilin Wang <[email protected]>
Cc: James Clark <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Veronika Molnarova <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
2024-10-17 13:17:36 -07:00

62 lines
1007 B
Plaintext

[config]
command = record
args = --no-bpf-event -c 10000 -e '{cycles,cache-misses}:S' kill >/dev/null 2>&1
ret = 1
kernel_since = 6.12
[event-1:base-record]
fd=1
group_fd=-1
# cycles
type=0
config=0
# default | PERF_SAMPLE_READ
sample_type=87
# PERF_FORMAT_ID | PERF_FORMAT_GROUP | PERF_FORMAT_LOST | PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_TOTAL_TIME_RUNNING
read_format=28|31
task=1
mmap=1
comm=1
enable_on_exec=1
disabled=1
# inherit is enabled for group sampling
inherit=1
# sampling disabled
sample_freq=0
sample_period=10000
freq=0
write_backward=0
[event-2:base-record]
fd=2
group_fd=1
# cache-misses
type=0
config=3
# default | PERF_SAMPLE_READ
sample_type=87
# PERF_FORMAT_ID | PERF_FORMAT_GROUP | PERF_FORMAT_LOST | PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_TOTAL_TIME_RUNNING
read_format=28|31
task=0
mmap=0
comm=0
enable_on_exec=0
disabled=0
# inherit is enabled for group sampling
inherit=1
# sampling disabled
sample_freq=0
sample_period=0
freq=0
write_backward=0