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

12

/linux-master/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 Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
H A Drun_bench_htab_mem.sh20 local bench="$1"
23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
H A Dbench_trigger.c3 #include "bench.h"
249 const struct bench bench_trig_base = {
258 const struct bench bench_trig_tp = {
268 const struct bench bench_trig_rawtp = {
278 const struct bench bench_trig_kprobe = {
288 const struct bench bench_trig_kretprobe = {
298 const struct bench bench_trig_kprobe_multi = {
308 const struct bench bench_trig_kretprobe_multi = {
318 const struct bench bench_trig_fentry = {
328 const struct bench bench_trig_fexi
[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_trigger.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
H A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
H A Drun_bench_uprobes.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
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_strncmp.c4 #include "bench.h"
136 const struct bench bench_strncmp_no_helper = {
147 const struct bench bench_strncmp_helper = {
H A Dbench_bpf_loop.c5 #include "bench.h"
91 const struct bench bench_bpf_loop = {
H A Dbench_bpf_hashmap_full_update.c4 #include "bench.h"
81 const struct bench bench_bpf_hashmap_full_update = {
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 = {
/linux-master/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; local
236 struct bench *bench; local
306 struct bench *bench; local
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dbench.c12 #include "bench.h"
245 "USAGE: benchmark <bench-name>\n"
397 if (bench->argp) {
398 bench_parsers[0].argp = bench->argp;
399 bench_parsers[0].header = bench->name;
484 const struct bench *bench = NULL; variable in typeref:struct:bench
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;
/linux-master/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) argument
69 fprintf(stderr, "Failed to open and load uprobes bench BPF skeleton\n");
80 switch (bench) {
85 fprintf(stderr, "Invalid bench: %d\n", bench);
104 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench __maybe_unused) { return 0; }
142 static int bench_uprobe(int argc, const char **argv, enum bench_uprobe bench) argument
[all...]
/linux-master/tools/perf/tests/shell/
H A Dstat_all_pmu.sh14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
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}')
H A Dlock_contention.sh47 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1
67 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
78 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \
102 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
125 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
143 perf lock con -a -b -g -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
165 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result}
197 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result}
225 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
253 perf lock con -a -b -t -S unix_stream -E 1 -q -- perf bench sche
[all...]
H A Dstat_all_metrics.sh21 result=$(perf stat -M "$m" perf bench internals synthesize 2>&1)
H A Dstat_all_pfm.sh35 result=$(perf stat --pfm-events "$p" perf bench internals synthesize 2>&1)
H A Drecord_offcpu.sh66 # perf bench sched messaging creates 400 processes
68 perf bench sched messaging -g 10 > /dev/null 2>&1
/linux-master/tools/testing/selftests/net/tcp_ao/
H A DMakefile2 TEST_BOTH_AF := bench-lookups
55 $(OUTPUT)/bench-lookups_ipv4: LDLIBS+= -lm
56 $(OUTPUT)/bench-lookups_ipv6: LDLIBS+= -lm
/linux-master/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 390 milliseconds

12