summaryrefslogtreecommitdiffstats
path: root/kernel/bpf
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2020-12-03 12:46:28 -0800
committerAlexei Starovoitov <ast@kernel.org>2020-12-03 17:38:21 -0800
commit6bcd39d366b64318562785d5b47c2837e3a53ae5 (patch)
treed3a614e46acf0c5ed6cea426844777ecebae09d0 /kernel/bpf
parent5ed31472b9ad6373a0a24bc21186b5eac999213d (diff)
downloadlinux-stable-6bcd39d366b64318562785d5b47c2837e3a53ae5.tar.gz
linux-stable-6bcd39d366b64318562785d5b47c2837e3a53ae5.tar.bz2
linux-stable-6bcd39d366b64318562785d5b47c2837e3a53ae5.zip
selftests/bpf: Add CO-RE relocs selftest relying on kernel module BTF
Add a self-tests validating libbpf is able to perform CO-RE relocations against the type defined in kernel module BTF. if bpf_testmod.o is not supported by the kernel (e.g., due to version mismatch), skip tests, instead of failing. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20201203204634.1325171-9-andrii@kernel.org
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions