Home
last modified time | relevance | path

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

12

/linux/tools/perf/
H A 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"),
H A Dbuiltin-report.c1329 OPT_STRING('i', "input", &input_name, "file", in cmd_report()
1339 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report()
1343 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
1352 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1365 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report()
1367 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report()
1373 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report()
1393 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report()
1395 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report()
1397 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report()
[all …]
H A Dbuiltin-annotate.c710 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate()
712 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
714 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
732 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
745 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
753 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", in cmd_annotate()
755 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_annotate()
757 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_annotate()
759 OPT_STRING(0, "objdump", &objdump_path, "path", in cmd_annotate()
761 OPT_STRING(0, "addr2line", &addr2line_path, "path", in cmd_annotate()
H A Dbuiltin-top.c1485 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1487 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1491 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1493 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1497 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top()
1513 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", in cmd_top()
1529 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top()
1532 OPT_STRING(0, "fields", &field_order, "key[,keys...]", in cmd_top()
1552 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_top()
1554 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_top()
[all …]
H A Dbuiltin-buildid-cache.c393 OPT_STRING('a', "add", &add_name_list_str, in cmd_buildid_cache()
395 OPT_STRING('k', "kcore", &kcore_filename, in cmd_buildid_cache()
397 OPT_STRING('r', "remove", &remove_name_list_str, "file list", in cmd_buildid_cache()
399 OPT_STRING('p', "purge", &purge_name_list_str, "file list", in cmd_buildid_cache()
403 OPT_STRING('M', "missing", &missing_filename, "file", in cmd_buildid_cache()
406 OPT_STRING('u', "update", &update_name_list_str, "file list", in cmd_buildid_cache()
H A Dbuiltin-kwork.c2376 OPT_STRING('k', "kwork", &kwork.event_list_str, "kwork", in cmd_kwork()
2382 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]", in cmd_kwork()
2384 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2386 OPT_STRING('n', "name", &kwork.profile_name, "name", in cmd_kwork()
2388 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
2390 OPT_STRING('i', "input", &input_name, "file", in cmd_kwork()
2401 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]", in cmd_kwork()
2403 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2405 OPT_STRING('n', "name", &kwork.profile_name, "name", in cmd_kwork()
2407 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork()
[all …]
H A Dbuiltin-kvm.c1727 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_report()
1732 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1735 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_report()
1823 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_live()
1833 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live()
1838 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
2123 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm()
2125 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm()
2131 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
2134 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
[all …]
H A Dbuiltin-mem.c486 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
509 OPT_STRING('i', "input", &input_name, "file", in cmd_mem()
515 OPT_STRING('s', "sort", &mem.sort_key, "key[,key2...]", in cmd_mem()
H A Dbuiltin-diff.c1269 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1273 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1275 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1277 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1279 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1291 OPT_STRING(0, "time", &pdiff.time_str, "str",
1293 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
1294 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
1296 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]",
H A Dbuiltin-evlist.c76 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
H A Dbuiltin-stat.c2266 OPT_STRING('i', "input", &input_name, "file", "input file name"), in __cmd_report()
2396 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_stat()
2398 OPT_STRING('t', "tid", &target.tid, "tid", in cmd_stat()
2401 OPT_STRING('b', "bpf-prog", &target.bpf_str, "bpf-prog-id", in cmd_stat()
2405 OPT_STRING(0, "bpf-attr-map", &target.attr_map, "attr-map-path", in cmd_stat()
2427 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_stat()
2435 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator", in cmd_stat()
2441 OPT_STRING(0, "for-each-cgroup", &stat_config.cgroup_list, "name", in cmd_stat()
2443 OPT_STRING('o', "output", &output_name, "file", "output file name"), in cmd_stat()
2447 OPT_STRING(0, "pre", &pre_cmd, "command", in cmd_stat()
[all …]
H A Dbuiltin-script.c3761 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script()
3763 OPT_STRING(0, "dlfilter", &dlfilter_file, "file", "filter .so file name"), in cmd_script()
3766 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script()
3771 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
3773 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
3794 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script()
3796 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
3808 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script()
3810 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script()
3812 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
[all …]
H A 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()
H A Dbuiltin-lock.c2592 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock()
2597 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name, in cmd_lock()
2599 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_lock()
2614 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
2616 OPT_STRING('F', "field", &output_fields, NULL, in cmd_lock()
2628 OPT_STRING('k', "key", &sort_key, "wait_total", in cmd_lock()
2630 OPT_STRING('F', "field", &output_fields, "contended,wait_total,wait_max,avg_wait", in cmd_lock()
2637 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_lock()
2639 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_lock()
2641 OPT_STRING(0, "tid", &target.tid, "tid", in cmd_lock()
H A Dbuiltin-list.c548 OPT_STRING('o', "output", &output_path, "file", "output file name"), in cmd_list()
551 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
553 OPT_STRING(0, "unit", &unit_name, "PMU name", in cmd_list()
H A Dbuiltin-buildid-list.c152 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
H A Dbuiltin-sched.c3841 OPT_STRING('i', "input", &input_name, "file", in cmd_sched()
3851 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
3867 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched()
3869 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched()
3871 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched()
3873 OPT_STRING(0, "task-name", &sched.map.task_name, "task", in cmd_sched()
3880 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched()
3882 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
3888 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched()
3899 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
[all …]
H A Dbuiltin-daemon.c1420 OPT_STRING(0, "session", &name, "session", in __cmd_signal()
1472 OPT_STRING(0, "session", &name, "session", in __cmd_ping()
1506 OPT_STRING(0, "config", &__daemon.config, in cmd_daemon()
1508 OPT_STRING(0, "base", &__daemon.base_user, in cmd_daemon()
H A Dbuiltin-bench.c169OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
H A Dbuiltin-ftrace.c1753 OPT_STRING('p', "pid", &ftrace.target.pid, "pid", in cmd_ftrace()
1756 OPT_STRING(0, "tid", &ftrace.target.tid, "tid", in cmd_ftrace()
1762 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
1767 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace()
/linux/tools/perf/bench/
H A Devlist-open-close.c223 OPT_STRING('e', "event", &event_string, "event", in bench_evlist_open_close()
231 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", in bench_evlist_open_close()
233 OPT_STRING('p', "pid", &opts.target.pid, "pid", in bench_evlist_open_close()
235 OPT_STRING('t', "tid", &opts.target.tid, "tid", in bench_evlist_open_close()
237 OPT_STRING('u', "uid", &uid_str, "user", "user to profile"), in bench_evlist_open_close()
H A Dmem-functions.c46 OPT_STRING('s', "size", &size_str, "1MB",
50 OPT_STRING('p', "page", &page_size_str, "4KB",
54 OPT_STRING('f', "function", &function_str, "all",
67 OPT_STRING('k', "chunk", &chunk_size_str, "0",
/linux/tools/perf/util/
H A Devswitch.h24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \
26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \
/linux/tools/perf/tests/
H A Dbuiltin-test.c785 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), in cmd_test()
794OPT_STRING('w', "workload", &workload, "work", "workload to run for testing, use '--list-workloads… in cmd_test()
796 OPT_STRING(0, "dso", &dso_to_test, "dso", "dso to test"), in cmd_test()
797 OPT_STRING(0, "objdump", &test_objdump_path, "path", in cmd_test()
/linux/tools/bpf/resolve_btfids/
H A Dmain.c793 OPT_STRING(0, "btf", &obj.btf, "BTF data", in main()
795 OPT_STRING('b', "btf_base", &obj.base_btf_path, "file", in main()

12