selftests/bpf: Test for btf_load command.
authorAlexei Starovoitov <ast@kernel.org>
Fri, 14 May 2021 00:36:09 +0000 (17:36 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 18 May 2021 22:33:40 +0000 (00:33 +0200)
commit2341d6bb133d44caeba9fbdc851f8624739a84a2
tree868e22ff2f4065407650ebf4881fb100ce234ea4
parentc571bd752e91602f092823b2f1ee685a74d2726c
selftests/bpf: Test for btf_load command.

Improve selftest to check that btf_load is working from bpf program.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210514003623.28033-8-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/prog_tests/syscall.c
tools/testing/selftests/bpf/progs/syscall.c