libbpf: Add support to attach to fentry/fexit tracing progs
Teach libbpf to recognize tracing programs types and attach them to fentry/fexit. Signed-off-by:Alexei Starovoitov <ast@kernel.org> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Acked-by:
Song Liu <songliubraving@fb.com> Acked-by:
Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20191114185720.1641606-7-ast@kernel.org
Showing
- tools/include/uapi/linux/bpf.h 2 additions, 0 deletionstools/include/uapi/linux/bpf.h
- tools/lib/bpf/libbpf.c 74 additions, 25 deletionstools/lib/bpf/libbpf.c
- tools/lib/bpf/libbpf.h 4 additions, 0 deletionstools/lib/bpf/libbpf.h
- tools/lib/bpf/libbpf.map 2 additions, 0 deletionstools/lib/bpf/libbpf.map
Please register or sign in to comment