/linux-4.4.14/fs/ncpfs/ |
H A D | getopt.h | 6 #define OPT_STRING 4 macro
|
H A D | getopt.c | 65 if (opts->has_arg & OPT_STRING) { ncp_getopt()
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-annotate.c | 299 OPT_STRING('i', "input", &input_name, "file", cmd_annotate() 301 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", cmd_annotate() 303 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", cmd_annotate() 313 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_annotate() 323 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), cmd_annotate() 324 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", cmd_annotate() 330 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", cmd_annotate() 332 OPT_STRING(0, "objdump", &objdump_path, "path", cmd_annotate()
|
H A D | builtin-data.c | 59 OPT_STRING('i', "input", &input_name, "file", "input file name"), cmd_data_convert() 61 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"), cmd_data_convert()
|
H A D | builtin-buildid-cache.c | 312 OPT_STRING('a', "add", &add_name_list_str, cmd_buildid_cache() 314 OPT_STRING('k', "kcore", &kcore_filename, cmd_buildid_cache() 316 OPT_STRING('r', "remove", &remove_name_list_str, "file list", cmd_buildid_cache() 318 OPT_STRING('p', "purge", &purge_name_list_str, "path list", cmd_buildid_cache() 320 OPT_STRING('M', "missing", &missing_filename, "file", cmd_buildid_cache() 323 OPT_STRING('u', "update", &update_name_list_str, "file list", cmd_buildid_cache()
|
H A D | builtin-report.c | 671 OPT_STRING('i', "input", &input_name, "file", cmd_report() 677 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_report() 679 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, cmd_report() 688 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", cmd_report() 697 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", cmd_report() 700 OPT_STRING('F', "fields", &field_order, "key[,keys...]", cmd_report() 706 OPT_STRING('p', "parent", &parent_pattern, "regex", cmd_report() 725 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", cmd_report() 727 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", cmd_report() 729 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", cmd_report() 731 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]", cmd_report() 733 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", cmd_report() 735 OPT_STRING(0, "symbol-filter", &report.symbol_filter_str, "filter", cmd_report() 737 OPT_STRING('w', "column-widths", &symbol_conf.col_width_list_str, cmd_report() 745 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", cmd_report() 747 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", cmd_report() 755 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", cmd_report() 766 OPT_STRING(0, "objdump", &objdump_path, "path", cmd_report()
|
H A D | builtin-evlist.c | 45 OPT_STRING('i', "input", &input_name, "file", "Input file name"), cmd_evlist()
|
H A D | builtin-top.c | 1125 OPT_STRING('p', "pid", &target->pid, "pid", cmd_top() 1127 OPT_STRING('t', "tid", &target->tid, "tid", cmd_top() 1131 OPT_STRING('C', "cpu", &target->cpu_list, "cpu", cmd_top() 1133 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_top() 1154 OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", cmd_top() 1166 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", cmd_top() 1169 OPT_STRING(0, "fields", &field_order, "key[,keys...]", cmd_top() 1189 OPT_STRING(0, "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", cmd_top() 1191 OPT_STRING(0, "comms", &symbol_conf.comm_list_str, "comm[,comm...]", cmd_top() 1193 OPT_STRING(0, "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", cmd_top() 1201 OPT_STRING(0, "objdump", &objdump_path, "path", cmd_top() 1203 OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", cmd_top() 1205 OPT_STRING('u', "uid", &target->uid_str, "user", "user to profile"), cmd_top() 1210 OPT_STRING('w', "column-widths", &symbol_conf.col_width_list_str, cmd_top()
|
H A D | builtin-buildid-list.c | 98 OPT_STRING('i', "input", &input_name, "file", "input file name"), cmd_buildid_list()
|
H A D | builtin-kvm.c | 1205 OPT_STRING(0, "event", &kvm->report_event, "report event", kvm_events_report() 1210 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", kvm_events_report() 1213 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", kvm_events_report() 1296 OPT_STRING('p', "pid", &kvm->opts.target.pid, "pid", kvm_events_live() 1307 OPT_STRING(0, "event", &kvm->report_event, "report event", kvm_events_live() 1312 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", kvm_events_live() 1527 OPT_STRING('i', "input", &file_name, "file", cmd_kvm() 1529 OPT_STRING('o', "output", &file_name, "file", cmd_kvm() 1535 OPT_STRING(0, "guestmount", &symbol_conf.guestmount, "directory", cmd_kvm() 1538 OPT_STRING(0, "guestvmlinux", &symbol_conf.default_guest_vmlinux_name, cmd_kvm() 1540 OPT_STRING(0, "guestkallsyms", &symbol_conf.default_guest_kallsyms, cmd_kvm() 1542 OPT_STRING(0, "guestmodules", &symbol_conf.default_guest_modules, cmd_kvm()
|
H A D | builtin-mem.c | 284 OPT_STRING('i', "input", &input_name, "file", cmd_mem() 286 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", cmd_mem()
|
H A D | builtin-script.c | 1745 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", cmd_script() 1747 OPT_STRING('i', "input", &input_name, "file", "input file name"), cmd_script() 1752 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_script() 1754 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, cmd_script() 1758 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", cmd_script() 1767 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", cmd_script() 1769 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), cmd_script() 1770 OPT_STRING('c', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", cmd_script() 1772 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]", cmd_script() 1774 OPT_STRING(0, "tid", &symbol_conf.tid_list_str, "tid[,tid...]", cmd_script()
|
H A D | builtin-record.c | 1033 OPT_STRING('p', "pid", &record.opts.target.pid, "pid", 1035 OPT_STRING('t', "tid", &record.opts.target.tid, "tid", 1045 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu", 1048 OPT_STRING('o', "output", &record.file.path, "file", 1086 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user", 1117 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path", 1119 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",
|
H A D | builtin-stat.c | 943 OPT_STRING('p', "pid", &target.pid, "pid", 945 OPT_STRING('t', "tid", &target.tid, "tid", 965 OPT_STRING('C', "cpu", &target.cpu_list, "cpu", 969 OPT_STRING('x', "field-separator", &csv_sep, "separator", 973 OPT_STRING('o', "output", &output_name, "file", "output file name"), 977 OPT_STRING(0, "pre", &pre_cmd, "command", 979 OPT_STRING(0, "post", &post_cmd, "command",
|
H A D | builtin-diff.c | 800 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, 804 OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", 806 OPT_STRING('C', "comms", &symbol_conf.comm_list_str, "comm[,comm...]", 808 OPT_STRING('S', "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", 810 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", 816 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory",
|
H A D | builtin-inject.c | 709 OPT_STRING('i', "input", &inject.input_name, "file", cmd_inject() 711 OPT_STRING('o', "output", &inject.output.path, "file", cmd_inject() 718 OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name, "file", cmd_inject()
|
H A D | builtin-probe.c | 487 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, __cmd_probe() 489 OPT_STRING('s', "source", &symbol_conf.source_prefix, __cmd_probe()
|
H A D | builtin-bench.c | 113 OPT_STRING('f', "format", &bench_format_str, "default|simple", "Specify the output formatting style"),
|
H A D | builtin-lock.c | 959 OPT_STRING('i', "input", &input_name, "file", "input file name"), cmd_lock() 965 OPT_STRING('k', "key", &sort_key, "acquired", cmd_lock()
|
H A D | builtin-trace.c | 3057 OPT_STRING('e', "expr", &ev_qualifier_str, "expr", "list of syscalls to trace"), cmd_trace() 3058 OPT_STRING('o', "output", &output_name, "file", "output file name"), cmd_trace() 3059 OPT_STRING('i', "input", &input_name, "file", "Analyze events in file"), cmd_trace() 3060 OPT_STRING('p', "pid", &trace.opts.target.pid, "pid", cmd_trace() 3062 OPT_STRING('t', "tid", &trace.opts.target.tid, "tid", cmd_trace() 3068 OPT_STRING('C', "cpu", &trace.opts.target.cpu_list, "cpu", cmd_trace() 3075 OPT_STRING('u', "uid", &trace.opts.target.uid_str, "user", cmd_trace()
|
H A D | builtin-timechart.c | 1936 OPT_STRING('i', "input", &input_name, "file", "input file name"), cmd_timechart() 1937 OPT_STRING('o', "output", &output_name, "file", "output file name"), cmd_timechart() 1948 OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", cmd_timechart()
|
H A D | builtin-sched.c | 1803 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", cmd_sched() 1826 OPT_STRING('i', "input", &input_name, "file", cmd_sched()
|
H A D | builtin-kmem.c | 1861 OPT_STRING('i', "input", &input_name, "file", "input file name"), cmd_kmem()
|
/linux-4.4.14/tools/perf/bench/ |
H A D | mem-functions.c | 33 OPT_STRING('s', "size", &size_str, "1MB", 37 OPT_STRING('f', "function", &function_str, "all",
|
H A D | numa.c | 162 OPT_STRING('G', "mb_global" , &p0.mb_global_str, "MB", "global memory (MBs)"), 163 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"), 164 OPT_STRING('L', "mb_proc_locked", &p0.mb_proc_locked_str,"MB", "process serialized/locked memory access (MBs), <= process_memory"), 165 OPT_STRING('T', "mb_thread" , &p0.mb_thread_str, "MB", "thread memory (MBs)"),
|
/linux-4.4.14/tools/perf/tests/ |
H A D | builtin-test.c | 312 OPT_STRING('s', "skip", &skip, "tests", "tests to skip"), cmd_test()
|
/linux-4.4.14/tools/perf/util/ |
H A D | parse-options.h | 126 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = check_vtype(v, const char **), (a), .help = (h) } macro
|