aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2021-10-21 13:41:30 +0200
committerAndrii Nakryiko <andrii@kernel.org>2021-10-21 15:59:20 -0700
commitd4121376ac7a9c81a696d7558789b2f29ef3574e (patch)
tree6bd3446b752d72fdd52001dc6526091036ef6ee4 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'bpf: keep track of verifier insn_processed' (diff)
downloadlinux-dev-d4121376ac7a9c81a696d7558789b2f29ef3574e.tar.xz
linux-dev-d4121376ac7a9c81a696d7558789b2f29ef3574e.zip
selftests/bpf: Fix perf_buffer test on system with offline cpus
The perf_buffer fails on system with offline cpus: # test_progs -t perf_buffer test_perf_buffer:PASS:nr_cpus 0 nsec test_perf_buffer:PASS:nr_on_cpus 0 nsec test_perf_buffer:PASS:skel_load 0 nsec test_perf_buffer:PASS:attach_kprobe 0 nsec test_perf_buffer:PASS:perf_buf__new 0 nsec test_perf_buffer:PASS:epoll_fd 0 nsec skipping offline CPU #24 skipping offline CPU #25 skipping offline CPU #26 skipping offline CPU #27 skipping offline CPU #28 skipping offline CPU #29 skipping offline CPU #30 skipping offline CPU #31 test_perf_buffer:PASS:perf_buffer__poll 0 nsec test_perf_buffer:PASS:seen_cpu_cnt 0 nsec test_perf_buffer:FAIL:buf_cnt got 24, expected 32 Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED Changing the test to check online cpus instead of possible. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20211021114132.8196-2-jolsa@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions