Searched refs:STT_FUNC (Results 1 – 19 of 19) sorted by relevance
| /tools/lib/symbol/ |
| A D | kallsyms.c | 11 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; in kallsyms2elf_type()
|
| /tools/objtool/include/objtool/ |
| A D | check.h | 90 if (sym && sym->type != STT_FUNC) in insn_func()
|
| /tools/perf/util/include/linux/ |
| A D | linkage.h | 20 #define SYM_T_FUNC STT_FUNC
|
| /tools/lib/bpf/ |
| A D | elf.c | 318 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 D | libbpf.c | 888 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 D | symbols.c | 128 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) in test_dso()
|
| A D | hists_common.c | 143 STB_GLOBAL, STT_FUNC, fsym->name); in setup_fake_machine()
|
| /tools/testing/selftests/vDSO/ |
| A D | parse_vdso.c | 244 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in check_sym()
|
| /tools/objtool/ |
| A D | check.c | 503 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 D | elf.c | 186 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 D | genelf.c | 67 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
| A D | symbol-elf.c | 120 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 D | symbol.c | 1567 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 D | annotate.c | 236 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); in __symbol__inc_addr_samples()
|
| A D | probe-event.c | 3192 if (sym->type != STT_FUNC) in find_probe_trace_events_from_map()
|
| /tools/include/uapi/linux/ |
| A D | elf.h | 135 #define STT_FUNC 2 macro
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | uprobe_multi_test.c | 607 &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 D | fill_link_info.c | 572 (unsigned long **) &offsets, STT_FUNC); in test_uprobe_multi_fill_link_info()
|
| /tools/objtool/arch/x86/ |
| A D | decode.c | 676 if (sym && sym->type == STT_FUNC) { in arch_decode_instruction()
|
Completed in 67 milliseconds