diff options
author | Hou Tao <[email protected]> | 2023-06-13 16:09:20 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-06-19 13:26:43 -0700 |
commit | 970308a7b544fa1c7ee98a2721faba3765be8dd8 (patch) | |
tree | cb7756ee7f27382354d2559321306a3ccb4df87b /tools/perf/scripts/python/flamegraph.py | |
parent | da77ae2b27ec73a644624a6d4bffc206e2df6bb8 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions