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
This commit is contained in:
Andrii Nakryiko 2020-12-03 12:46:33 -08:00 • committed by Alexei Starovoitov
commit bc9ed69c79
2 changed files with 33 additions and 2 deletions