aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/module_attach.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-12-11 21:58:24 +0000
committerDaniel Borkmann <[email protected]>2020-12-14 15:39:42 +0000
commitfe62de310e2b563c0d303a09d06b020077fe86b4 (patch)
tree3e8eda78ac61c7590a9b2544b61e19961b67f3bf /tools/testing/selftests/bpf/prog_tests/module_attach.c
parentselftests/bpf: Silence ima_setup.sh when not running in verbose mode. (diff)
downloadkernel-fe62de310e2b563c0d303a09d06b020077fe86b4.tar.gz
kernel-fe62de310e2b563c0d303a09d06b020077fe86b4.zip
libbpf: Support modules in bpf_program__set_attach_target() API
Support finding kernel targets in kernel modules when using bpf_program__set_attach_target() API. This brings it up to par with what libbpf supports when doing declarative SEC()-based target determination. Some minor internal refactoring was needed to make sure vmlinux BTF can be loaded before bpf_object's load phase. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/module_attach.c')
0 files changed, 0 insertions, 0 deletions