diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-12-03 23:46:28 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-12-04 04:38:21 +0300 |
commit | 6bcd39d366b64318562785d5b47c2837e3a53ae5 (patch) | |
tree | d3a614e46acf0c5ed6cea426844777ecebae09d0 /kernel/bpf/syscall.c | |
parent | 5ed31472b9ad6373a0a24bc21186b5eac999213d (diff) | |
download | linux-6bcd39d366b64318562785d5b47c2837e3a53ae5.tar.xz |
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/syscall.c')
0 files changed, 0 insertions, 0 deletions