Home
last modified time | relevance | path

Searched refs:short_name (Results 1 – 13 of 13) sorted by relevance

/tools/lib/subcmd/
A Dparse-options.h99 int short_name; member
124 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \
127 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va…
129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), …
133 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .va…
135 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .val…
138 { .type = OPTION_STRING, .short_name = (s), .long_name = (l), \
142 { .type = OPTION_STRING, .short_name = (s), .long_name = (l), \
150 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
158 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l),\
[all …]
A Dparse-options.c90 p->excl_opt->short_name); in get_value()
349 if (options->short_name == *p->opt) { in parse_short_opt()
617 char opt = ctx->excl_opt->short_name; in parse_options_step()
713 if (opts->short_name) in print_option_help()
714 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help()
718 if (opts->long_name && opts->short_name) in print_option_help()
789 int sa = tolower(a->short_name), sb = tolower(b->short_name), ret; in option__cmp()
859 if (arg[0] == opt->short_name) in option__in_argv()
873 if (arg[1] == opt->short_name || in option__in_argv()
972 if (opts->short_name == *optstr) { in parse_options_usage()
[all …]
/tools/perf/scripts/python/
A Dparallel-perf.py300 def __init__(self, args, short_name, long_name, default=None): argument
304 m = len(short_name)
328 if m and opt[:1] == "-" and opt[:2] != "--" and short_name in opt:
329 ipos = opt.index(short_name)
372 p = OptPos(args, short_name, long_name)
380 def ExtractOption(args, short_name, long_name, err_prefix): argument
381 return ReadOption(args, short_name, long_name, err_prefix, True)
383 def ReadPerfOption(args, short_name, long_name): argument
384 return ReadOption(args, short_name, long_name, "perf command ")
386 def ExtractPerfOption(args, short_name, long_name): argument
[all …]
A Dexport-to-postgresql.py1006 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): argument
1007 short_name = toserverstr(short_name)
1010 n1 = len(short_name)
1014 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
A Dexported-sql-viewer.py2930 short_name = query.value(4)
2957 f = self.glb.FileFromNamesAndBuildId(short_name, long_name, build_id)
4810 def FileFromNamesAndBuildId(self, short_name, long_name, build_id): argument
4812 if short_name[0:7] == "[kernel" and os.path.basename(long_name) == "kcore":
/tools/perf/
A Dbuiltin-probe.c247 params->command = opt->short_name; in opt_show_lines()
267 params->command = opt->short_name; in opt_show_vars()
279 params->command = opt->short_name; in opt_add_probe_event()
290 params->command = opt->short_name; in opt_set_filter_with_command()
/tools/perf/util/
A Dbpf-event.c139 const char *short_name = NULL; in synthesize_bpf_prog_name() local
149 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
153 short_name = info->name; in synthesize_bpf_prog_name()
155 short_name = "F"; in synthesize_bpf_prog_name()
156 if (short_name) in synthesize_bpf_prog_name()
158 "_%s", short_name); in synthesize_bpf_prog_name()
A Dvdso.c127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, in __machine__addnew_vdso() argument
132 dso = dso__new(short_name); in __machine__addnew_vdso()
A Ddso.h267 const char *short_name; in DECLARE_RC_STRUCT() local
609 return RC_CHK_ACCESS(dso)->short_name; in dso__short_name()
851 const char *short_name, int dso_type);
A Ddsos.c118 static int __dso__cmp_short_name(const char *short_name, const struct dso_id *id, in __dso__cmp_short_name() argument
121 int rc = strcmp(short_name, dso__short_name(b)); in __dso__cmp_short_name()
A Ddso.c1333 const char *short_name, int dso_type) in machine__findnew_kernel() argument
1345 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel()
1474 RC_CHK_ACCESS(dso)->short_name = name; in __dso__set_short_name()
1595 zfree((char **)&RC_CHK_ACCESS(dso)->short_name); in dso__delete()
A Dprobe-event.c169 const char *short_name = dso__short_name(dso); in kernel_get_module_map_cb() local
172 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 && in kernel_get_module_map_cb()
/tools/arch/x86/kcpuid/
A Dcpuid.csv10 # LEAF, SUBLEAVES, reg, bits, short_name , long_description

Completed in 52 milliseconds