diff options
author | 2022-03-08 12:04:47 -0800 | |
---|---|---|
committer | 2022-03-08 17:39:28 -0800 | |
commit | d4b540544499d90ac81695e21e354cd5c82fa67e (patch) | |
tree | f3342707679848d8525ab111ca9c4f3b7870cfdf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools: Fix unavoidable GCC call in Clang builds (diff) | |
download | linux-dev-d4b540544499d90ac81695e21e354cd5c82fa67e.tar.xz linux-dev-d4b540544499d90ac81695e21e354cd5c82fa67e.zip |
Improve perf related BPF tests (sample_freq issue)
Linux kernel may automatically reduce kernel.perf_event_max_sample_rate
value when running tests in parallel on slow systems. Linux kernel checks
against this limit when opening perf event with freq=1 parameter set.
The lower bound is 1000. This patch reduces sample_freq value to 1000
in all BPF tests that use sample_freq to ensure they always can open
perf event.
Signed-off-by: Mykola Lysenko <mykolal@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220308200449.1757478-2-mykolal@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions