]> git.baikalelectronics.ru Git - kernel.git/commit
tools: sync bpf.h
authorMatt Mullins <mmullins@fb.com>
Fri, 26 Apr 2019 18:49:50 +0000 (11:49 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 27 Apr 2019 02:04:19 +0000 (19:04 -0700)
commitc435e15838f9561ee10cd9a79734dba38aee7f0b
tree3622175df191cd2da9839c68170c9af3c0d9e4fa
parent0652da17ef6a28567cd11338289a7b1fa1558663
tools: sync bpf.h

This adds BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE, and fixes up the

error: enumeration value ‘BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE’ not handled in switch [-Werror=switch-enum]

build errors it would otherwise cause in libbpf.

Signed-off-by: Matt Mullins <mmullins@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf_probes.c