/linux/tools/perf/bench/ |
H A D | Build | 1 perf-bench-y += sched-messaging.o 2 perf-bench-y += sched-pipe.o 3 perf-bench-y += sched-seccomp-notify.o 4 perf-bench-y += syscall.o 5 perf-bench-y += mem-functions.o 6 perf-bench-y += futex-hash.o 7 perf-bench-y += futex-wake.o 8 perf-bench-y += futex-wake-parallel.o 9 perf-bench-y += futex-requeue.o 10 perf-bench-y += futex-lock-pi.o [all …]
|
H A D | uprobe.c | 13 #include "bench.h" 42 "perf bench uprobe <options>", 57 fprintf(stderr, "Failed to attach bench uprobe \"%s\": %s\n", #prog, strerror(errno)); \ 63 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench) in bench_uprobe__setup_bpf_skel() 71 fprintf(stderr, "Failed to open and load uprobes bench BPF skeleton\n"); in bench_uprobe__setup_bpf_skel() 82 switch (bench) { in bench_uprobe__setup_bpf_skel() 89 fprintf(stderr, "Invalid bench: %d\n", bench); in bench_uprobe__setup_bpf_skel() 108 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench __maybe_unused) { return 0; } in bench_uprobe_format__default_fprintf() 146 static int bench_uprobe(int argc, const char **argv, enum bench_uprobe bench) in bench_uprobe() 61 bench_uprobe__setup_bpf_skel(enum bench_uprobe bench) bench_uprobe__setup_bpf_skel() argument 142 bench_uprobe(int argc,const char ** argv,enum bench_uprobe bench) bench_uprobe() argument [all...] |
/linux/tools/perf/ |
H A D | builtin-bench.c | 3 * builtin-bench.c 22 #include "bench/bench.h" 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_benchmark 36 fnbench global() argument 144 for_each_bench(coll,bench) global() argument 149 struct bench *bench; dump_benchmarks() local 236 struct bench *bench; run_collection() local 306 struct bench *bench; cmd_bench() local [all...] |
H A D | Build | 1 perf-bench-y += builtin-bench.o 39 perf-bench-y += bench/
|
/linux/tools/testing/selftests/bpf/ |
H A D | bench.c | 402 if (bench->argp) { in parse_cmdline_args_final() 403 bench_parsers[0].argp = bench->argp; in parse_cmdline_args_final() 404 bench_parsers[0].header = bench->name; in parse_cmdline_args_final() 489 const struct bench *bench = NULL; variable 491 extern const struct bench bench_count_global; 492 extern const struct bench bench_count_local; 493 extern const struct bench bench_rename_base; 494 extern const struct bench bench_rename_kprobe; 495 extern const struct bench bench_rename_kretprobe; 496 extern const struct bench bench_rename_rawtp; [all …]
|
H A D | bench.h | 51 struct bench { struct 68 extern const struct bench *bench; argument
|
/linux/tools/testing/selftests/bpf/benchs/ |
H 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)"
|
H A 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 = {
|
H A D | run_bench_htab_mem.sh | 20 local bench="$1" 23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
|
H A 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 = {
|
H A D | bench_count.c | 64 const struct bench bench_count_global = { 72 const struct bench bench_count_local = {
|
H A 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 = {
|
H A D | bench_strncmp.c | 136 const struct bench bench_strncmp_no_helper = { 147 const struct bench bench_strncmp_helper = {
|
H 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 = {
|
H A D | bench_bpf_crypto.c | 165 const struct bench bench_crypto_encrypt = { 176 const struct bench bench_crypto_decrypt = {
|
H 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
|
H A D | bench_trigger.c | 451 const struct bench bench_trig_syscall_count = { 463 const struct bench bench_trig_##KIND = { \ 486 const struct bench bench_trig_##KIND = { \
|
H A D | run_bench_rename.sh | 7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
H A D | run_bench_uprobes.sh | 7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
H A D | run_bench_trigger.sh | 21 summary=$(sudo ./bench -w2 -d5 -a -p$p trig-$t | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
/linux/tools/perf/Documentation/ |
H 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 104 % perf bench sched messaging # run with default 110 % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups 139 % perf bench sched pipe 146 % perf bench sched pipe -l 1000 # loop 1000 [all …]
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | Makefile | 2 TEST_BOTH_AF := bench-lookups 56 $(OUTPUT)/bench-lookups_ipv4: LDLIBS+= -lm 57 $(OUTPUT)/bench-lookups_ipv6: LDLIBS+= -lm
|
/linux/tools/power/cpupower/bench/ |
H A D | cpufreq-bench_script.sh | 48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
|
H 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
|
H A D | example.cfg | 5 output = /var/log/cpufreq-bench
|