/linux-6.3-rc2/tools/perf/ |
A D | builtin-bench.c | 32 struct bench { struct 107 struct bench *benchmarks; 133 for (bench = coll->benchmarks; bench && bench->name; bench++) 137 struct bench *bench; in dump_benchmarks() local 142 printf("%14s: %s\n", bench->name, bench->summary); in dump_benchmarks() 224 struct bench *bench; in run_collection() local 236 if (!bench->fn) in run_collection() 240 argv[1] = bench->name; in run_collection() 241 run_bench(coll->name, bench->name, bench->fn, 1, argv); in run_collection() 293 struct bench *bench; in cmd_bench() local [all …]
|
A D | Build | 1 perf-y += builtin-bench.o 38 perf-y += bench/
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | bench.c | 393 if (bench->argp) { in parse_cmdline_args_final() 478 const struct bench *bench = NULL; variable 570 bench = benchs[i]; in find_benchmark() 574 if (!bench) { in find_benchmark() 594 if (bench->validate) in setup_benchmark() 595 bench->validate(); in setup_benchmark() 596 if (bench->setup) in setup_benchmark() 597 bench->setup(); in setup_benchmark() 642 bench->measure(res); in collect_measurements() 644 if (bench->report_progress) in collect_measurements() [all …]
|
A D | bench.h | 49 struct bench { struct 66 extern const struct bench *bench; argument
|
/linux-6.3-rc2/tools/testing/selftests/bpf/benchs/ |
A D | run_common.sh | 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="$1" 91 printf "%-20s %s\n" "$bench" "$(total $summary)"
|
A D | bench_trigger.c | 204 const struct bench bench_trig_base = { 214 const struct bench bench_trig_tp = { 225 const struct bench bench_trig_rawtp = { 236 const struct bench bench_trig_kprobe = { 247 const struct bench bench_trig_fentry = { 258 const struct bench bench_trig_fentry_sleep = { 269 const struct bench bench_trig_fmodret = { 280 const struct bench bench_trig_uprobe_base = { 290 const struct bench bench_trig_uprobe_with_nop = { 300 const struct bench bench_trig_uretprobe_with_nop = { [all …]
|
A D | bench_rename.c | 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 = {
|
A D | bench_count.c | 74 const struct bench bench_count_global = { 83 const struct bench bench_count_local = {
|
A D | bench_bloom_filter_map.c | 429 const struct bench bench_bloom_lookup = { 441 const struct bench bench_bloom_update = { 453 const struct bench bench_bloom_false_positive = { 465 const struct bench bench_hashmap_without_bloom = { 477 const struct bench bench_hashmap_with_bloom = {
|
A D | bench_local_storage.c | 256 const struct bench bench_local_storage_cache_seq_get = { 268 const struct bench bench_local_storage_cache_interleaved_get = { 280 const struct bench bench_local_storage_cache_hashmap_control = {
|
A D | bench_strncmp.c | 141 const struct bench bench_strncmp_no_helper = { 153 const struct bench bench_strncmp_helper = {
|
A D | run_bench_local_storage_rcu_tasks_trace.sh | 11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
|
A D | bench_ringbufs.c | 519 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 = {
|
A D | run_bench_trigger.sh | 7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
A D | run_bench_rename.sh | 7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
/linux-6.3-rc2/tools/perf/tests/shell/ |
A D | lock_contention.sh | 40 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…
|
A D | stat_bpf_counters.sh | 33 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 …
|
A D | stat_all_pmu.sh | 14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
|
/linux-6.3-rc2/tools/io_uring/ |
A D | Makefile | 6 all: io_uring-cp io_uring-bench 10 io_uring-bench: syscall.o io_uring-bench.o 16 $(RM) io_uring-cp io_uring-bench *.o
|
A D | README | 12 io_uring-bench 17 io_uring-bench should operate on. This uses the raw io_uring
|
/linux-6.3-rc2/tools/perf/Documentation/ |
A D | perf-bench.txt | 1 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 101 % perf bench sched messaging # run with default 107 % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups 128 % perf bench sched pipe 135 % perf bench sched pipe -l 1000 # loop 1000
|
/linux-6.3-rc2/tools/power/cpupower/ |
A D | .gitignore | 22 bench/cpufreq-bench
|
/linux-6.3-rc2/tools/power/cpupower/bench/ |
A D | cpufreq-bench_script.sh | 48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
|
A D | README-BENCH | 1 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
|
A D | example.cfg | 5 output = /var/log/cpufreq-bench
|