selftest/bpf/benchs: Fix a typo in bpf_hashmap_full_update
authorAnton Protopopov <aspsk@isovalent.com>
Mon, 13 Feb 2023 09:15:13 +0000 (09:15 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 16 Feb 2023 00:29:31 +0000 (16:29 -0800)
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: Anton Protopopov <aspsk@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230213091519.1202813-2-aspsk@isovalent.com
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_full_update.c
tools/testing/selftests/bpf/benchs/run_bench_bpf_hashmap_full_update.sh

index cec51e0ff4b8a056c69ded8459d72ed201af4eba..44706acf632a7d44a958795935a998d204bc84a0 100644 (file)
@@ -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,
index 1e2de838f9fa9c4c241063563480f538a8d94915..cd2efd3fdef3ad4b712a44ccd500e7c3a0812c75 100755 (executable)
@@ -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"