]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftest/bpf/benchs: Make quiet option common
authorAnton Protopopov <aspsk@isovalent.com>
Mon, 13 Feb 2023 09:15:17 +0000 (09:15 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 16 Feb 2023 00:29:31 +0000 (16:29 -0800)
commit90c22503cd8910c54a8cd4bfe5bb6873d9ba8e0b
treee9ab008d11aacbce8c1794c29abec2131f317448
parent9644546260eac49348b2c0694b01bdf72c627194
selftest/bpf/benchs: Make quiet option common

The "local-storage-tasks-trace" benchmark has a `--quiet` option. Move it to
the list of common options, so that the main code and other benchmarks can use
(new) env.quiet variable. Patch the run_bench_local_storage_rcu_tasks_trace.sh
helper script accordingly.

Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230213091519.1202813-6-aspsk@isovalent.com
tools/testing/selftests/bpf/bench.c
tools/testing/selftests/bpf/bench.h
tools/testing/selftests/bpf/benchs/bench_local_storage_rcu_tasks_trace.c
tools/testing/selftests/bpf/benchs/run_bench_local_storage_rcu_tasks_trace.sh