diff options
author | 2023-06-13 16:09:20 +0800 | |
---|---|---|
committer | 2023-06-19 13:26:43 -0700 | |
commit | 970308a7b544fa1c7ee98a2721faba3765be8dd8 (patch) | |
tree | cb7756ee7f27382354d2559321306a3ccb4df87b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Ensure that next_cpu() returns a valid CPU number (diff) | |
download | wireguard-linux-970308a7b544fa1c7ee98a2721faba3765be8dd8.tar.xz wireguard-linux-970308a7b544fa1c7ee98a2721faba3765be8dd8.zip |
selftests/bpf: Set the default value of consumer_cnt as 0
Considering that only bench_ringbufs.c supports consumer, just set the
default value of consumer_cnt as 0. After that, update the validity
check of consumer_cnt, remove unused consumer_thread code snippets and
set consumer_cnt as 1 in run_bench_ringbufs.sh accordingly.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20230613080921.1623219-5-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions