Home
last modified time | relevance | path

Searched refs:bench (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v6.6/tools/perf/
Dbuiltin-bench.c33 struct bench { struct
40 static struct bench numa_benchmarks[] = { argument
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_benchmarks[] = {
92 static struct bench internals_benchmarks[] = {
101 static struct bench breakpoint_benchmarks[] = {
108 static struct bench uprobe_benchmarks[] = {
[all …]
DBuild1 perf-y += builtin-bench.o
38 perf-y += bench/
/Linux-v6.6/tools/testing/selftests/bpf/
Dbench.c397 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_base;
489 extern const struct bench bench_rename_kprobe;
490 extern const struct bench bench_rename_kretprobe;
491 extern const struct bench bench_rename_rawtp;
[all …]
Dbench.h50 struct bench { struct
67 extern const struct bench *bench; argument
/Linux-v6.6/tools/testing/selftests/bpf/benchs/
Drun_common.sh61 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="$1"
91 printf "%-20s %s\n" "$bench" "$(total $summary)"
Dbench_trigger.c199 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_nop = {
286 const struct bench bench_trig_uretprobe_with_nop = {
[all …]
Dbench_rename.c109 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 = {
Drun_bench_htab_mem.sh20 local bench="$1"
23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
Dbench_count.c64 const struct bench bench_count_global = {
72 const struct bench bench_count_local = {
Dbench_bloom_filter_map.c424 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 = {
Dbench_local_storage.c251 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 = {
Dbench_strncmp.c136 const struct bench bench_strncmp_no_helper = {
147 const struct bench bench_strncmp_helper = {
Dbench_ringbufs.c519 const struct bench bench_rb_libbpf = {
531 const struct bench bench_rb_custom = {
543 const struct bench bench_pb_libbpf = {
555 const struct bench bench_pb_custom = {
Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
Drun_bench_trigger.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/Linux-v6.6/tools/perf/tests/shell/
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> ${resul…
262 perf lock con -a -b -E 1 -x , --output ${result} -- perf bench sched messaging > /dev/null 2>&1
Dstat_bpf_counters.sh33 base_cycles=$(perf stat --no-big-num -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | …
38 bpf_cycles=$(perf stat --no-big-num --bpf-counters -e cycles -- perf bench sched messaging -g 1 -l …
Dstat_all_pmu.sh14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
/Linux-v6.6/tools/perf/bench/
Duprobe.c61 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench) in bench_uprobe__setup_bpf_skel() argument
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
150 if (bench != BENCH_UPROBE__BASELINE && bench_uprobe__setup_bpf_skel(bench) < 0) in bench_uprobe()
179 if (bench != BENCH_UPROBE__BASELINE) in bench_uprobe()
/Linux-v6.6/tools/perf/Documentation/
Dperf-bench.txt1 perf-bench(1)
6 perf-bench - General framework for benchmark suites
11 'perf bench' [<common options>] <subsystem> <suite> [<options>]
15 This 'perf bench' command is a general framework for benchmark suites.
31 % perf bench sched pipe # with no style specified
42 % perf bench --format=simple sched pipe # specified simple
104 % perf bench sched messaging # run with default
110 % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups
131 % perf bench sched pipe
138 % perf bench sched pipe -l 1000 # loop 1000
/Linux-v6.6/tools/power/cpupower/
D.gitignore22 bench/cpufreq-bench
/Linux-v6.6/tools/power/cpupower/bench/
Dcpufreq-bench_script.sh48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
DREADME-BENCH1 This is cpufreq-bench, a microbenchmark for the cpufreq framework.
27 cpufreq-bench helps to test the condition of a given cpufreq governor.
80 trigger of the cpufreq-bench, you will see no performance loss (compare with
107 cpufreq-bench Command Usage
Dexample.cfg5 output = /var/log/cpufreq-bench

12