aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/rcutiny.h
diff options
context:
space:
mode:
authorQuentin Monnet <quentin@isovalent.com>2023-07-07 10:54:24 +0100
committerAndrii Nakryiko <andrii@kernel.org>2023-07-10 15:29:20 -0700
commit44ba7b30e84fb40da2295e85a6d209e199fdc977 (patch)
treeda2a7c18986fd6c0bdb576626c74794dcc31ca1c /include/linux/rcutiny.h
parentbpftool: Define a local bpf_perf_link to fix accessing its fields (diff)
downloadwireguard-linux-44ba7b30e84fb40da2295e85a6d209e199fdc977.tar.xz
wireguard-linux-44ba7b30e84fb40da2295e85a6d209e199fdc977.zip
bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.c
In order to allow the BPF program in bpftool's pid_iter.bpf.c to compile correctly on hosts where vmlinux.h does not define BPF_LINK_TYPE_PERF_EVENT (running kernel versions lower than 5.15, for example), define and use a local copy of the enum value. This requires LLVM 12 or newer to build the BPF program. Fixes: cbdaf71f7e65 ("bpftool: Add bpf_cookie to link output") Signed-off-by: Quentin Monnet <quentin@isovalent.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20230707095425.168126-4-quentin@isovalent.com
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions