]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: validate generic bpf_object and subskel APIs work together
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 23 Oct 2024 04:39:08 +0000 (21:39 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 24 Oct 2024 05:15:09 +0000 (22:15 -0700)
commit80a54566b7f03351f77445ed3ac8d4eff3b04fcc
treedd013a3ee41c6e27cdbe5e415c247a37a359c94b
parent137978f422516a128326df55c0ba23605f925e21
selftests/bpf: validate generic bpf_object and subskel APIs work together

Add a new subtest validating that bpf_object loaded and initialized
through generic APIs is still interoperable with BPF subskeleton,
including initialization and reading of global variables.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20241023043908.3834423-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/subskeleton.c