]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Tests libbpf autoattach APIs
authorHao Luo <haoluo@google.com>
Tue, 16 Aug 2022 23:40:12 +0000 (16:40 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 17 Aug 2022 16:42:07 +0000 (09:42 -0700)
commit063eb6dfb21a3ad2e29382ada06263eb3eee9c31
treef59098cb9084556a110c7a27850f5d85929ae774
parente248fd8be248582aa873580e312ec95b4a17e71e
selftests/bpf: Tests libbpf autoattach APIs

Adds test for libbpf APIs that toggle bpf program auto-attaching.

Signed-off-by: Hao Luo <haoluo@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220816234012.910255-2-haoluo@google.com
tools/testing/selftests/bpf/prog_tests/autoattach.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_autoattach.c [new file with mode: 0644]