Commit 4db98ab4 authored by Anton Protopopov's avatar Anton Protopopov Committed by Andrii Nakryiko
Browse files

selftest/bpf/benchs: Fix a typo in bpf_hashmap_full_update



To call the bpf_hashmap_full_update benchmark, one should say:

    bench bpf-hashmap-ful-update

The patch adds a missing 'l' to the benchmark name.

Signed-off-by: default avatarAnton Protopopov <aspsk@isovalent.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230213091519.1202813-2-aspsk@isovalent.com
parent 3538a0fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ void hashmap_report_final(struct bench_res res[], int res_cnt)
}

const struct bench bench_bpf_hashmap_full_update = {
	.name = "bpf-hashmap-ful-update",
	.name = "bpf-hashmap-full-update",
	.validate = validate,
	.setup = setup,
	.producer_thread = producer,
+1 −1
Original line number Diff line number Diff line
@@ -6,6 +6,6 @@ source ./benchs/run_common.sh
set -eufo pipefail

nr_threads=`expr $(cat /proc/cpuinfo | grep "processor"| wc -l) - 1`
summary=$($RUN_BENCH -p $nr_threads bpf-hashmap-ful-update)
summary=$($RUN_BENCH -p $nr_threads bpf-hashmap-full-update)
printf "$summary"
printf "\n"