Home
last modified time | relevance | path

Searched refs:OPT_STRING (Results 1 – 25 of 33) 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.c533 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate()
535 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
537 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
555 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
568 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
576 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", in cmd_annotate()
578 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_annotate()
580 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_annotate()
582 OPT_STRING(0, "objdump", &objdump_path, "path", in cmd_annotate()
584 OPT_STRING(0, "addr2line", &addr2line_path, "path", in cmd_annotate()
Dbuiltin-report.c1237 OPT_STRING('i', "input", &input_name, "file", in cmd_report()
1247 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report()
1251 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
1260 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1273 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report()
1275 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report()
1281 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report()
1301 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report()
1303 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report()
1305 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report()
[all …]
Dbuiltin-buildid-cache.c391 OPT_STRING('a', "add", &add_name_list_str, in cmd_buildid_cache()
393 OPT_STRING('k', "kcore", &kcore_filename, in cmd_buildid_cache()
395 OPT_STRING('r', "remove", &remove_name_list_str, "file list", in cmd_buildid_cache()
397 OPT_STRING('p', "purge", &purge_name_list_str, "file list", in cmd_buildid_cache()
401 OPT_STRING('M', "missing", &missing_filename, "file", in cmd_buildid_cache()
404 OPT_STRING('u', "update", &update_name_list_str, "file list", in cmd_buildid_cache()
Dbuiltin-top.c1467 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1469 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1473 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1475 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1479 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top()
1495 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", in cmd_top()
1511 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top()
1514 OPT_STRING(0, "fields", &field_order, "key[,keys...]", in cmd_top()
1534 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_top()
1536 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_top()
[all …]
Dbuiltin-kwork.c1732 OPT_STRING('k', "kwork", &kwork.event_list_str, "kwork", in cmd_kwork()
1738 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]", in cmd_kwork()
1740 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
1742 OPT_STRING('n', "name", &kwork.profile_name, "name", in cmd_kwork()
1744 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
1746 OPT_STRING('i', "input", &input_name, "file", in cmd_kwork()
1757 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]", in cmd_kwork()
1759 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
1761 OPT_STRING('n', "name", &kwork.profile_name, "name", in cmd_kwork()
1763 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
[all …]
Dbuiltin-evlist.c70 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
Dbuiltin-kvm.c1790 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_report()
1795 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1798 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_report()
1886 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_live()
1896 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live()
1901 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
2125 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm()
2127 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm()
2133 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
2136 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
[all …]
Dbuiltin-buildid-list.c137 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
Dbuiltin-diff.c1282 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1286 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1288 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1290 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1292 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1304 OPT_STRING(0, "time", &pdiff.time_str, "str",
1306 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
1307 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
1309 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]",
Dbuiltin-ftrace.c1130 OPT_STRING('p', "pid", &ftrace.target.pid, "pid", in cmd_ftrace()
1133 OPT_STRING(0, "tid", &ftrace.target.tid, "tid", in cmd_ftrace()
1139 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
1144 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace()
Dbuiltin-stat.c1173 OPT_STRING('p', "pid", &target.pid, "pid",
1175 OPT_STRING('t', "tid", &target.tid, "tid",
1178 OPT_STRING('b', "bpf-prog", &target.bpf_str, "bpf-prog-id",
1182 OPT_STRING(0, "bpf-attr-map", &target.attr_map, "attr-map-path",
1204 OPT_STRING('C', "cpu", &target.cpu_list, "cpu",
1211 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator",
1217 OPT_STRING(0, "for-each-cgroup", &stat_config.cgroup_list, "name",
1219 OPT_STRING('o', "output", &output_name, "file", "output file name"),
1223 OPT_STRING(0, "pre", &pre_cmd, "command",
1225 OPT_STRING(0, "post", &post_cmd, "command",
[all …]
Dbuiltin-probe.c574 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
576 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
601 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
Dbuiltin-lock.c2471 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock()
2476 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name, in cmd_lock()
2478 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_lock()
2493 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
2495 OPT_STRING('F', "field", &output_fields, NULL, in cmd_lock()
2507 OPT_STRING('k', "key", &sort_key, "wait_total", in cmd_lock()
2509 OPT_STRING('F', "field", &output_fields, "contended,wait_total,wait_max,avg_wait", in cmd_lock()
2516 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_lock()
2518 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_lock()
2520 OPT_STRING(0, "tid", &target.tid, "tid", in cmd_lock()
Dbuiltin-mem.c481 OPT_STRING('i', "input", &input_name, "file", in cmd_mem()
483 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
Dbuiltin-script.c3893 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script()
3895 OPT_STRING(0, "dlfilter", &dlfilter_file, "file", "filter .so file name"), in cmd_script()
3898 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script()
3903 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
3905 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
3925 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script()
3927 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
3939 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script()
3941 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script()
3943 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
[all …]
Dbuiltin-bench.c166OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
Dbuiltin-sched.c3494 OPT_STRING('i', "input", &input_name, "file", in cmd_sched()
3504 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
3520 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched()
3522 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched()
3524 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched()
3529 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched()
3531 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
3537 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched()
3548 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
3551 OPT_STRING('p', "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_sched()
[all …]
Dbuiltin-list.c476 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
478 OPT_STRING(0, "unit", &unit_name, "PMU name", in cmd_list()
Dbuiltin-daemon.c1419 OPT_STRING(0, "session", &name, "session", in __cmd_signal()
1471 OPT_STRING(0, "session", &name, "session", in __cmd_ping()
1505 OPT_STRING(0, "config", &__daemon.config, in cmd_daemon()
1507 OPT_STRING(0, "base", &__daemon.base_user, in cmd_daemon()
/tools/perf/bench/
Devlist-open-close.c50OPT_STRING('e', "event", &event_string, "event", "event selector. use 'perf list' to list availabl…
55 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", "list of cpus where to open events"),
56 OPT_STRING('p', "pid", &opts.target.pid, "pid", "record events on existing process id"),
57 OPT_STRING('t', "tid", &opts.target.tid, "tid", "record events on existing thread id"),
58 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",
/tools/perf/tests/
Dbuiltin-test.c525 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), in cmd_test()
530 OPT_STRING('w', "workload", &workload, "work", "workload to run for testing"), in cmd_test()
531 OPT_STRING(0, "dso", &dso_to_test, "dso", "dso to test"), in cmd_test()
/tools/bpf/resolve_btfids/
Dmain.c780 OPT_STRING(0, "btf", &obj.btf, "BTF data", in main()
782 OPT_STRING('b', "btf_base", &obj.base_btf_path, "file", in main()

12