Home
last modified time | relevance | path

Searched refs:sym_name (Results 1 – 5 of 5) sorted by relevance

/tools/perf/util/
Dmap.h93 #define __map__for_each_symbol_by_name(map, sym_name, pos) \ argument
94 for (pos = map__find_symbol_by_name(map, sym_name); \
96 !symbol__match_symbol_name(pos->name, sym_name, \
100 #define map__for_each_symbol_by_name(map, sym_name, pos) \ argument
101 __map__for_each_symbol_by_name(map, sym_name, (pos))
Dauxtrace.c2223 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error() argument
2227 idx, sym_name); in sym_not_found_error()
2229 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2231 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2238 static int find_kern_sym(const char *sym_name, u64 *start, u64 *size, int idx) in find_kern_sym() argument
2241 .name = sym_name, in find_kern_sym()
2258 pr_err("Multiple kernel symbols with name '%s'\n", sym_name); in find_kern_sym()
2262 sym_name); in find_kern_sym()
2269 return sym_not_found_error(sym_name, idx); in find_kern_sym()
2410 static void print_duplicate_syms(struct dso *dso, const char *sym_name) in print_duplicate_syms() argument
[all …]
/tools/bpf/bpftool/
Dprog.c689 char sym_name[SYM_MAX_NAME]; in prog_dump() local
707 sprintf(sym_name, "%s", sym->name); in prog_dump()
709 sprintf(sym_name, "0x%016llx", ksyms[i]); in prog_dump()
711 strcpy(sym_name, "unknown"); in prog_dump()
728 jsonw_string(json_wtr, sym_name); in prog_dump()
733 printf("%s:\n", sym_name); in prog_dump()
/tools/lib/bpf/
Dlibbpf.c3337 __u32 insn_idx, const char *sym_name, in bpf_program__record_reloc() argument
3360 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
3365 prog->name, sym_name, (size_t)sym->st_value); in bpf_program__record_reloc()
3376 prog->name, sym_name, insn_idx, insn->code); in bpf_program__record_reloc()
3392 prog->name, sym_name, sym_idx); in bpf_program__record_reloc()
3405 prog->name, sym_name, shdr_idx); in bpf_program__record_reloc()
3416 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
3513 const char *sym_name; in bpf_object__collect_prog_relos() local
3551 sym_name = elf_sec_name(obj, elf_sec_by_idx(obj, sym.st_shndx)); in bpf_object__collect_prog_relos()
3553 sym_name = elf_sym_str(obj, sym.st_name); in bpf_object__collect_prog_relos()
[all …]
/tools/perf/ui/browsers/
Dhists.c2624 char sym_name[512]; in add_callchain_toggle_opt() local
2631 hist_browser__selection_sym_name(browser, sym_name, sizeof(sym_name))) < 0) in add_callchain_toggle_opt()