/tools/perf/util/ |
D | evswitch.h | 24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \ 26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \
|
/tools/perf/ |
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"),
|
D | builtin-annotate.c | 493 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate() 495 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate() 497 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate() 511 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate() 524 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate() 532 OPT_STRING('M', "disassembler-style", &annotate.opts.disassembler_style, "disassembler style", in cmd_annotate() 534 OPT_STRING(0, "prefix", &annotate.opts.prefix, "prefix", in cmd_annotate() 536 OPT_STRING(0, "prefix-strip", &annotate.opts.prefix_strip, "N", in cmd_annotate() 538 OPT_STRING(0, "objdump", &annotate.opts.objdump_path, "path", in cmd_annotate()
|
D | builtin-buildid-cache.c | 387 OPT_STRING('a', "add", &add_name_list_str, in cmd_buildid_cache() 389 OPT_STRING('k', "kcore", &kcore_filename, in cmd_buildid_cache() 391 OPT_STRING('r', "remove", &remove_name_list_str, "file list", in cmd_buildid_cache() 393 OPT_STRING('p', "purge", &purge_name_list_str, "file list", in cmd_buildid_cache() 397 OPT_STRING('M', "missing", &missing_filename, "file", in cmd_buildid_cache() 400 OPT_STRING('u', "update", &update_name_list_str, "file list", in cmd_buildid_cache() 402 OPT_STRING(0, "debuginfod", &debuginfod, "debuginfod url", in cmd_buildid_cache()
|
D | builtin-report.c | 1198 OPT_STRING('i', "input", &input_name, "file", in cmd_report() 1208 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report() 1212 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report() 1221 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report() 1230 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report() 1232 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report() 1238 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report() 1258 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report() 1260 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report() 1262 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report() [all …]
|
D | builtin-top.c | 1449 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top() 1451 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top() 1455 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top() 1457 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top() 1461 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top() 1479 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", in cmd_top() 1493 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top() 1496 OPT_STRING(0, "fields", &field_order, "key[,keys...]", in cmd_top() 1516 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_top() 1518 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_top() [all …]
|
D | builtin-kvm.c | 1258 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_report() 1263 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report() 1266 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_report() 1349 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", in kvm_events_live() 1359 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live() 1364 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live() 1588 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm() 1590 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm() 1596 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm() 1599 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm() [all …]
|
D | builtin-evlist.c | 70 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
|
D | builtin-buildid-list.c | 106 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
|
D | builtin-ftrace.c | 888 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace() 893 OPT_STRING('p', "pid", &ftrace.target.pid, "pid", in cmd_ftrace() 896 OPT_STRING(0, "tid", &ftrace.target.tid, "tid", in cmd_ftrace() 902 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
|
D | builtin-stat.c | 1164 OPT_STRING('p', "pid", &target.pid, "pid", 1166 OPT_STRING('t', "tid", &target.tid, "tid", 1169 OPT_STRING('b', "bpf-prog", &target.bpf_str, "bpf-prog-id", 1173 OPT_STRING(0, "bpf-attr-map", &target.attr_map, "attr-map-path", 1197 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", 1202 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator", 1206 OPT_STRING(0, "for-each-cgroup", &stat_config.cgroup_list, "name", 1208 OPT_STRING('o', "output", &output_name, "file", "output file name"), 1212 OPT_STRING(0, "pre", &pre_cmd, "command", 1214 OPT_STRING(0, "post", &post_cmd, "command", [all …]
|
D | builtin-diff.c | 1280 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, 1284 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", 1286 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", 1288 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", 1290 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", 1302 OPT_STRING(0, "time", &pdiff.time_str, "str", 1304 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"), 1305 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", 1307 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]",
|
D | builtin-probe.c | 556 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe() 558 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe() 583 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
|
D | builtin-script.c | 3694 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script() 3696 OPT_STRING(0, "dlfilter", &dlfilter_file, "file", "filter .so file name"), in cmd_script() 3699 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script() 3704 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script() 3706 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script() 3725 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_script() 3727 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script() 3739 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script() 3741 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script() 3743 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script() [all …]
|
D | builtin-mem.c | 467 OPT_STRING('i', "input", &input_name, "file", in cmd_mem() 469 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
|
D | builtin-bench.c | 145 …OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
|
D | builtin-sched.c | 3438 OPT_STRING('i', "input", &input_name, "file", in cmd_sched() 3448 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched() 3464 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched() 3466 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched() 3468 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched() 3473 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched() 3475 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched() 3481 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched() 3492 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched() 3495 OPT_STRING('p', "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_sched() [all …]
|
D | builtin-daemon.c | 1419 OPT_STRING(0, "session", &name, "session", in __cmd_signal() 1468 OPT_STRING(0, "session", &name, "session", in __cmd_ping() 1492 OPT_STRING(0, "config", &__daemon.config, in cmd_daemon() 1494 OPT_STRING(0, "base", &__daemon.base_user, in cmd_daemon()
|
D | builtin-record.c | 2455 OPT_STRING('p', "pid", &record.opts.target.pid, "pid", 2457 OPT_STRING('t', "tid", &record.opts.target.tid, "tid", 2467 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu", 2470 OPT_STRING('o', "output", &record.data.path, "file", 2530 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user", 2580 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path", 2582 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options", 2584 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name,
|
D | builtin-inject.c | 934 OPT_STRING('i', "input", &inject.input_name, "file", in cmd_inject() 936 OPT_STRING('o', "output", &inject.output.path, "file", in cmd_inject() 946 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file", in cmd_inject()
|
D | builtin-lock.c | 953 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock() 969 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
|
/tools/perf/bench/ |
D | evlist-open-close.c | 45 …OPT_STRING('e', "event", &event_string, "event", "event selector. use 'perf list' to list availabl… 50 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", "list of cpus where to open events"), 51 OPT_STRING('p', "pid", &opts.target.pid, "pid", "record events on existing process id"), 52 OPT_STRING('t', "tid", &opts.target.tid, "tid", "record events on existing thread id"), 53 OPT_STRING('u', "uid", &opts.target.uid_str, "user", "user to profile"),
|
D | mem-functions.c | 38 OPT_STRING('s', "size", &size_str, "1MB", 42 OPT_STRING('f', "function", &function_str, "all",
|
D | numa.c | 173 OPT_STRING('G', "mb_global" , &p0.mb_global_str, "MB", "global memory (MBs)"), 174 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"), 175 …OPT_STRING('L', "mb_proc_locked", &p0.mb_proc_locked_str,"MB", "process serialized/locked memory a… 176 OPT_STRING('T', "mb_thread" , &p0.mb_thread_str, "MB", "thread memory (MBs)"),
|
/tools/lib/subcmd/ |
D | parse-options.h | 140 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), … macro
|