Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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

authored by

Anton Protopopov and committed by
Andrii Nakryiko
4db98ab4 3538a0fb

+2 -2
+1 -1
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_full_update.c
··· 85 85 } 86 86 87 87 const struct bench bench_bpf_hashmap_full_update = { 88 - .name = "bpf-hashmap-ful-update", 88 + .name = "bpf-hashmap-full-update", 89 89 .validate = validate, 90 90 .setup = setup, 91 91 .producer_thread = producer,
+1 -1
tools/testing/selftests/bpf/benchs/run_bench_bpf_hashmap_full_update.sh
··· 6 6 set -eufo pipefail 7 7 8 8 nr_threads=`expr $(cat /proc/cpuinfo | grep "processor"| wc -l) - 1` 9 - summary=$($RUN_BENCH -p $nr_threads bpf-hashmap-ful-update) 9 + summary=$($RUN_BENCH -p $nr_threads bpf-hashmap-full-update) 10 10 printf "$summary" 11 11 printf "\n"