libbpf: add bpf_raw_tracepoint_open helper
authorAlexei Starovoitov <ast@kernel.org>
Wed, 28 Mar 2018 19:05:38 +0000 (12:05 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 28 Mar 2018 20:55:19 +0000 (22:55 +0200)
commita0fe3e574b50461c4811ce81811f0eaefda62871
tree5bb54d6a41ea191ac880d30d96b26542210a2deb
parentc4f6699dfcb8558d138fe838f741b2c10f416cf9
libbpf: add bpf_raw_tracepoint_open helper

add bpf_raw_tracepoint_open(const char *name, int prog_fd) api to libbpf

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/include/uapi/linux/bpf.h
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h