diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-12-12 04:36:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 15:35:29 +0300 |
commit | 77bb53cb094828a31cd3c5b402899810f63073c1 (patch) | |
tree | e8cba532e1d19662c9680b5c7ec9f9433bb8627f /tools/testing/selftests/bpf/test_maps.h | |
parent | 5b0e9b563c01f0f3bb1a00712bc99225fbb44d07 (diff) | |
download | linux-77bb53cb094828a31cd3c5b402899810f63073c1.tar.xz |
selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs
commit 91cbdf740a476cf2c744169bf407de2e3ac1f3cf upstream.
Fix up perf_buffer.c selftest to take into account offline/missing CPUs.
Fixes: ee5cf82ce04a ("selftests/bpf: test perf buffer API")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212013621.1691858-1-andriin@fb.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_maps.h')
0 files changed, 0 insertions, 0 deletions