Lines Matching +full:- +full:- +full:disable +full:- +full:seccomp
1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-bench.c
20 #include <subcmd/parse-options.h>
50 { "seccomp-notify", "Benchmark for seccomp user notify", bench_sched_seccomp_notify},
75 { "wake-parallel", "Benchmark for parallel futex wake calls", bench_futex_wake_parallel },
77 /* pi-futexes */
78 { "lock-pi", "Benchmark for futex lock_pi calls", bench_futex_lock_pi },
94 { "kallsyms-parse", "Benchmark kallsyms parsing", bench_kallsyms_parse },
95 { "inject-build-id", "Benchmark build-id injection", bench_inject_build_id },
96 { "evlist-open-close", "Benchmark evlist open and close", bench_evlist_open_close },
97 { "pmu-scan", "Benchmark sysfs PMU info scanning", bench_pmu_scan },
103 { "enable", "Benchmark breakpoint enable/disable", bench_breakpoint_enable},
132 { "internals", "Perf-internals benchmarks", internals_benchmarks },
141 for (coll = collections; coll->name; coll++)
145 for (bench = coll->benchmarks; bench && bench->name; bench++)
151 printf("\n # List of available benchmarks for collection '%s':\n\n", coll->name); in dump_benchmarks()
154 printf("%14s: %s\n", bench->name, bench->summary); in dump_benchmarks()
189 printf("%14s: %s\n", coll->name, coll->summary); in print_usage()
207 * Run a specific benchmark but first rename the running task's ->comm[]
222 scnprintf(name, size, "%s-%s", coll_name, bench_name); in run_bench()
248 if (!bench->fn) in run_collection()
250 printf("# Running %s/%s benchmark...\n", coll->name, bench->name); in run_collection()
252 argv[1] = bench->name; in run_collection()
253 run_bench(coll->name, bench->name, bench->fn, 1, argv); in run_collection()
308 if (strcmp(coll->name, argv[0])) in cmd_bench()
323 if (strcmp(bench->name, argv[1])) in cmd_bench()
327 printf("# Running '%s/%s' benchmark:\n", coll->name, bench->name); in cmd_bench()
328 ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1); in cmd_bench()
332 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in cmd_bench()