tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/benchs/run_bench_strncmp.sh
Extension
.sh
Size
243 bytes
Lines
13
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: tools
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

source ./benchs/run_common.sh

set -eufo pipefail

for s in 1 8 64 512 2048 4095; do
	for b in no-helper helper; do
		summarize ${b}-${s} "$($RUN_BENCH --cmp-str-len=$s strncmp-${b})"
	done
done

Annotation

Implementation Notes