Home
last modified time | relevance | path

Searched refs:sym_name (Results 1 – 6 of 6) 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.c2322 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error() argument
2326 idx, sym_name); in sym_not_found_error()
2328 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2330 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2337 static int find_kern_sym(const char *sym_name, u64 *start, u64 *size, int idx) in find_kern_sym() argument
2340 .name = sym_name, in find_kern_sym()
2357 pr_err("Multiple kernel symbols with name '%s'\n", sym_name); in find_kern_sym()
2361 sym_name); in find_kern_sym()
2368 return sym_not_found_error(sym_name, idx); in find_kern_sym()
2509 static void print_duplicate_syms(struct dso *dso, const char *sym_name) in print_duplicate_syms() argument
[all …]
/tools/lib/bpf/
Dlinker.c173 Elf64_Sym *sym, const char *sym_name, int src_sym_idx);
1221 const char *sym_name; in linker_append_elf_syms() local
1234 sym_name = elf_strptr(obj->elf, str_sec_idx, sym->st_name); in linker_append_elf_syms()
1235 if (!sym_name) { in linker_append_elf_syms()
1240 err = linker_append_elf_sym(linker, obj, sym, sym_name, i); in linker_append_elf_syms()
1256 static struct glob_sym *find_glob_sym(struct bpf_linker *linker, const char *sym_name) in find_glob_sym() argument
1266 if (strcmp(name, sym_name) == 0) in find_glob_sym()
1292 static bool glob_sym_btf_matches(const char *sym_name, bool exact, in glob_sym_btf_matches() argument
1312 sym_name, n1, n2); in glob_sym_btf_matches()
1322 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
[all …]
Dlibbpf.c3603 __u32 insn_idx, const char *sym_name, in bpf_program__record_reloc() argument
3616 prog->name, sym_name, insn_idx, insn->code); in bpf_program__record_reloc()
3632 prog->name, sym_name, sym_idx); in bpf_program__record_reloc()
3656 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
3661 prog->name, sym_name, (size_t)sym->st_value); in bpf_program__record_reloc()
3672 prog->name, sym_name, shdr_idx); in bpf_program__record_reloc()
3683 prog->name, sym_name, (size_t)sym->st_value, insn->imm); in bpf_program__record_reloc()
3700 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
3797 const char *sym_name; in bpf_object__collect_prog_relos() local
3843 sym_name = elf_sec_name(obj, elf_sec_by_idx(obj, sym.st_shndx)); in bpf_object__collect_prog_relos()
[all …]
/tools/bpf/bpftool/
Dprog.c700 char sym_name[SYM_MAX_NAME]; in prog_dump() local
718 sprintf(sym_name, "%s", sym->name); in prog_dump()
720 sprintf(sym_name, "0x%016llx", ksyms[i]); in prog_dump()
722 strcpy(sym_name, "unknown"); in prog_dump()
739 jsonw_string(json_wtr, sym_name); in prog_dump()
744 printf("%s:\n", sym_name); in prog_dump()
/tools/perf/ui/browsers/
Dhists.c2625 char sym_name[512]; in add_callchain_toggle_opt() local
2632 hist_browser__selection_sym_name(browser, sym_name, sizeof(sym_name))) < 0) in add_callchain_toggle_opt()