| /tools/include/nolibc/sys/ |
| A D | wait.h | 25 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4() argument 28 return my_syscall4(__NR_wait4, pid, status, options, rusage); in sys_wait4() 30 return __nolibc_enosys(__func__, pid, status, options, rusage); in sys_wait4() 35 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument 37 return __sysret(sys_wait4(pid, status, options, rusage)); in wait4() 43 return my_syscall5(__NR_waitid, which, pid, infop, options, rusage); in sys_waitid() 47 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid() argument 49 return __sysret(sys_waitid(which, pid, infop, options, NULL)); in waitid() 54 pid_t waitpid(pid_t pid, int *status, int options) in waitpid() argument 77 options |= WEXITED; in waitpid() [all …]
|
| /tools/thermal/thermometer/ |
| A D | thermometer.c | 36 struct options { struct 195 static int options_init(int argc, char *argv[], struct options *options) in options_init() argument 212 strftime(options->postfix, sizeof(options->postfix), in options_init() 225 options->config = optarg; in options_init() 246 options->overwrite = 1; in options_init() 357 struct options *options) in thermometer_start() argument 366 if (access(options->output, F_OK) && mkdir(options->output, 0700)) { in thermometer_start() 461 static int thermometer_wait(struct options *options, pid_t pid) in thermometer_wait() argument 471 if (options->duration) { in thermometer_wait() 535 struct options options = { in main() local [all …]
|
| /tools/perf/scripts/python/ |
| A D | arm-cs-trace-disasm.py | 74 if (options.start_time and options.stop_time and 75 options.start_time >= options.stop_time): 78 if (options.start_sample and options.stop_sample and 79 options.start_sample >= options.stop_sample): 131 if (options.vmlinux): 132 return options.vmlinux; 242 global options 265 if (options.start_time and sample["time"] < options.start_time): 267 if (options.stop_time and sample["time"] > options.stop_time): 269 if (options.start_sample and sample_idx < options.start_sample): [all …]
|
| /tools/lib/subcmd/ |
| A D | parse-options.c | 348 for (; options->type != OPTION_END; options++) { in parse_short_opt() 355 if (options->parent) { in parse_short_opt() 356 options = options->parent; in parse_short_opt() 374 for (; options->type != OPTION_END; options++) { in parse_long_opt() 378 if (!options->long_name) in parse_long_opt() 468 if (options->parent) { in parse_long_opt() 469 options = options->parent; in parse_long_opt() 486 for (; options->type != OPTION_END; options++) { in check_typos() 487 if (!options->long_name) in check_typos() 661 if (options->long_name) in parse_options_subcommand() [all …]
|
| /tools/perf/trace/beauty/ |
| A D | waitid_options.c | 10 int printed = 0, options = arg->val; in syscall_arg__scnprintf_waitid_options() local 13 if (options & W##n) { \ in syscall_arg__scnprintf_waitid_options() 15 options &= ~W##n; \ in syscall_arg__scnprintf_waitid_options() 23 if (options) in syscall_arg__scnprintf_waitid_options() 24 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
|
| /tools/thermal/lib/ |
| A D | log.c | 52 int log_init(int level, const char *ident, int options) in log_init() argument 54 if (!options) in log_init() 64 __options = options; in log_init() 66 if (options & TO_SYSLOG) { in log_init() 67 openlog(__ident, options | LOG_NDELAY, LOG_USER); in log_init()
|
| /tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | func-filter-pid.tc | 13 if [ ! -f options/function-fork ]; then 18 if [ ! -f options/funcgraph-proc ]; then 31 orig_value2=`cat options/funcgraph-proc` 32 echo 1 > options/funcgraph-proc 41 echo $orig_value2 > options/funcgraph-proc
|
| A D | fgraph-retval.tc | 22 echo 1 > options/funcgraph-retval 31 echo 0 > options/funcgraph-retval-hex 38 echo 1 > options/funcgraph-retval-hex
|
| /tools/perf/Documentation/ |
| A D | perf-version.txt | 10 'perf version' [--build-options] 14 With no options given, the 'perf version' prints the perf version 17 If the option '--build-options' is given, then the status of 22 --build-options::
|
| A D | perf-kmem.txt | 11 'perf kmem' [<options>] {record|stat} 17 'perf kmem [<options>] record [<perf-record-options>] <command>' to 19 record' options may be specified after record, such as '-o' to 22 'perf kmem [<options>] stat' to report kernel memory statistics. 51 mode selection options - i.e. --slab, --page, --alloc and/or --caller.
|
| /tools/thermal/thermal-engine/ |
| A D | thermal-engine.c | 29 struct options { struct 312 static int options_init(int argc, char *argv[], struct options *options) in options_init() argument 334 options->loglevel = log_str2level(optarg); in options_init() 337 options->daemonize = 1; in options_init() 340 options->logopt = TO_SYSLOG; in options_init() 366 struct options options = { in main() local 371 if (options_init(argc, argv, &options)) { in main() 376 if (options.daemonize && daemon(0, 0)) { in main() 381 if (log_init(options.loglevel, basename(argv[0]), options.logopt)) { in main()
|
| /tools/perf/ |
| A D | builtin-evlist.c | 75 const struct option options[] = { in cmd_evlist() local 91 argc = parse_options(argc, argv, options, evlist_usage, 0); in cmd_evlist() 93 usage_with_options(evlist_usage, options); in cmd_evlist() 96 usage_with_options_msg(evlist_usage, options, in cmd_evlist()
|
| A D | builtin-probe.c | 531 struct option options[] = { in __cmd_probe() local 611 set_option_flag(options, 'a', "add", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 612 set_option_flag(options, 'd', "del", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 631 argc = parse_options(argc, argv, options, probe_usage, in __cmd_probe() 644 usage_with_options_msg(probe_usage, options, in __cmd_probe() 648 usage_with_options_msg(probe_usage, options, in __cmd_probe() 683 parse_options_usage(probe_usage, options, "l", true); in __cmd_probe() 684 parse_options_usage(NULL, options, "x", true); in __cmd_probe() 733 parse_options_usage(probe_usage, options, "m", true); in __cmd_probe() 734 parse_options_usage(NULL, options, "x", true); in __cmd_probe() [all …]
|
| A D | builtin-kallsyms.c | 63 const struct option options[] = { in cmd_kallsyms() local 72 argc = parse_options(argc, argv, options, kallsyms_usage, 0); in cmd_kallsyms() 74 usage_with_options(kallsyms_usage, options); in cmd_kallsyms()
|
| /tools/testing/selftests/ftrace/test.d/event/ |
| A D | event-pid.tc | 10 echo 0 > options/event-fork 20 echo 0 > options/event-fork 49 echo 1 > options/event-fork
|
| A D | event-no-pid.tc | 11 echo 0 > options/event-fork 64 echo 0 > options/event-fork 92 echo 1 > options/event-fork
|
| /tools/testing/selftests/bpf/ |
| A D | test_sockmap.c | 1355 err = forever_ping_pong(options->rate, options); in run_options() 1357 options->base = false; in run_options() 1361 options->base = false; in run_options() 1365 options->base = true; in run_options() 1369 options->base = true; in run_options() 1483 test_options(options); in __test_exec() 1497 free(options); in __test_exec() 2155 options.verbose = 1; in main() 2230 options.rate = rate; in main() 2234 if (options.whitelist) in main() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | parse_tcp_hdr_opt.c | 12 u8 options[16]; member 22 .options = { 47 pkt.options[6] = skel->rodata->tcp_hdr_opt_kind_tpr; in test_parse_opt() 77 pkt.options[6] = skel->rodata->tcp_hdr_opt_kind_tpr; in test_parse_opt_dynptr()
|
| /tools/kvm/kvm_stat/ |
| A D | kvm_stat | 952 providers.append(DebugfsProvider(options.pid, options.fields, 955 providers.append(TracepointProvider(options.pid, options.fields)) 1788 if options.csv and not (options.log or options.log_to_file): 1790 if options.skip_zero_records and not (options.log or options.log_to_file): 1799 return options 1802 def check_access(options): 1818 return options 1849 options = check_access(options) 1861 stats = Stats(options) 1871 if options.log or options.log_to_file: [all …]
|
| /tools/testing/selftests/powerpc/benchmarks/ |
| A D | mmap_bench.c | 23 static struct option options[] = { variable 66 c = getopt_long(argc, argv, "", options, &option_index); in main() 73 if (options[option_index].flag != 0) in main()
|
| /tools/perf/tests/shell/lib/ |
| A D | attr.py | 148 def __init__(self, path, options): argument 155 self.test_dir = options.test_dir 156 self.perf = options.perf 399 def run_tests(options): argument 400 for f in glob.glob(options.test_dir + '/' + options.test): 402 Test(f, options).run() 451 setup_log(options.verbose) 453 if not options.test_dir: 457 if not options.test: 458 options.test = 'test*' [all …]
|
| /tools/perf/bench/ |
| A D | kallsyms-parse.c | 16 static const struct option options[] = { variable 68 argc = parse_options(argc, argv, options, bench_usage, 0); in bench_kallsyms_parse() 70 usage_with_options(bench_usage, options); in bench_kallsyms_parse()
|
| /tools/hv/ |
| A D | lsvmbus | 12 (options, args) = parser.parse_args() 15 if options.verbose is not None: 16 verbose = options.verbose
|
| /tools/testing/selftests/net/netfilter/packetdrill/ |
| A D | conntrack_synack_old.pkt | 4 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa… 6 … > 10.176.25.8.829: Flags [S.], seq 145824453, ack 643160523, win 65535, options [mss 8952,nop,wsc… 8 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [R.], seq 1, ack 1, win 65535, options [mss 8952,nop… 10 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa… 13 …> 10.176.25.8.829: Flags [S.], seq 162602410, ack 2375731742, win 65535, options [mss 8952,nop,wsc…
|
| /tools/testing/selftests/cgroup/lib/ |
| A D | cgroup_util.c | 226 char *fs, *mount, *type, *options; in cg_find_root() local 239 options = strtok(NULL, delim); in cg_find_root() 243 if (!controller || !strstr(options, controller)) in cg_find_root() 255 *nsdelegate = !!strstr(options, "nsdelegate"); in cg_find_root() 422 int clone_reap(pid_t pid, int options) in clone_reap() argument 430 ret = waitid(P_PID, pid, &info, options | __WALL | __WNOTHREAD); in clone_reap() 437 if (options & WEXITED) { in clone_reap() 442 if (options & WSTOPPED) { in clone_reap() 447 if (options & WCONTINUED) { in clone_reap()
|