libbpf: Add support to attach to fentry/fexit tracing progs
authorAlexei Starovoitov <ast@kernel.org>
Thu, 14 Nov 2019 18:57:06 +0000 (10:57 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Nov 2019 22:42:31 +0000 (23:42 +0100)
commitb8c54ea455dc2e0bda7ea9b0370279c224e21045
tree3156335fbfe2428b0a3420a184c96f90ade7f5ee
parent1442e2871b7679271fc9fcbf043ba1be511a7428
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
tools/include/uapi/linux/bpf.h
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h
tools/lib/bpf/libbpf.map