| /tools/perf/util/ |
| A D | evswitch.h | 24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \ 26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \
|
| /tools/perf/ |
| A D | builtin-data.c | 40 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"),
|
| A D | builtin-report.c | 1329 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() 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() 1416 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report() 1428 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_report() 1445 OPT_STRING(0, "objdump", &objdump_path, "path", in cmd_report() 1447 OPT_STRING(0, "addr2line", &addr2line_path, "path", in cmd_report() [all …]
|
| A D | builtin-buildid-cache.c | 393 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()
|
| A D | builtin-annotate.c | 710 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()
|
| A D | builtin-top.c | 1485 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() 1565 OPT_STRING(0, "objdump", &objdump_path, "path", in cmd_top() 1567 OPT_STRING(0, "addr2line", &addr2line_path, "path", in cmd_top() [all …]
|
| A D | builtin-kwork.c | 2367 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 2371 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() 2373 OPT_STRING('i', "input", &input_name, "file", in cmd_kwork() 2386 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 2390 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() 2392 OPT_STRING('i', "input", &input_name, "file", in cmd_kwork() 2411 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() 2413 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 2417 OPT_STRING('i', "input", &input_name, "file", in cmd_kwork() 2428 OPT_STRING(0, "time", &kwork.time_str, "str", in cmd_kwork() [all …]
|
| A D | builtin-evlist.c | 76 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
|
| A D | builtin-kvm.c | 1729 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_report() 1734 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report() 1737 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_report() 1825 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_live() 1835 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live() 1840 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live() 2061 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm() 2063 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm() 2069 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm() 2074 OPT_STRING(0, "guestkallsyms", &symbol_conf.default_guest_kallsyms, in cmd_kvm() [all …]
|
| A D | builtin-mem.c | 486 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()
|
| A D | builtin-buildid-list.c | 152 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
|
| A D | builtin-diff.c | 1269 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...]",
|
| A D | builtin-stat.c | 2237 OPT_STRING('i', "input", &input_name, "file", "input file name"), in __cmd_report() 2367 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_stat() 2369 OPT_STRING('t', "tid", &target.tid, "tid", in cmd_stat() 2372 OPT_STRING('b', "bpf-prog", &target.bpf_str, "bpf-prog-id", in cmd_stat() 2376 OPT_STRING(0, "bpf-attr-map", &target.attr_map, "attr-map-path", in cmd_stat() 2398 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_stat() 2406 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator", in cmd_stat() 2412 OPT_STRING(0, "for-each-cgroup", &stat_config.cgroup_list, "name", in cmd_stat() 2414 OPT_STRING('o', "output", &output_name, "file", "output file name"), in cmd_stat() 2418 OPT_STRING(0, "pre", &pre_cmd, "command", in cmd_stat() [all …]
|
| A D | builtin-probe.c | 574 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()
|
| A D | builtin-script.c | 3733 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script() 3738 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script() 3743 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script() 3745 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script() 3766 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script() 3787 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_script() 3789 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]", in cmd_script() 3835 OPT_STRING(0, "addr2line", &symbol_conf.addr2line_path, "path", in cmd_script() 3837 OPT_STRING(0, "time", &script.time_str, "str", in cmd_script() 3841 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_script() [all …]
|
| A D | builtin-list.c | 548 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()
|
| A D | builtin-lock.c | 2587 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock() 2592 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name, in cmd_lock() 2594 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_lock() 2609 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock() 2611 OPT_STRING('F', "field", &output_fields, NULL, in cmd_lock() 2623 OPT_STRING('k', "key", &sort_key, "wait_total", in cmd_lock() 2625 OPT_STRING('F', "field", &output_fields, "contended,wait_total,wait_max,avg_wait", in cmd_lock() 2632 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_lock() 2634 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_lock() 2636 OPT_STRING(0, "tid", &target.tid, "tid", in cmd_lock()
|
| A D | builtin-sched.c | 3852 OPT_STRING('i', "input", &input_name, "file", in cmd_sched() 3862 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched() 3878 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched() 3880 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched() 3882 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched() 3884 OPT_STRING(0, "task-name", &sched.map.task_name, "task", in cmd_sched() 3891 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched() 3893 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched() 3899 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched() 3910 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched() [all …]
|
| A D | builtin-bench.c | 168 …OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
|
| A D | builtin-daemon.c | 1420 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()
|
| /tools/perf/bench/ |
| A D | evlist-open-close.c | 223 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()
|
| A D | mem-functions.c | 38 OPT_STRING('s', "size", &size_str, "1MB", 42 OPT_STRING('f', "function", &function_str, "all",
|
| /tools/perf/tests/ |
| A D | builtin-test.c | 785 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), in cmd_test() 794 …OPT_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()
|
| /tools/objtool/ |
| A D | builtin-check.c | 99 OPT_STRING('o', "output", &opts.output, "file", "output file name"),
|
| /tools/bpf/resolve_btfids/ |
| A D | main.c | 793 OPT_STRING(0, "btf", &obj.btf, "BTF data", in main() 795 OPT_STRING('b', "btf_base", &obj.base_btf_path, "file", in main()
|