summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorViktor Malik <vmalik@redhat.com>2026-02-25 15:09:04 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-03-03 20:23:57 +0300
commit05c9b2eda8a9e3a216e43879fc812981a4890704 (patch)
tree2a52aaa77a45c26446f79b0f7fbcfb25362b26e5 /lib/debugobjects.c
parent44dd647b668984fb52b7fb73952cb1668b76ebed (diff)
downloadlinux-05c9b2eda8a9e3a216e43879fc812981a4890704.tar.xz
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions