selftests/bpf: Use non-autoloaded programs in few tests

Take advantage of new libbpf feature for declarative non-autoloaded BPF
program SEC() definitions in few test that test single program at a time
out of many available programs within the single BPF object.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220419002452.632125-2-andrii@kernel.org
This commit is contained in:
Andrii Nakryiko 2022-04-18 17:24:51 -07:00 • committed by Alexei Starovoitov
commit 0d7fefebea
6 changed files with 35 additions and 65 deletions