/tools/lib/subcmd/ |
D | parse-options.c | 342 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument 345 for (; options->type != OPTION_END; options++) { in parse_short_opt() 346 if (options->short_name == *p->opt) { in parse_short_opt() 348 return get_value(p, options, OPT_SHORT); in parse_short_opt() 352 if (options->parent) { in parse_short_opt() 353 options = options->parent; in parse_short_opt() 361 const struct option *options) in parse_long_opt() argument 371 for (; options->type != OPTION_END; options++) { in parse_long_opt() 375 if (!options->long_name) in parse_long_opt() 378 rest = skip_prefix(arg, options->long_name); in parse_long_opt() [all …]
|
/tools/perf/trace/beauty/ |
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/perf/Documentation/ |
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::
|
D | perf-mem.txt | 11 'perf mem' [<options>] (record [<command>] | report) 16 from it, into perf.data. Perf record options are accepted and are passed through. 19 right set of options to display a memory access profile. By default, loads 87 In addition, for report all perf report options are valid, and for record 88 all perf record options.
|
D | perf-data.txt | 11 'perf data' [<common options>] <command> [<options>]",
|
D | perf-help.txt | 15 With no options and no COMMAND given, the synopsis of the 'perf' 24 can be overridden by other options or configuration variables.
|
/tools/perf/ |
D | builtin-evlist.c | 53 const struct option options[] = { in cmd_evlist() local 69 argc = parse_options(argc, argv, options, evlist_usage, 0); in cmd_evlist() 71 usage_with_options(evlist_usage, options); in cmd_evlist() 74 usage_with_options_msg(evlist_usage, options, in cmd_evlist()
|
D | builtin-probe.c | 505 struct option options[] = { in __cmd_probe() local 583 set_option_flag(options, 'a', "add", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 584 set_option_flag(options, 'd', "del", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 585 set_option_flag(options, 'D', "definition", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 586 set_option_flag(options, 'l', "list", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 588 set_option_flag(options, 'L', "line", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 589 set_option_flag(options, 'V', "vars", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 591 # define set_nobuild(s, l, c) set_option_nobuild(options, s, l, "NO_DWARF=1", c) in __cmd_probe() 601 set_option_flag(options, 'F', "funcs", PARSE_OPT_EXCLUSIVE); in __cmd_probe() 603 argc = parse_options(argc, argv, options, probe_usage, in __cmd_probe() [all …]
|
D | builtin-kallsyms.c | 50 const struct option options[] = { in cmd_kallsyms() local 59 argc = parse_options(argc, argv, options, kallsyms_usage, 0); in cmd_kallsyms() 61 usage_with_options(kallsyms_usage, options); in cmd_kallsyms()
|
D | builtin-data.c | 63 const struct option options[] = { in cmd_data_convert() local 79 argc = parse_options(argc, argv, options, in cmd_data_convert() 82 usage_with_options(data_convert_usage, options); in cmd_data_convert()
|
D | builtin-buildid-list.c | 98 const struct option options[] = { in cmd_buildid_list() local 111 argc = parse_options(argc, argv, options, buildid_list_usage, 0); in cmd_buildid_list()
|
/tools/perf/tests/ |
D | attr.py | 141 def __init__(self, path, options): argument 148 self.test_dir = options.test_dir 149 self.perf = options.perf 326 def run_tests(options): argument 327 for f in glob.glob(options.test_dir + '/' + options.test): 329 Test(f, options).run() 373 options, args = parser.parse_args() 378 setup_log(options.verbose) 380 if not options.test_dir: 384 if not options.test: [all …]
|
/tools/lib/traceevent/ |
D | event-plugin.c | 25 struct tep_plugin_option *options; member 108 for (op = reg->options; op->name; op++) { in tep_plugin_list_options() 213 struct tep_plugin_option *options) in tep_plugin_add_options() argument 221 reg->options = options; in tep_plugin_add_options() 224 while (options->name) { in tep_plugin_add_options() 225 update_option(name, options); in tep_plugin_add_options() 226 options++; in tep_plugin_add_options() 235 void tep_plugin_remove_options(struct tep_plugin_option *options) in tep_plugin_remove_options() argument 241 if ((*last)->options == options) { in tep_plugin_remove_options()
|
/tools/testing/selftests/ftrace/test.d/event/ |
D | event-pid.tc | 9 echo 0 > options/event-fork 29 echo 0 > options/event-fork 58 echo 1 > options/event-fork
|
/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 798 static int run_options(struct sockmap_options *options, int cg_fd, int test) in run_options() argument 833 err = sockmap_init_sockets(options->verbose); in run_options() 1052 options->drop_expected = true; in run_options() 1055 err = forever_ping_pong(options->rate, options); in run_options() 1057 options->base = false; in run_options() 1058 options->sendpage = false; in run_options() 1059 err = sendmsg_test(options); in run_options() 1061 options->base = false; in run_options() 1062 options->sendpage = true; in run_options() 1063 err = sendmsg_test(options); in run_options() [all …]
|
/tools/perf/ui/browsers/ |
D | annotate.c | 105 .change_color = (!notes->options->hide_src_code && in annotate_browser__write() 193 if (notes->options->hide_src_code) { in annotate_browser__draw_current_jump() 222 if (notes->options->jump_arrows) in annotate_browser__refresh() 296 if (notes->options->hide_src_code) in annotate_browser__set_rb_top() 355 if (notes->options->hide_src_code) { in annotate_browser__toggle_source() 360 notes->options->hide_src_code = false; in annotate_browser__toggle_source() 375 notes->options->hide_src_code = true; in annotate_browser__toggle_source() 759 notes->options->show_linenr = !notes->options->show_linenr; in annotate_browser__run() 769 notes->options->use_offset = !notes->options->use_offset; in annotate_browser__run() 773 if (++notes->options->offset_level > ANNOTATION__MAX_OFFSET_LEVEL) in annotate_browser__run() [all …]
|
/tools/testing/selftests/powerpc/benchmarks/ |
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()
|
D | fork.c | 210 static struct option options[] = { variable 236 c = getopt_long(argc, argv, "", options, &option_index); in main() 243 if (options[option_index].flag != 0) in main()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 859 def __init__(self, options): argument 860 self.providers = self._get_providers(options) 861 self._pid_filter = options.pid 862 self._fields_filter = options.fields 866 def _get_providers(self, options): argument 870 if options.debugfs: 871 providers.append(DebugfsProvider(options.pid, options.fields, 872 options.dbgfs_include_past)) 873 if options.tracepoints or not providers: 874 providers.append(TracepointProvider(options.pid, options.fields)) [all …]
|
/tools/hv/ |
D | lsvmbus | 12 (options, args) = parser.parse_args() 15 if options.verbose is not None: 16 verbose = options.verbose
|
/tools/perf/util/ |
D | annotate.h | 278 struct annotation_options *options; member 300 if (notes->have_cycles && notes->options->show_minmax_cycle) in annotation__cycles_width() 308 return (notes->options->show_total_period ? 12 : 7) * notes->nr_events; in annotation__pcnt_width() 313 return notes->options->hide_src_code && al->offset == -1; in annotation_line__filter() 352 struct annotation_options *options, 356 struct annotation_options *options, 386 struct annotation_options *options);
|
D | genelf.c | 61 struct options { struct 523 static struct options options; variable 532 options.output = optarg; in main() 542 fd = open(options.output, O_CREAT|O_TRUNC|O_RDWR, 0666); in main() 544 err(1, "cannot create file %s", options.output); in main() 550 unlink(options.output); in main()
|
/tools/perf/bench/ |
D | futex-wake.c | 49 static const struct option options[] = { variable 129 argc = parse_options(argc, argv, options, bench_futex_wake_usage, 0); in bench_futex_wake() 131 usage_with_options(bench_futex_wake_usage, options); in bench_futex_wake()
|
D | futex-requeue.c | 48 static const struct option options[] = { variable 123 argc = parse_options(argc, argv, options, bench_futex_requeue_usage, 0); in bench_futex_requeue() 220 usage_with_options(bench_futex_requeue_usage, options); in bench_futex_requeue()
|
/tools/bpf/bpftool/ |
D | feature.c | 318 static const char * const options[] = { in probe_kernel_image_config() local 388 char *values[ARRAY_SIZE(options)] = { }; in probe_kernel_image_config() 427 for (i = 0; i < ARRAY_SIZE(options); i++) { in probe_kernel_image_config() 428 if (values[i] || strcmp(buf, options[i])) in probe_kernel_image_config() 439 for (i = 0; i < ARRAY_SIZE(options); i++) { in probe_kernel_image_config() 440 print_kernel_option(options[i], values[i]); in probe_kernel_image_config()
|