diff options
| author | Viktor Malik <vmalik@redhat.com> | 2026-02-25 13:09:04 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-03-03 09:23:57 -0800 |
| commit | 05c9b2eda8a9e3a216e43879fc812981a4890704 (patch) | |
| tree | 2a52aaa77a45c26446f79b0f7fbcfb25362b26e5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 44dd647b668984fb52b7fb73952cb1668b76ebed (diff) | |
selftests/bpf: Split module_attach into subtests
The test verifies attachment to various hooks in a kernel module,
however, everything is flattened into a single test. This makes it
impossible to run or skip test cases selectively.
Isolate each BPF program into a separate subtest. This is done by
disabling auto-loading of programs and loading and testing each program
separately.
At the same time, modernize the test to use ASSERT* instead of CHECK and
replace `return` by `goto cleanup` where necessary.
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Link: https://lore.kernel.org/r/20260225120904.1529112-1-vmalik@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
