Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 74) sorted by relevance

123

/tools/perf/util/
Dparse-options.h43 struct option;
44 typedef int parse_opt_cb(const struct option *, const char *arg, int unset);
86 struct option { struct
132 const struct option *options,
136 const struct option *options);
161 const struct option *opts);
167 const struct option *options,
174 extern int parse_opt_abbrev_cb(const struct option *, const char *, int);
175 extern int parse_opt_approxidate_cb(const struct option *, const char *, int);
176 extern int parse_opt_verbosity_cb(const struct option *, const char *, int);
Dcgroup.h4 struct option;
15 extern int parse_cgroups(const struct option *opt, const char *str, int unset);
Dparse-options.c9 static int opterror(const struct option *opt, const char *reason, int flags) in opterror()
18 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg()
36 const struct option *opt, int flags) in get_value()
187 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
199 const struct option *options) in parse_long_opt()
202 const struct option *abbrev_option = NULL, *ambiguous_option = NULL; in parse_long_opt()
283 static void check_typos(const char *arg, const struct option *options) in check_typos()
318 const struct option *, int);
321 const struct option *options, in parse_options_step()
414 int parse_options(int argc, const char **argv, const struct option *options, in parse_options()
[all …]
Dparse-events.h17 struct option;
30 extern int parse_events_option(const struct option *opt, const char *str,
34 extern int parse_filter(const struct option *opt, const char *str, int unset);
Dparse-events.l2 %option reentrant
3 %option bison-bridge
4 %option prefix="parse_events_"
5 %option stack
Dpmu.l1 %option prefix="perf_pmu_"
Dcallchain.h147 struct option;
149 int record_parse_callchain_opt(const struct option *opt, const char *arg, int unset);
/tools/perf/Documentation/
Dperf-help.txt19 If the option '--all' or '-a' is given, then all available commands are
34 option supersedes any other option.
Dperf-mem.txt37 Specify the field separator used when dump raw samples (-D option). By default,
42 Restrict dump of raw samples to those provided via this option. Note that the same
43 option can be passed in record mode. It will be interpreted the same way as perf
Dperf-stat.txt65 In per-thread mode, this option is ignored. The -a option is still necessary
71 This option is only valid in system-wide mode.
88 monitor only in the container (cgroup) called "name". This option is available only
102 Append to the output file designated with the -o option. Ignored if -o is not specified.
Dperf-script.txt35 recorded using the -a (system-wide) 'perf record' option.
51 'perf record' option. If <script> has any required args, they
104 normally don't - this option allows the latter to be run in
152 For the 'wildcard' option if a user selected field is invalid for an
153 event type, a message is displayed to the user that the option is
/tools/perf/
Dbuiltin-probe.c146 static int opt_add_probe_event(const struct option *opt __maybe_unused, in opt_add_probe_event()
156 static int opt_del_probe_event(const struct option *opt __maybe_unused, in opt_del_probe_event()
168 static int opt_set_target(const struct option *opt, const char *str, in opt_set_target()
191 static int opt_show_lines(const struct option *opt __maybe_unused, in opt_show_lines()
212 static int opt_show_vars(const struct option *opt __maybe_unused, in opt_show_vars()
232 static int opt_set_filter(const struct option *opt __maybe_unused, in opt_set_filter()
266 const struct option options[] = { in cmd_probe()
Dbash_completion47 # List possible events for -e option
52 # List long option names
Dbuiltin-diff.c98 static int setup_compute(const struct option *opt, const char *str, in setup_compute()
105 char *option; in setup_compute() local
119 option = strchr(str, ':'); in setup_compute()
120 if (option) { in setup_compute()
121 unsigned len = option++ - str; in setup_compute()
140 return setup_compute_opt(option); in setup_compute()
520 static const struct option options[] = {
Dperf.c32 int option; member
307 if (p->option & RUN_SETUP) in run_builtin()
313 if (use_pager == -1 && p->option & RUN_SETUP) in run_builtin()
315 if (use_pager == -1 && p->option & USE_PAGER) in run_builtin()
Dbuiltin-evlist.c37 const struct option options[] = { in cmd_evlist()
Dbuiltin-kmem.c660 static int parse_sort_opt(const struct option *opt __maybe_unused, in parse_sort_opt()
674 static int parse_caller_opt(const struct option *opt __maybe_unused, in parse_caller_opt()
682 static int parse_alloc_opt(const struct option *opt __maybe_unused, in parse_alloc_opt()
690 static int parse_line_opt(const struct option *opt __maybe_unused, in parse_line_opt()
740 const struct option kmem_options[] = { in cmd_kmem()
Dbuiltin-buildid-list.c86 const struct option options[] = { in cmd_buildid_list()
/tools/testing/ktest/
Dktest.pl1058 foreach my $option (keys %opt) {
1059 my $op = $option;
1073 foreach my $option (keys %not_used) {
1074 print "$option\n";
1084 my ($name, $option, $i) = @_;
1087 $option = " $option";
1102 while ($option =~ /(.*?[^\\])\$\{(.*?)\}(.*)/) {
1133 $option = $end;
1136 $retval = "$retval$option";
1144 my ($name, $option, $i) = @_;
[all …]
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c538 char *option, *next_option; in main() local
568 option = cpu_option_string; in main()
570 next_option = strchr(option, ','); in main()
573 cpu = atoi(option); in main()
581 option = ++next_option; in main()
603 option = queue_path; in main()
604 if (*option != '/') { in main()
605 queue_path = malloc(strlen(option) + 2); in main()
612 strcat(queue_path, option); in main()
613 free(option); in main()
/tools/power/cpupower/
DToDo11 with a --force option and some "be careful" messages
/tools/virtio/virtio-trace/
DREADME8 - write trace data to stdout by using -o option
54 Add qemu option to use virtio-serial pipe.
69 Then, libvirt passes the same command option to qemu.
104 option, trace data are output via stdout in the guest.
/tools/lguest/
Dlguest.txt99 this option simply adds the tap interface to it.
117 - Random number generation. Using the --rng option will provide a
119 Use this option in conjunction with rng-tools (see ../hw_random.txt)
/tools/perf/bench/
Dsched-pipe.c34 static const struct option options[] = {
/tools/power/cpupower/utils/
Dcpupower-info.c19 static struct option set_opts[] = {

123