Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c535 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate()
537 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
539 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
557 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
570 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
578 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", in cmd_annotate()
580 OPT_STRING(0, "prefix", &annotate.opts.prefix, "prefix", in cmd_annotate()
582 OPT_STRING(0, "prefix-strip", &annotate.opts.prefix_strip, "N", in cmd_annotate()
584 OPT_STRING(0, "objdump", &objdump_path, "path", in cmd_annotate()
586 OPT_STRING(0, "addr2line", &addr2line_path, "path", in cmd_annotate()
Dbuiltin-report.c1238 OPT_STRING('i', "input", &input_name, "file", in cmd_report()
1248 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report()
1252 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
1261 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1274 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report()
1276 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report()
1282 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report()
1302 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report()
1304 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report()
1306 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report()
[all …]
Dbuiltin-top.c1466 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1468 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1472 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1474 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1478 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top()
1494 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", in cmd_top()
1510 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top()
1513 OPT_STRING(0, "fields", &field_order, "key[,keys...]", in cmd_top()
1533 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_top()
1535 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_top()
[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-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-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-evlist.c70 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
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-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-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-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-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-buildid-list.c137 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
Dbuiltin-script.c3879 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script()
3881 OPT_STRING(0, "dlfilter", &dlfilter_file, "file", "filter .so file name"), in cmd_script()
3884 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script()
3889 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
3891 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
3911 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script()
3913 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
3925 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script()
3927 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script()
3929 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
[all …]
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-sched.c3491 OPT_STRING('i', "input", &input_name, "file", in cmd_sched()
3501 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
3517 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched()
3519 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched()
3521 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched()
3526 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched()
3528 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
3534 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched()
3545 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
3548 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()
Dbuiltin-bench.c166OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
/linux-6.6.21/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",
/linux-6.6.21/tools/perf/util/
Devswitch.h24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \
26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \
/linux-6.6.21/tools/perf/tests/
Dbuiltin-test.c524 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), in cmd_test()
529 OPT_STRING('w', "workload", &workload, "work", "workload to run for testing"), in cmd_test()
530 OPT_STRING(0, "dso", &dso_to_test, "dso", "dso to test"), in cmd_test()
/linux-6.6.21/tools/bpf/resolve_btfids/
Dmain.c738 OPT_STRING(0, "btf", &obj.btf, "BTF data", in main()
740 OPT_STRING('b', "btf_base", &obj.base_btf_path, "file", in main()

12