aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-08-11 02:58:22 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-15 19:41:48 +0000
commit9575ecdd198a50e95ed2319471f7518465b1cd94 (patch)
tree8f8ef6ff6b63cccb2ffc1436b10a782121898435 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentperf bpf-filter: Fix sample flag check with || (diff)
downloadkernel-9575ecdd198a50e95ed2319471f7518465b1cd94.tar.gz
kernel-9575ecdd198a50e95ed2319471f7518465b1cd94.zip
perf test: Add perf record sample filtering test
$ sudo ./perf test 'sample filter' -v 94: perf record sample filtering (by BPF) tests : --- start --- test child forked, pid 3817527 Checking BPF-filter privilege Basic bpf-filter test Basic bpf-filter test [Success] Failing bpf-filter test Error: task-clock event does not have PERF_SAMPLE_CPU Failing bpf-filter test [Success] Group bpf-filter test Error: task-clock event does not have PERF_SAMPLE_CPU Error: task-clock event does not have PERF_SAMPLE_CODE_PAGE_SIZE Group bpf-filter test [Success] test child finished with 0 ---- end ---- perf record sample filtering (by BPF) tests: Ok Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Athira Rajeev <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions