/Linux-v6.6/tools/perf/ |
D | builtin-bench.c | 33 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 …]
|
D | Build | 1 perf-y += builtin-bench.o 38 perf-y += bench/
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | bench.c | 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_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 …]
|
D | bench.h | 50 struct bench { struct 67 extern const struct bench *bench; argument
|
/Linux-v6.6/tools/testing/selftests/bpf/benchs/ |
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)"
|
D | bench_trigger.c | 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_nop = { 286 const struct bench bench_trig_uretprobe_with_nop = { [all …]
|
D | bench_rename.c | 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 = {
|
D | run_bench_htab_mem.sh | 20 local bench="$1" 23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
|
D | bench_count.c | 64 const struct bench bench_count_global = { 72 const struct bench bench_count_local = {
|
D | bench_bloom_filter_map.c | 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 = {
|
D | bench_local_storage.c | 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 = {
|
D | bench_strncmp.c | 136 const struct bench bench_strncmp_no_helper = { 147 const struct bench bench_strncmp_helper = {
|
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 = {
|
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
|
D | run_bench_rename.sh | 7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
D | run_bench_trigger.sh | 7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
/Linux-v6.6/tools/perf/tests/shell/ |
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… 262 perf lock con -a -b -E 1 -x , --output ${result} -- perf bench sched messaging > /dev/null 2>&1
|
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 …
|
D | stat_all_pmu.sh | 14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
|
/Linux-v6.6/tools/perf/bench/ |
D | uprobe.c | 61 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/ |
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 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 | .gitignore | 22 bench/cpufreq-bench
|
/Linux-v6.6/tools/power/cpupower/bench/ |
D | cpufreq-bench_script.sh | 48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
|
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
|
D | example.cfg | 5 output = /var/log/cpufreq-bench
|