Commit f555417a authored by Matt Mullins's avatar Matt Mullins Committed by Cheng Jian
Browse files

tools: sync bpf.h

mainline inclusion
from mainline-v5.2-rc1
commit 4635b0ae
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I3U9MR


CVE: NA

-------------------------------------------------------------------------

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: default avatarMatt Mullins <mmullins@fb.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Conflict:
	tools/include/uapi/linux/bpf.h
	tools/lib/bpf/libbpf.c
Signed-off-by: default avatarYufen Yu <yuyufen@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent e4f7e25d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment