Home
last modified time | relevance | path

Searched refs:STT_FUNC (Results 1 – 19 of 19) sorted by relevance

/tools/lib/symbol/
A Dkallsyms.c11 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; in kallsyms2elf_type()
/tools/objtool/include/objtool/
A Dcheck.h90 if (sym && sym->type != STT_FUNC) in insn_func()
/tools/perf/util/include/linux/
A Dlinkage.h20 #define SYM_T_FUNC STT_FUNC
/tools/lib/bpf/
A Delf.c318 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset()
522 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()
A Dlibbpf.c888 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in bpf_object__add_programs()
4027 return (bind == STB_GLOBAL || bind == STB_WEAK) && type == STT_FUNC; in sym_is_subprog()
12192 err = elf_resolve_syms_offsets(path, cnt, syms, &resolved_offsets, STT_FUNC); in bpf_program__attach_uprobe_multi()
/tools/perf/tests/
A Dsymbols.c128 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) in test_dso()
A Dhists_common.c143 STB_GLOBAL, STT_FUNC, fsym->name); in setup_fake_machine()
/tools/testing/selftests/vDSO/
A Dparse_vdso.c244 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in check_sym()
/tools/objtool/
A Dcheck.c503 if (func->type != STT_NOTYPE && func->type != STT_FUNC) in decode_instructions()
524 if (func->type == STT_FUNC && in decode_instructions()
831 if (opts.module && sym && sym->type == STT_FUNC && in create_ibt_endbr_seal_sections()
866 if (sym->type != STT_FUNC) in create_cfi_sections()
882 if (sym->type != STT_FUNC) in create_cfi_sections()
999 case STT_FUNC: in add_ignores()
1672 if (func && insn_call_dest(insn)->type != STT_FUNC) { in add_call_destinations()
2172 if (func->type != STT_FUNC) in add_jump_table_alts()
4188 if (func->type != STT_FUNC) in add_prefix_symbols()
4232 if (func->type != STT_FUNC) in validate_section()
A Delf.c186 if (iter->offset == offset && iter->type == STT_FUNC) in find_func_by_offset()
252 if (iter->type == STT_FUNC) in find_func_containing()
521 if (sym->type != STT_FUNC) in read_symbols()
/tools/perf/util/
A Dgenelf.c67 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
A Dsymbol-elf.c120 return (elf_sym__type(sym) == STT_FUNC || in elf_sym__is_function()
597 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols()
651 plt_sym = symbol__new(shdr_plt.sh_offset, plt_header_size, STB_GLOBAL, STT_FUNC, ".plt"); in dso__synthesize_plt_symbols()
771 f = symbol__new(plt_offset, plt_entry_size, STB_GLOBAL, STT_FUNC, sympltname); in dso__synthesize_plt_symbols()
1740 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
A Dsymbol.c1567 sym = symbol__new(start, size, STB_GLOBAL, STT_FUNC, line + len); in dso__load_perf_map()
1694 symbol = symbol__new(start, len, bfd2elf_binding(sym), STT_FUNC, in dso__load_bfd_symbols()
A Dannotate.c236 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); in __symbol__inc_addr_samples()
A Dprobe-event.c3192 if (sym->type != STT_FUNC) in find_probe_trace_events_from_map()
/tools/include/uapi/linux/
A Delf.h135 #define STT_FUNC 2 macro
/tools/testing/selftests/bpf/prog_tests/
A Duprobe_multi_test.c607 &tmp_offsets, STT_FUNC); in attach_uprobe_fail_refctr()
674 err = elf_resolve_syms_offsets(path, 3, syms, (unsigned long **) &offsets, STT_FUNC); in __test_link_api()
A Dfill_link_info.c572 (unsigned long **) &offsets, STT_FUNC); in test_uprobe_multi_fill_link_info()
/tools/objtool/arch/x86/
A Ddecode.c676 if (sym && sym->type == STT_FUNC) { in arch_decode_instruction()

Completed in 74 milliseconds