diff options
author | Song Liu <[email protected]> | 2024-06-04 00:07:00 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-06-04 11:17:54 -0700 |
commit | 61ce0ea7591fef2eb6e89ce40ffcc24fda4dbbc5 (patch) | |
tree | 09649074f6ebde1305acef37c57614fa3b0e9d0d /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 49df0019f36798d414e6b913bec30a3a0cd47c70 (diff) |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions