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