Home
last modified time | relevance | path

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

123

/linux/tools/perf/bench/
H A DBuild1 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 Duprobe.c13 #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 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[] = {
73 static struct bench futex_benchmarks[] = {
85 static struct bench epoll_benchmarks[] = {
93 static struct bench internals_benchmarks[] = {
102 static struct bench breakpoint_benchmarks[] = {
109 static struct bench uprobe_benchmarks[] = {
[all …]
H A DBuild1 perf-bench-y += builtin-bench.o
39 perf-bench-y += bench/
/linux/tools/testing/selftests/bpf/
H A Dbench.c12 #include "bench.h"
246 "USAGE: benchmark <bench-name>\n"
406 if (bench->argp) { in parse_cmdline_args_final()
407 bench_parsers[0].argp = bench->argp; in parse_cmdline_args_final()
408 bench_parsers[0].header = bench->name; in parse_cmdline_args_final()
493 const struct bench *bench = NULL;
495 extern const struct bench bench_count_global;
496 extern const struct bench bench_count_local;
497 extern const struct bench bench_rename_bas
489 const struct bench *bench = NULL; global() variable
[all...]
H A Dbench.h52 struct bench {
69 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/testing/selftests/bpf/benchs/
H A 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)"
H A 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 = {
H A Drun_bench_htab_mem.sh20 local bench="$1"
23 printf "%-20s %s\n" "$bench" "$(htab_mem $summary)"
H A 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 = {
H A Dbench_count.c64 const struct bench bench_count_global = {
72 const struct bench bench_count_local = {
H A 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 = {
H A Dbench_strncmp.c136 const struct bench bench_strncmp_no_helper = {
147 const struct bench bench_strncmp_helper = {
H A Dbench_ringbufs.c10 #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 Dbench_bpf_crypto.c165 const struct bench bench_crypto_encrypt = {
176 const struct bench bench_crypto_decrypt = {
H A Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
H A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux/tools/perf/tests/shell/
H A Dlock_contention.sh53 perf lock record -o ${perfdata} -- perf bench sched messaging -p > /dev/null 2>&1
73 perf lock con -a -b -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
84 perf lock record -o- -- perf bench sched messaging -p 2> ${errout} | \
110 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
133 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
151 perf lock con -a -b --lock-cgroup -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
173 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging -p > /dev/null 2> ${result}
205 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging -p > /dev/null 2> ${result}
233 …perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${resul…
261 …perf lock con -a -b -t -S unix_stream -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${re…
[all …]
H A Dtest_brstack.sh109 perf bench syscall basic --loop 1000
172 perf bench syscall basic --loop 1000
/linux/tools/perf/Documentation/
H A 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
139 % perf bench sched pipe
146 % perf bench sched pipe -l 1000 # loop 1000
[all …]
/linux/tools/testing/selftests/net/tcp_ao/
H A DMakefile2 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 Dcpufreq-bench_script.sh48 …cpufreq-bench -o /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_rate}
H A 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
H A Dexample.cfg5 output = /var/log/cpufreq-bench
/linux/Documentation/admin-guide/
H A Dworkload-tracing.rst100 As mentioned earlier, we used strace to trace perf bench, stress-ng and
106 perf bench (all) workload
109 The perf bench command contains multiple multi-threaded microkernel
227 We used "perf stat" and "perf bench" options. For a detailed information on
237 Perf bench
239 The perf bench command contains multiple multi-threaded microkernel
246 "perf bench all" command runs the following benchmarks:
317 Tracing perf bench all workload
320 Run the following command to trace perf bench all workload::
322 strace -c perf bench all

123