aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2024-06-04 00:07:00 -0700
committerAndrii Nakryiko <andrii@kernel.org>2024-06-04 11:17:54 -0700
commit61ce0ea7591fef2eb6e89ce40ffcc24fda4dbbc5 (patch)
tree09649074f6ebde1305acef37c57614fa3b0e9d0d /tools/lib/bpf/libbpf.c
parentMerge branch 'enable-bpf-programs-to-declare-arrays-of-kptr-bpf_rb_root-and-bpf_list_head' (diff)
downloadlinux-rng-61ce0ea7591fef2eb6e89ce40ffcc24fda4dbbc5.tar.xz
linux-rng-61ce0ea7591fef2eb6e89ce40ffcc24fda4dbbc5.zip
selftests/bpf: Fix bpf_cookie and find_vma in nested VM
bpf_cookie and find_vma are flaky in nested VMs, which is used by some CI systems. It turns out these failures are caused by unreliable perf event in nested VM. Fix these by: 1. Use PERF_COUNT_SW_CPU_CLOCK in find_vma; 2. Increase sample_freq in bpf_cookie. Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240604070700.3032142-1-song@kernel.org
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions