/tools/lib/subcmd/ |
D | parse-options.h | 103 int short_name; member 124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… 125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … 126 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name… 128 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \ 131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… 132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… 133 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … 134 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … 135 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),… [all …]
|
D | parse-options.c | 23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); in opterror() 41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); in optwarning() 87 if (((flags & OPT_SHORT) && p->excl_opt->short_name) || in get_value() 90 p->excl_opt->short_name); in get_value() 349 if (options->short_name == *p->opt) { in parse_short_opt() 615 if ((excl_short_opt && ctx->excl_opt->short_name) || in parse_options_step() 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() [all …]
|
/tools/perf/util/ |
D | vdso.c | 127 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() 360 return !strcmp(dso->short_name, DSO__NAME_VDSO) || in dso__is_vdso() 361 !strcmp(dso->short_name, DSO__NAME_VDSO32) || in dso__is_vdso() 362 !strcmp(dso->short_name, DSO__NAME_VDSOX32); in dso__is_vdso()
|
D | dsos.c | 103 static int __dso__cmp_short_name(const char *short_name, struct dso_id *id, struct dso *b) in __dso__cmp_short_name() argument 105 int rc = strcmp(short_name, b->short_name); in __dso__cmp_short_name() 111 return __dso__cmp_short_name(a->short_name, &a->id, b); in dso__cmp_short_name()
|
D | bpf-event.c | 129 const char *short_name = NULL; in synthesize_bpf_prog_name() local 139 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name() 143 short_name = info->name; in synthesize_bpf_prog_name() 145 short_name = "F"; in synthesize_bpf_prog_name() 146 if (short_name) in synthesize_bpf_prog_name() 148 "_%s", short_name); in synthesize_bpf_prog_name()
|
D | dso.c | 1153 const char *short_name, int dso_type) in machine__findnew_kernel() argument 1165 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel() 1211 free((char *)dso->short_name); in dso__set_short_name() 1213 dso->short_name = name; in dso__set_short_name() 1299 zfree((char **)&dso->short_name); in dso__delete() 1372 const char *name = dso->short_name + 1; in dso__kernel_module_get_build_id() 1395 size_t ret = fprintf(fp, "dso: %s (", dso->short_name); in dso__fprintf() 1397 if (dso->short_name != dso->long_name) in dso__fprintf()
|
D | unwind-libdw.c | 70 mod = dwfl_report_elf(ui->dwfl, dso->short_name, dso->long_name, -1, in __report_module() 76 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1, in __report_module()
|
D | dso.h | 181 const char *short_name; member 361 const char *short_name, int dso_type);
|
D | symbol.c | 834 if (strcmp(curr_map->dso->short_name, module)) { in maps__split_kallsyms() 1118 mi = find_module(old_map->dso->short_name, &modules); in do_validate_kcore_modules() 1958 return strcmp(ma->dso->short_name, mb->dso->short_name); in map__strcmp() 1964 return strcmp(name, map->dso->short_name); in map__strcmp_name() 2011 if (maps->last_search_by_name && strcmp(maps->last_search_by_name->dso->short_name, name) == 0) { in maps__find_by_name() 2026 if (strcmp(map->dso->short_name, name) == 0) { in maps__find_by_name()
|
D | event.c | 668 dso->short_name) || in machine__resolve() 669 (dso->short_name != dso->long_name && in machine__resolve()
|
D | map.c | 250 name = map->dso->short_name; in __map__is_bpf_prog() 266 name = map->dso->short_name; in __map__is_bpf_image()
|
D | block-info.c | 322 map->dso->short_name); in block_dso_entry()
|
D | srcline.c | 563 } else if (asprintf(&srcline, "%s[%" PRIx64 "]", dso->short_name, addr) < 0) in __get_srcline()
|
D | build-id.c | 348 name = pos->short_name; in machine__write_buildid_table()
|
D | sort.c | 184 dso_name_l = dso_l->short_name; in _sort__dso_cmp() 185 dso_name_r = dso_r->short_name; in _sort__dso_cmp() 202 map->dso->short_name; in _hist_entry__dso_snprintf()
|
D | symbol-elf.c | 974 if (strcmp(section_name, (curr_dso->short_name + dso->short_name_len)) == 0) in dso__process_kernel_symbol() 1017 snprintf(dso_name, sizeof(dso_name), "%s%s", dso->short_name, section_name); in dso__process_kernel_symbol()
|
D | callchain.c | 1170 cl->ms.map->dso->short_name : in callchain_list__sym_name()
|
/tools/perf/ |
D | builtin-kallsyms.c | 39 symbol->name, map->dso->short_name, map->dso->long_name, in __cmd_kallsyms()
|
D | builtin-probe.c | 247 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/tests/ |
D | hists_common.c | 184 he->ms.map->dso->short_name, in print_hists_in() 211 he->ms.map->dso->short_name, in print_hists_out()
|
D | vmlinux-kallsyms.c | 194 map->dso->short_name : in test__vmlinux_matches_kallsyms()
|
D | hists_cumulate.c | 153 #define DSO(he) (he->ms.map->dso->short_name) 158 #define CDSO(cl) (cl->ms.map->dso->short_name)
|
D | hists_output.c | 119 #define DSO(he) (he->ms.map->dso->short_name)
|
/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 1003 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): argument 1004 short_name = toserverstr(short_name) 1007 n1 = len(short_name) 1011 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
|
D | exported-sql-viewer.py | 2926 short_name = query.value(4) 2953 f = self.glb.FileFromNamesAndBuildId(short_name, long_name, build_id) 4894 def FileFromNamesAndBuildId(self, short_name, long_name, build_id): argument 4896 if short_name[0:7] == "[kernel" and os.path.basename(long_name) == "kcore":
|