summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2024-08-20 18:45:04 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-08-29 00:07:20 +0300
commit150ca9ccc4e94eaa07b9d3e07f45fec842b68a78 (patch)
tree84f52b958c789d0b2db7cdf4e29808534c72828f /usr
parent1a5474a779798f6ba9d798469326ebfa6b4a8fae (diff)
downloadlinux-150ca9ccc4e94eaa07b9d3e07f45fec842b68a78.tar.xz
perf test: Update sample filtering tests with multiple events
Add Multiple bpf-filter test for two or more events with filters. It uses task-clock and page-faults events with different filter expressions and check the perf script output $ sudo ./perf test filtering -vv 96: perf record sample filtering (by BPF) tests: --- start --- test child forked, pid 2804025 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] Multiple bpf-filter test Multiple bpf-filter test [Success] ---- end(0) ---- 96: perf record sample filtering (by BPF) tests : Ok Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: KP Singh <kpsingh@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20240820154504.128923-3-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions