diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-03-11 07:30:10 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-11 17:17:39 +0300 |
commit | 37ccc12bbcef880e6b3fdf7e03cf9e5fe9df99f2 (patch) | |
tree | cf80dd1cb387fce8e3169c111ea59c4708c8f576 /net/sched/act_csum.c | |
parent | 13fac1d851e09109096b5862bf37c3da6908fb48 (diff) | |
download | linux-37ccc12bbcef880e6b3fdf7e03cf9e5fe9df99f2.tar.xz |
tools/runqslower: Add BPF_F_CURRENT_CPU for running selftest on older kernels
Libbpf compiles and runs subset of selftests on each PR in its Github mirror
repository. To allow still building up-to-date selftests against outdated
kernel images, add back BPF_F_CURRENT_CPU definitions back.
N.B. BCC's runqslower version ([0]) doesn't need BPF_F_CURRENT_CPU due to use of
locally checked in vmlinux.h, generated against kernel with 1aae4bdd7879 ("bpf:
Switch BPF UAPI #define constants used from BPF program side to enums")
applied.
[0] https://github.com/iovisor/bcc/pull/2809
Fixes: 367d82f17eff (" tools/runqslower: Drop copy/pasted BPF_F_CURRENT_CPU definiton")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200311043010.530620-1-andriin@fb.com
Diffstat (limited to 'net/sched/act_csum.c')
0 files changed, 0 insertions, 0 deletions