| /linux/tools/testing/selftests/bpf/ |
| H A D | bench.c | 414 if (bench->argp) { in parse_cmdline_args_final() 415 bench_parsers[0].argp = bench->argp; in parse_cmdline_args_final() 416 bench_parsers[0].header = bench->name; in parse_cmdline_args_final() 501 const struct bench *bench = NULL; variable 503 extern const struct bench bench_count_global; 504 extern const struct bench bench_count_local; 505 extern const struct bench bench_rename_base; 506 extern const struct bench bench_rename_kprobe; 507 extern const struct bench bench_rename_kretprobe; 508 extern const struct bench bench_rename_rawtp; [all …]
|
| H A D | bench.h | 53 struct bench { 70 extern const struct bench *bench; 51 struct bench { global() struct 58 measurebench global() argument 59 report_progressbench global() argument 60 report_finalbench global() argument 68 consumer_threadbench global() argument
|
| /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.o 7 perf-bench-y += futex-hash.o 8 perf-bench-y += futex-wake.o 9 perf-bench-y += futex-wake-parallel.o 10 perf-bench [all...] |
| H A D | uprobe.c | 13 #include "bench.h" 42 "perf bench uprobe <options>", 47 #include "bench/bpf_skel/bench_uprobe.skel.h" 57 fprintf(stderr, "Failed to attach bench uprobe \"%s\": %m\n", #prog); \ 63 static int bench_uprobe__setup_bpf_skel(enum bench_uprobe bench) in bench_uprobe__setup_bpf_skel() argument 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_unuse 146 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 const struct bench numa_benchmarks[] = { argument 47 static const struct bench sched_benchmarks[] = { 55 static const struct bench syscall_benchmarks[] = { 64 static const struct bench mem_benchmarks[] = { 73 static const struct bench futex_benchmarks[] = { 85 static const struct bench epoll_benchmark 36 fnbench global() argument 147 for_each_bench(coll,bench) global() argument 152 struct bench *bench; dump_benchmarks() local 239 struct bench *bench; run_collection() local 309 struct bench *bench; cmd_bench() local [all...] |
| H A D | Build | 1 perf-bench-y += builtin-bench.o 41 perf-bench-y += bench/
|
| /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_count.c | 64 const struct bench bench_count_global = { 72 const struct bench bench_count_local = {
|
| 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_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 | 10 #include "bench.h" 53 { "rb-bench-producer", ARG_RB_BENCH_PRODUCER, NULL, 0, "Benchmark producer"}, in parse_arg() 113 fprintf(stderr, "--rb-bench-producer only works with rb-libbpf!\n"); in bufs_sample_producer() 118 fprintf(stderr, "overwrite mode only works with --rb-bench-producer for now!\n"); in bufs_sample_producer() 123 fprintf(stderr, "no consumer is needed for --rb-bench-producer!\n"); 128 fprintf(stderr, "back-to-back mode makes no sense for --rb-bench-producer!\n"); in ringbuf_libbpf_measure() 133 fprintf(stderr, "sampling mode makes no sense for --rb-bench-producer!\n"); in ringbuf_libbpf_measure() 138 fprintf(stderr, "benchmarks without --rb-bench-producer require exactly one consumer!\n"); in ringbuf_setup_skeleton() 572 const struct bench bench_rb_libbpf = { 584 const struct bench bench_rb_custo [all...] |
| 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
|
| /linux/tools/perf/tests/shell/ |
| H A D | lock_contention.sh | 15 msg_workload="perf bench sched messaging -g 1 -p" 217 perf lock con -b -L mmap_lock -q -- perf bench mem mmap -t 2 -l 10 > /dev/null 2> ${result}
|
| H A D | test_brstack.sh | 151 perf bench syscall basic --loop $loops > "$TMPDIR/record.txt" 2>&1 231 perf bench syscall basic --loop $loops > "$TMPDIR/record.txt" 2>&1
|
| /linux/rust/zerocopy/src/util/ |
| H A D | macros.rs | 905 (format = $format:expr, bench = $bench:expr) => { 907 name = $bench, 920 #[doc = include_str!(concat!("../benches/", $bench, ".rs"))] 928 #[doc = include_str!(concat!("../benches/", $bench, ".x86-64"))] 935 #[doc = include_str!(concat!("../benches/", $bench, ".x86-64.mca"))] 946 bench = $bench:expr, 957 name = $bench, 965 bench = concat!($bench, "_", $variant) 994 bench = $bench:expr, 1008 bench = $bench:expr, [all …]
|
| /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 sche [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
|
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 1855 bench = "try_ref_from_bytes", 1978 bench = "try_ref_from_prefix", 2088 bench = "try_ref_from_suffix", 2501 bench = "try_ref_from_bytes_with_elems", 2622 bench = "try_ref_from_prefix_with_elems", 2730 bench = "try_ref_from_suffix_with_elems", 3116 bench = "try_read_from_bytes", 3194 bench = "try_read_from_prefix", 3273 bench = "try_read_from_suffix", 3514 bench = "zero", [all …]
|
| H A D | split_at.rs | 81 bench = "split_at_unchecked", 143 bench = "split_at", 352 bench = "split_via_immutable", 537 bench = "split_via_runtime_check", 574 bench = "split_via_unchecked",
|