]> 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)
commit801e435282aa18509bf4ac505f0f3ae30e5236f8
tree3622175df191cd2da9839c68170c9af3c0d9e4fa
parentf64151668a7dff209c385cd9e14c5f30fcde279c
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