diff options
| author | Sun Jian <sun.jian.kdev@gmail.com> | 2026-02-28 10:45:54 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-03-06 02:07:40 +0300 |
| commit | 74d3305e620b3c71b414198f9cf9b1609148d277 (patch) | |
| tree | b47c52db2647496e6ebaec8ca410655856fef8c0 /lib/debugobjects.c | |
| parent | 8a2a3aaf90cf671caaca88fe57362c8b169ef392 (diff) | |
| download | linux-74d3305e620b3c71b414198f9cf9b1609148d277.tar.xz | |
selftests/bpf: bpf_cookie: Skip kprobe_multi tests without bpf_testmod
The kprobe_multi subtests rely on bpf_testmod fentry ksyms.
When bpf_testmod isn't available, libbpf fails to resolve
bpf_testmod_fentry_test* and skeleton load fails with -ESRCH, causing
false failures.
Skip these subtests when env.has_testmod is false.
Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20260228074555.122950-2-sun.jian.kdev@gmail.com
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
