Home
last modified time | relevance | path

Searched refs:OPT_STRING (Results 1 – 25 of 31) sorted by relevance

12

/tools/perf/util/
Devswitch.h24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \
26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \
/tools/perf/
Dbuiltin-data.c40 OPT_STRING('i', "input", &input_name, "file", "input file name"),
41 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"),
43 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"),
Dbuiltin-annotate.c493 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate()
495 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
497 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
511 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
524 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
532 OPT_STRING('M', "disassembler-style", &annotate.opts.disassembler_style, "disassembler style", in cmd_annotate()
534 OPT_STRING(0, "prefix", &annotate.opts.prefix, "prefix", in cmd_annotate()
536 OPT_STRING(0, "prefix-strip", &annotate.opts.prefix_strip, "N", in cmd_annotate()
538 OPT_STRING(0, "objdump", &annotate.opts.objdump_path, "path", in cmd_annotate()
Dbuiltin-buildid-cache.c387 OPT_STRING('a', "add", &add_name_list_str, in cmd_buildid_cache()
389 OPT_STRING('k', "kcore", &kcore_filename, in cmd_buildid_cache()
391 OPT_STRING('r', "remove", &remove_name_list_str, "file list", in cmd_buildid_cache()
393 OPT_STRING('p', "purge", &purge_name_list_str, "file list", in cmd_buildid_cache()
397 OPT_STRING('M', "missing", &missing_filename, "file", in cmd_buildid_cache()
400 OPT_STRING('u', "update", &update_name_list_str, "file list", in cmd_buildid_cache()
402 OPT_STRING(0, "debuginfod", &debuginfod, "debuginfod url", in cmd_buildid_cache()
Dbuiltin-report.c1198 OPT_STRING('i', "input", &input_name, "file", in cmd_report()
1208 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report()
1212 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
1221 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1230 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report()
1232 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report()
1238 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report()
1258 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report()
1260 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report()
1262 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report()
[all …]
Dbuiltin-top.c1449 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1451 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1455 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1457 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1461 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top()
1479 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", in cmd_top()
1493 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top()
1496 OPT_STRING(0, "fields", &field_order, "key[,keys...]", in cmd_top()
1516 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_top()
1518 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_top()
[all …]
Dbuiltin-kvm.c1258 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_report()
1263 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1266 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_report()
1349 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_live()
1359 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live()
1364 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
1588 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm()
1590 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm()
1596 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
1599 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
[all …]
Dbuiltin-evlist.c70 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
Dbuiltin-buildid-list.c106 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
Dbuiltin-ftrace.c888 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace()
893 OPT_STRING('p', "pid", &ftrace.target.pid, "pid", in cmd_ftrace()
896 OPT_STRING(0, "tid", &ftrace.target.tid, "tid", in cmd_ftrace()
902 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
Dbuiltin-stat.c1164 OPT_STRING('p', "pid", &target.pid, "pid",
1166 OPT_STRING('t', "tid", &target.tid, "tid",
1169 OPT_STRING('b', "bpf-prog", &target.bpf_str, "bpf-prog-id",
1173 OPT_STRING(0, "bpf-attr-map", &target.attr_map, "attr-map-path",
1197 OPT_STRING('C', "cpu", &target.cpu_list, "cpu",
1202 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator",
1206 OPT_STRING(0, "for-each-cgroup", &stat_config.cgroup_list, "name",
1208 OPT_STRING('o', "output", &output_name, "file", "output file name"),
1212 OPT_STRING(0, "pre", &pre_cmd, "command",
1214 OPT_STRING(0, "post", &post_cmd, "command",
[all …]
Dbuiltin-diff.c1280 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1284 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1286 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1288 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1290 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1302 OPT_STRING(0, "time", &pdiff.time_str, "str",
1304 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
1305 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
1307 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]",
Dbuiltin-probe.c556 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
558 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
583 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
Dbuiltin-script.c3694 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script()
3696 OPT_STRING(0, "dlfilter", &dlfilter_file, "file", "filter .so file name"), in cmd_script()
3699 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script()
3704 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
3706 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
3725 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script()
3727 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
3739 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script()
3741 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script()
3743 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
[all …]
Dbuiltin-mem.c467 OPT_STRING('i', "input", &input_name, "file", in cmd_mem()
469 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
Dbuiltin-bench.c145OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
Dbuiltin-sched.c3438 OPT_STRING('i', "input", &input_name, "file", in cmd_sched()
3448 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
3464 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched()
3466 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched()
3468 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched()
3473 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched()
3475 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
3481 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched()
3492 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
3495 OPT_STRING('p', "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_sched()
[all …]
Dbuiltin-daemon.c1419 OPT_STRING(0, "session", &name, "session", in __cmd_signal()
1468 OPT_STRING(0, "session", &name, "session", in __cmd_ping()
1492 OPT_STRING(0, "config", &__daemon.config, in cmd_daemon()
1494 OPT_STRING(0, "base", &__daemon.base_user, in cmd_daemon()
Dbuiltin-record.c2455 OPT_STRING('p', "pid", &record.opts.target.pid, "pid",
2457 OPT_STRING('t', "tid", &record.opts.target.tid, "tid",
2467 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu",
2470 OPT_STRING('o', "output", &record.data.path, "file",
2530 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user",
2580 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path",
2582 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",
2584 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name,
Dbuiltin-inject.c934 OPT_STRING('i', "input", &inject.input_name, "file", in cmd_inject()
936 OPT_STRING('o', "output", &inject.output.path, "file", in cmd_inject()
946 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file", in cmd_inject()
Dbuiltin-lock.c953 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock()
969 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
/tools/perf/bench/
Devlist-open-close.c45OPT_STRING('e', "event", &event_string, "event", "event selector. use 'perf list' to list availabl…
50 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", "list of cpus where to open events"),
51 OPT_STRING('p', "pid", &opts.target.pid, "pid", "record events on existing process id"),
52 OPT_STRING('t', "tid", &opts.target.tid, "tid", "record events on existing thread id"),
53 OPT_STRING('u', "uid", &opts.target.uid_str, "user", "user to profile"),
Dmem-functions.c38 OPT_STRING('s', "size", &size_str, "1MB",
42 OPT_STRING('f', "function", &function_str, "all",
Dnuma.c173 OPT_STRING('G', "mb_global" , &p0.mb_global_str, "MB", "global memory (MBs)"),
174 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"),
175OPT_STRING('L', "mb_proc_locked", &p0.mb_proc_locked_str,"MB", "process serialized/locked memory a…
176 OPT_STRING('T', "mb_thread" , &p0.mb_thread_str, "MB", "thread memory (MBs)"),
/tools/lib/subcmd/
Dparse-options.h140 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), … macro

12