aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/module_attach.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-12-03 20:46:32 +0000
committerAlexei Starovoitov <[email protected]>2020-12-04 01:38:21 +0000
commit91abb4a6d79df6c4dcd86d85632df53c8cca2dcf (patch)
tree557fc11c841adeb6784e7baa5cda3c95b6381073 /tools/testing/selftests/bpf/prog_tests/module_attach.c
parentlibbpf: Factor out low-level BPF program loading helper (diff)
downloadkernel-91abb4a6d79df6c4dcd86d85632df53c8cca2dcf.tar.gz
kernel-91abb4a6d79df6c4dcd86d85632df53c8cca2dcf.zip
libbpf: Support attachment of BPF tracing programs to kernel modules
Teach libbpf to search for BTF types in kernel modules for tracing BPF programs. This allows attachment of raw_tp/fentry/fexit/fmod_ret/etc BPF program types to tracepoints and functions in kernel modules. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[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