Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/perf/util/
Devswitch.h24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \
26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \
/Linux-v5.4/tools/perf/
Dbuiltin-report.c1065 OPT_STRING('i', "input", &input_name, "file", in cmd_report()
1075 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_report()
1079 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_report()
1088 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1097 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report()
1099 OPT_STRING('F', "fields", &field_order, "key[,keys...]", in cmd_report()
1105 OPT_STRING('p', "parent", &parent_pattern, "regex", in cmd_report()
1124 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_report()
1126 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_report()
1128 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_report()
[all …]
Dbuiltin-buildid-cache.c377 OPT_STRING('a', "add", &add_name_list_str, in cmd_buildid_cache()
379 OPT_STRING('k', "kcore", &kcore_filename, in cmd_buildid_cache()
381 OPT_STRING('r', "remove", &remove_name_list_str, "file list", in cmd_buildid_cache()
383 OPT_STRING('p', "purge", &purge_name_list_str, "file list", in cmd_buildid_cache()
387 OPT_STRING('M', "missing", &missing_filename, "file", in cmd_buildid_cache()
390 OPT_STRING('u', "update", &update_name_list_str, "file list", in cmd_buildid_cache()
Dbuiltin-annotate.c497 OPT_STRING('i', "input", &input_name, "file", in cmd_annotate()
499 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_annotate()
501 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
515 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_annotate()
528 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
536 OPT_STRING('M', "disassembler-style", &annotate.opts.disassembler_style, "disassembler style", in cmd_annotate()
538 OPT_STRING(0, "objdump", &annotate.opts.objdump_path, "path", in cmd_annotate()
Dbuiltin-data.c65 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_data_convert()
67 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"), in cmd_data_convert()
Dbuiltin-top.c1428 OPT_STRING('p', "pid", &target->pid, "pid", in cmd_top()
1430 OPT_STRING('t', "tid", &target->tid, "tid", in cmd_top()
1434 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", in cmd_top()
1436 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_top()
1440 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_top()
1459 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", in cmd_top()
1473 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top()
1476 OPT_STRING(0, "fields", &field_order, "key[,keys...]", in cmd_top()
1496 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", in cmd_top()
1498 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_top()
[all …]
Dbuiltin-kvm.c1258 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()
1360 OPT_STRING(0, "event", &kvm->report_event, "report event", in kvm_events_live()
1365 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
1589 OPT_STRING('i', "input", &file_name, "file", in cmd_kvm()
1591 OPT_STRING('o', "output", &file_name, "file", in cmd_kvm()
1597 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", in cmd_kvm()
1600 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, in cmd_kvm()
[all …]
Dbuiltin-ftrace.c461 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace()
463 OPT_STRING('p', "pid", &ftrace.target.pid, "pid", in cmd_ftrace()
469 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
Dbuiltin-evlist.c54 OPT_STRING('i', "input", &input_name, "file", "Input file name"), in cmd_evlist()
Dbuiltin-buildid-list.c100 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_buildid_list()
Dbuiltin-diff.c1261 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
1265 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
1267 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]",
1269 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]",
1271 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1283 OPT_STRING(0, "time", &pdiff.time_str, "str",
1285 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
1286 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
1288 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]",
Dbuiltin-stat.c736 OPT_STRING('p', "pid", &target.pid, "pid",
738 OPT_STRING('t', "tid", &target.tid, "tid",
761 OPT_STRING('C', "cpu", &target.cpu_list, "cpu",
766 OPT_STRING('x', "field-separator", &stat_config.csv_sep, "separator",
770 OPT_STRING('o', "output", &output_name, "file", "output file name"),
774 OPT_STRING(0, "pre", &pre_cmd, "command",
776 OPT_STRING(0, "post", &post_cmd, "command",
1612 OPT_STRING('i', "input", &input_name, "file", "input file name"), in __cmd_report()
Dbuiltin-probe.c548 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in __cmd_probe()
550 OPT_STRING('s', "source", &symbol_conf.source_prefix, in __cmd_probe()
575 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in __cmd_probe()
Dbuiltin-script.c3459 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", in cmd_script()
3461 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_script()
3466 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_script()
3468 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_script()
3486 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", in cmd_script()
3496 OPT_STRING(0, "graph-function", &symbol_conf.graph_function, "symbol[,symbol...]", in cmd_script()
3498 OPT_STRING(0, "stop-bt", &symbol_conf.bt_stop_list_str, "symbol[,symbol...]", in cmd_script()
3500 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
3501 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", in cmd_script()
3503 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_script()
[all …]
Dbuiltin-mem.c417 OPT_STRING('i', "input", &input_name, "file", in cmd_mem()
419 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
Dbuiltin-record.c2117 OPT_STRING('p', "pid", &record.opts.target.pid, "pid",
2119 OPT_STRING('t', "tid", &record.opts.target.tid, "tid",
2129 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu",
2132 OPT_STRING('o', "output", &record.data.path, "file",
2187 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user",
2232 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path",
2234 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",
2236 OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name,
Dbuiltin-bench.c126OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting styl…
Dbuiltin-sched.c3371 OPT_STRING('i', "input", &input_name, "file", in cmd_sched()
3381 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
3397 OPT_STRING(0, "color-pids", &sched.map.color_pids_str, "pids", in cmd_sched()
3399 OPT_STRING(0, "color-cpus", &sched.map.color_cpus_str, "cpus", in cmd_sched()
3401 OPT_STRING(0, "cpus", &sched.map.cpus_str, "cpus", in cmd_sched()
3406 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, in cmd_sched()
3408 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, in cmd_sched()
3414 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", in cmd_sched()
3425 OPT_STRING(0, "time", &sched.time_str, "str", in cmd_sched()
3428 OPT_STRING('p', "pid", &symbol_conf.pid_list_str, "pid[,pid...]", in cmd_sched()
[all …]
Dbuiltin-inject.c787 OPT_STRING('i', "input", &inject.input_name, "file", in cmd_inject()
789 OPT_STRING('o', "output", &inject.output.path, "file", in cmd_inject()
799 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file", in cmd_inject()
Dbuiltin-lock.c957 OPT_STRING('i', "input", &input_name, "file", "input file name"), in cmd_lock()
973 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
Dbuiltin-trace.c4111 OPT_STRING('o', "output", &output_name, "file", "output file name"), in cmd_trace()
4112 OPT_STRING('i', "input", &input_name, "file", "Analyze events in file"), in cmd_trace()
4113 OPT_STRING('p', "pid", &trace.opts.target.pid, "pid", in cmd_trace()
4115 OPT_STRING('t', "tid", &trace.opts.target.tid, "tid", in cmd_trace()
4121 OPT_STRING('C', "cpu", &trace.opts.target.cpu_list, "cpu", in cmd_trace()
4128 OPT_STRING('u', "uid", &trace.opts.target.uid_str, "user", in cmd_trace()
4134 OPT_STRING(0, "map-dump", &map_dump_str, "BPF map", "BPF map to periodically dump"), in cmd_trace()
/Linux-v5.4/tools/perf/bench/
Dmem-functions.c38 OPT_STRING('s', "size", &size_str, "1MB",
42 OPT_STRING('f', "function", &function_str, "all",
Dnuma.c172 OPT_STRING('G', "mb_global" , &p0.mb_global_str, "MB", "global memory (MBs)"),
173 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"),
174OPT_STRING('L', "mb_proc_locked", &p0.mb_proc_locked_str,"MB", "process serialized/locked memory a…
175 OPT_STRING('T', "mb_thread" , &p0.mb_thread_str, "MB", "thread memory (MBs)"),
/Linux-v5.4/tools/lib/subcmd/
Dparse-options.h139 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), … macro
/Linux-v5.4/tools/perf/tests/
Dbuiltin-test.c705 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), in cmd_test()

12