selftests/bpf: Add tp_btf CO-RE reloc test for modules
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Dec 2020 20:46:33 +0000 (12:46 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 4 Dec 2020 01:38:21 +0000 (17:38 -0800)
commitbc9ed69c79ae7577314a24e09c5b0d1c1c314ced
treef3229612e0dcf508cea10e4792a5a942bad5715b
parent91abb4a6d79df6c4dcd86d85632df53c8cca2dcf
selftests/bpf: Add tp_btf CO-RE reloc test for modules

Add another CO-RE relocation test for kernel module relocations. This time for
tp_btf with direct memory reads.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201203204634.1325171-14-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/core_reloc.c
tools/testing/selftests/bpf/progs/test_core_reloc_module.c