libbpf: Type functions for raw tracepoints
authorAndrey Ignatov <rdna@fb.com>
Tue, 17 Apr 2018 17:28:46 +0000 (10:28 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 18 Apr 2018 12:39:24 +0000 (14:39 +0200)
commite14c93fd5be14369d7c0190f4c908a81bfeae922
treec48acaa0f80095e913035263d6ce78a3e2244308
parent81efee75c4a8210cac6eb791892f974dfcfc24b0
libbpf: Type functions for raw tracepoints

Add missing pieces for BPF_PROG_TYPE_RAW_TRACEPOINT in libbpf:
* is- and set- functions;
* support guessing prog type.

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h