Home
last modified time | relevance | path

Searched refs:bench (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-bench.c3 * builtin-bench.c
22 #include "bench/bench.h"
33 struct bench { struct
40 static struct bench numa_benchmarks[] = {
47 static struct bench sched_benchmarks[] = {
55 static struct bench syscall_benchmarks[] = {
64 static struct bench mem_benchmarks[] = {
72 static struct bench futex_benchmarks[] = {
84 static struct bench epoll_benchmark
149 struct bench *bench; dump_benchmarks() local
236 struct bench *bench; run_collection() local
306 struct bench *bench; cmd_bench() local
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-bench.c3 * builtin-bench.c
22 #include "bench/bench.h"
33 struct bench { struct
40 static struct bench numa_benchmarks[] = {
47 static struct bench sched_benchmarks[] = {
54 static struct bench syscall_benchmarks[] = {
60 static struct bench mem_benchmarks[] = {
68 static struct bench futex_benchmarks[] = {
80 static struct bench epoll_benchmark
127 struct bench *bench; dump_benchmarks() local
214 struct bench *bench; run_collection() local
284 struct bench *bench; cmd_bench() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dbench.c12 #include "bench.h"
245 "USAGE: benchmark <bench-name>\n"
397 if (bench->argp) { in parse_cmdline_args_final()
398 bench_parsers[0].argp = bench->argp; in parse_cmdline_args_final()
399 bench_parsers[0].header = bench->name; in parse_cmdline_args_final()
484 const struct bench *bench = NULL; variable
486 extern const struct bench bench_count_global;
487 extern const struct bench bench_count_local;
488 extern const struct bench bench_rename_bas
[all...]
H A Dbench.h50 struct bench { struct
67 extern const struct bench *bench;
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dbench.c13 #include "bench.h"
105 "USAGE: benchmark <bench-name>\n"
223 argp_help(&argp, stderr, ARGP_HELP_DOC, "bench"); in parse_cmdline_args()
304 const struct bench *bench = NULL; variable
306 extern const struct bench bench_count_global;
307 extern const struct bench bench_count_local;
308 extern const struct bench bench_rename_base;
309 extern const struct bench bench_rename_kprobe;
310 extern const struct bench bench_rename_kretprob
[all...]
H A Dbench.h38 struct bench { struct
54 extern const struct bench *bench;
H A DMakefile83 test_lirc_mode2_user xdping test_cpp runqslower bench
446 $(OUTPUT)/bench_%.o: benchs/bench_%.c bench.h
453 $(OUTPUT)/bench.o: bench.h testing_helpers.h
454 $(OUTPUT)/bench: LDLIBS += -lm
455 $(OUTPUT)/bench: $(OUTPUT)/bench.o $(OUTPUT)/testing_helpers.o \
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Drun_common.sh4 RUN_BENCH="sudo ./bench -w3 -d10 -a"
61 bench="$1"
63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
68 bench="$1"
70 printf "%-20s %s%%\n" "$bench" "$(percentage $summary)"
75 bench="$1"
77 printf "%-20s %s\n" "$bench" "$(ops $summary)"
82 bench="$1"
84 printf "%-20s %s\n" "$bench" "$(local_storage $summary)"
89 bench
[all...]
H A Dbench_trigger.c3 #include "bench.h"
199 const struct bench bench_trig_base = {
208 const struct bench bench_trig_tp = {
218 const struct bench bench_trig_rawtp = {
228 const struct bench bench_trig_kprobe = {
238 const struct bench bench_trig_fentry = {
248 const struct bench bench_trig_fentry_sleep = {
258 const struct bench bench_trig_fmodret = {
268 const struct bench bench_trig_uprobe_base = {
277 const struct bench bench_trig_uprobe_with_no
[all...]
H A Dbench_rename.c4 #include "bench.h"
109 const struct bench bench_rename_base = {
119 const struct bench bench_rename_kprobe = {
129 const struct bench bench_rename_kretprobe = {
139 const struct bench bench_rename_rawtp = {
149 const struct bench bench_rename_fentry = {
159 const struct bench bench_rename_fexit = {
H A Drun_bench_htab_mem.sh20 local bench="$1"
23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
H A Dbench_count.c3 #include "bench.h"
64 const struct bench bench_count_global = {
72 const struct bench bench_count_local = {
H A Dbench_local_storage.c8 #include "bench.h"
251 const struct bench bench_local_storage_cache_seq_get = {
262 const struct bench bench_local_storage_cache_interleaved_get = {
273 const struct bench bench_local_storage_cache_hashmap_control = {
H A Dbench_bloom_filter_map.c7 #include "bench.h"
424 const struct bench bench_bloom_lookup = {
435 const struct bench bench_bloom_update = {
446 const struct bench bench_bloom_false_positive = {
457 const struct bench bench_hashmap_without_bloom = {
468 const struct bench bench_hashmap_with_bloom = {
H A Dbench_strncmp.c4 #include "bench.h"
136 const struct bench bench_strncmp_no_helper = {
147 const struct bench bench_strncmp_helper = {
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
H A Dbench_trigger.c3 #include "bench.h"
110 const struct bench bench_trig_base = {
120 const struct bench bench_trig_tp = {
131 const struct bench bench_trig_rawtp = {
142 const struct bench bench_trig_kprobe = {
153 const struct bench bench_trig_fentry = {
164 const struct bench bench_trig_fentry_sleep = {
175 const struct bench bench_trig_fmodret = {
H A Dbench_rename.c4 #include "bench.h"
114 const struct bench bench_rename_base = {
125 const struct bench bench_rename_kprobe = {
136 const struct bench bench_rename_kretprobe = {
147 const struct bench bench_rename_rawtp = {
158 const struct bench bench_rename_fentry = {
169 const struct bench bench_rename_fexit = {
H A Dbench_count.c3 #include "bench.h"
74 const struct bench bench_count_global = {
83 const struct bench bench_count_local = {
H A Drun_bench_ringbufs.sh5 RUN_BENCH="sudo ./bench -w3 -d10 -a"
28 bench="$1"
30 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
H A Dbench_ringbufs.c10 #include "bench.h"
523 const struct bench bench_rb_libbpf = {
534 const struct bench bench_rb_custom = {
545 const struct bench bench_pb_libbpf = {
556 const struct bench bench_pb_custom = {
/kernel/linux/linux-6.6/tools/perf/bench/
H A Duprobe.c13 #include "bench.h"
40 "perf bench uprobe <options>",
55 fprintf(stderr, "Failed to attach bench uprobe \"%s\": %s\n", #prog, strerror(errno)); \
61 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench) in bench_uprobe__setup_bpf_skel() argument
69 fprintf(stderr, "Failed to open and load uprobes bench BPF skeleton\n"); in bench_uprobe__setup_bpf_skel()
80 switch (bench) { in bench_uprobe__setup_bpf_skel()
85 fprintf(stderr, "Invalid bench: %d\n", bench); in bench_uprobe__setup_bpf_skel()
103 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench __maybe_unused) { return 0; } in bench_uprobe__setup_bpf_skel()
141 static int bench_uprobe(int argc, const char **argv, enum bench_uprobe bench) in bench_uprobe() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dlock_contention.sh40 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1
60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
71 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \
95 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
118 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
140 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result}
172 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result}
200 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
228 perf lock con -a -b -t -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
262 perf lock con -a -b -E 1 -x , --output ${result} -- perf bench sche
[all...]
H A Dstat_bpf_counters.sh33 base_cycles=$(perf stat --no-big-num -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | awk '/cycles/ {print $1}')
38 bpf_cycles=$(perf stat --no-big-num --bpf-counters -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | awk '/cycles/ {print $1}')
/kernel/linux/linux-5.10/tools/power/cpupower/bench/
H A Dcpufreq-bench_script.sh7 # Ondemand up_threshold and sampling rate test script for cpufreq-bench
48 cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
60 command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"sampling_rate = $sampling_rate\""
70 command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"up_threshold = $up_threshold\""
80 command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"up_threshold = $up_threshold - sampling_rate = $sampling_rate\""
/kernel/linux/linux-6.6/tools/power/cpupower/bench/
H A Dcpufreq-bench_script.sh7 # Ondemand up_threshold and sampling rate test script for cpufreq-bench
48 cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
60 command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"sampling_rate = $sampling_rate\""
70 command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"up_threshold = $up_threshold\""
80 command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}/* \"up_threshold = $up_threshold - sampling_rate = $sampling_rate\""

Completed in 13 milliseconds

12