Home
last modified time | relevance | path

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

12

/linux/tools/perf/
H A Dbuiltin-data.c41 OPT_STRING('i', "input", &input_name, "file", "input file name"),
42 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"),
44 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"),
49 OPT_STRING(0, "time", &opts.time_str, "str",
H A Dbuiltin-report.c1335 OPT_STRING('i', "input", &input_name, "file", in cmd_report()
1345 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report()
1349 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
1358 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1371 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report()
1373 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report()
1379 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report()
1399 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report()
1401 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report()
1403 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report()
[all …]
H A Dbuiltin-annotate.c711 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate()
713 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
715 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
733 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
746 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
754 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", in cmd_annotate()
756 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_annotate()
758 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_annotate()
760 OPT_STRING(0, "objdump", &objdump_path, "path", in cmd_annotate()
762 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.c395 OPT_STRING('a', "add", &add_name_list_str, in cmd_buildid_cache()
397 OPT_STRING('k', "kcore", &kcore_filename, in cmd_buildid_cache()
399 OPT_STRING('r', "remove", &remove_name_list_str, "file list", in cmd_buildid_cache()
401 OPT_STRING('p', "purge", &purge_name_list_str, "file list", in cmd_buildid_cache()
405 OPT_STRING('M', "missing", &missing_filename, "file", in cmd_buildid_cache()
408 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.c1732 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_report()
1737 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1740 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_report()
1828 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_live()
1838 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live()
1843 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
2122 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm()
2124 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm()
2130 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
2133 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
[all …]
H A Dbuiltin-mem.c487 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
510 OPT_STRING('i', "input", &input_name, "file", in cmd_mem()
516 OPT_STRING('s', "sort", &mem.sort_key, "key[,key2...]", in cmd_mem()
H A Dbuiltin-diff.c1267 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1271 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1273 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1275 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1277 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1289 OPT_STRING(0, "time", &pdiff.time_str, "str",
1291 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
1292 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
1294 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]",
H A Dbuiltin-stat.c2309 OPT_STRING('i', "input", &input_name, "file", "input file name"), in __cmd_report()
2440 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_stat()
2442 OPT_STRING('t', "tid", &target.tid, "tid", in cmd_stat()
2445 OPT_STRING('b', "bpf-prog", &target.bpf_str, "bpf-prog-id", in cmd_stat()
2449 OPT_STRING(0, "bpf-attr-map", &target.attr_map, "attr-map-path", in cmd_stat()
2471 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_stat()
2479 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator", in cmd_stat()
2485 OPT_STRING(0, "for-each-cgroup", &stat_config.cgroup_list, "name", in cmd_stat()
2487 OPT_STRING('o', "output", &output_name, "file", "output file name"), in cmd_stat()
2491 OPT_STRING(0, "pre", &pre_cmd, "command", in cmd_stat()
[all …]
H A Dbuiltin-evlist.c77 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
H A Dbuiltin-lock.c2594 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock()
2599 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name, in cmd_lock()
2601 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_lock()
2616 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
2618 OPT_STRING('F', "field", &output_fields, NULL, in cmd_lock()
2630 OPT_STRING('k', "key", &sort_key, "wait_total", in cmd_lock()
2632 OPT_STRING('F', "field", &output_fields, "contended,wait_total,wait_max,avg_wait", in cmd_lock()
2639 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", in cmd_lock()
2641 OPT_STRING('p', "pid", &target.pid, "pid", in cmd_lock()
2643 OPT_STRING(0, "tid", &target.tid, "tid", in cmd_lock()
H A Dbuiltin-script.c4061 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script()
4063 OPT_STRING(0, "dlfilter", &dlfilter_file, "file", "filter .so file name"), in cmd_script()
4066 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script()
4071 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
4073 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
4094 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script()
4096 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
4108 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script()
4110 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script()
4112 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
[all …]
H A Dbuiltin-probe.c573 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
575 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
600 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
H A Dbuiltin-list.c574 OPT_STRING('o', "output", &output_path, "file", "output file name"), in cmd_list()
577 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
579 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.c4835 OPT_STRING('i', "input", &input_name, "file", in cmd_sched()
4845 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
4861 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched()
4863 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched()
4865 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched()
4867 OPT_STRING(0, "task-name", &sched.map.task_name, "task", in cmd_sched()
4874 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched()
4876 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
4882 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched()
4893 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
[all …]
H A Dbuiltin-daemon.c1418 OPT_STRING(0, "session", &name, "session", in __cmd_signal()
1470 OPT_STRING(0, "session", &name, "session", in __cmd_ping()
1504 OPT_STRING(0, "config", &__daemon.config, in cmd_daemon()
1506 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.c1758 OPT_STRING('p', "pid", &ftrace.target.pid, "pid", in cmd_ftrace()
1761 OPT_STRING(0, "tid", &ftrace.target.tid, "tid", in cmd_ftrace()
1767 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
1772 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace()
/linux/tools/perf/bench/
H A Devlist-open-close.c224 OPT_STRING('e', "event", &event_string, "event", in bench_evlist_open_close()
232 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", in bench_evlist_open_close()
234 OPT_STRING('p', "pid", &opts.target.pid, "pid", in bench_evlist_open_close()
236 OPT_STRING('t', "tid", &opts.target.tid, "tid", in bench_evlist_open_close()
238 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.c791 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), in cmd_test()
800OPT_STRING('w', "workload", &workload, "work", "workload to run for testing, use '--list-workloads… in cmd_test()
802 OPT_STRING(0, "dso", &dso_to_test, "dso", "dso to test"), in cmd_test()
803 OPT_STRING(0, "objdump", &test_objdump_path, "path", in cmd_test()
/linux/tools/objtool/
H A Dbuiltin-check.c98 OPT_STRING(0, "debug-checksum", &opts.debug_checksum, "funcs", "enable checksum debug output"),
104 OPT_STRING('o', "output", &opts.output, "file", "output file name"),
107 OPT_STRING(0, "trace", &opts.trace, "func", "trace function validation"),

12