Searched refs:sym (Results 126 - 150 of 290) sorted by relevance

1234567891011>>

/linux-master/arch/parisc/kernel/
H A Dmodule.c63 me->name, strtab + sym->st_name, (unsigned long)val, bits); \
497 Elf32_Sym *sym; local
516 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr
518 if (!sym->st_value) {
520 me->name, strtab + sym->st_name);
526 val = sym->st_value;
532 strtab + sym->st_name,
596 val = get_stub(me, sym->st_value, addend,
611 val = get_stub(me, sym->st_value, addend,
642 Elf64_Sym *sym; local
[all...]
/linux-master/arch/mips/vdso/
H A Dgenvdso.h63 const ELF(Sym) *sym;
110 sym = symtab + (j * st_entsize);
111 name = strtab + swap_uint32(sym->st_name);
114 offset = FUNC(swap_uint)(sym->st_value);
/linux-master/arch/arm64/kernel/
H A Dsys32.c126 #define __SYSCALL(nr, sym) asmlinkage long __arm64_##sym(const struct pt_regs *);
130 #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
/linux-master/samples/bpf/
H A Dsampleip_user.c91 struct ksym *sym; local
112 sym = ksym_search(counts[i].ip);
113 if (!sym) {
118 printf("0x%-17llx %-32s %u\n", counts[i].ip, sym->name,
H A Dtrace_event_user.c29 struct ksym *sym; local
33 sym = ksym_search(addr);
34 if (!sym) {
39 printf("%s;", sym->name);
40 if (!strstr(sym->name, "sys_read"))
42 else if (!strstr(sym->name, "sys_write"))
/linux-master/tools/perf/util/
H A Daddr_location.c12 al->sym = NULL;
H A Ddb-export.c160 int db_export__symbol(struct db_export *dbe, struct symbol *sym, argument
163 u64 *sym_db_id = symbol__priv(sym);
171 return dbe->export_symbol(dbe, sym, dso);
189 if (!al->sym) {
190 al->sym = symbol__new(al->addr, 0, 0, 0, "unknown");
191 if (al->sym)
192 dso__insert_symbol(dso, al->sym);
195 if (al->sym) {
196 u64 *db_id = symbol__priv(al->sym);
198 err = db_export__symbol(dbe, al->sym, ds
[all...]
H A Dsrcline.c289 struct symbol *sym)
292 struct symbol *inline_sym = new_inline_sym(dso, sym, a2l->funcname);
304 struct symbol *sym)
331 if (node && inline_list__append_dso_a2l(dso, node, sym))
342 if (inline_list__append_dso_a2l(dso, node, sym))
624 struct symbol *sym,
629 struct symbol *inline_sym = new_inline_sym(dso, sym, function);
639 struct symbol *sym __maybe_unused)
736 if (node && inline_list__append_record(dso, node, sym,
759 if (inline_list__append_record(dso, node, sym,
287 inline_list__append_dso_a2l(struct dso *dso, struct inline_node *node, struct symbol *sym) argument
301 addr2line(const char *dso_name, u64 addr, char **file, unsigned int *line, struct dso *dso, bool unwind_inlines, struct inline_node *node, struct symbol *sym) argument
622 inline_list__append_record(struct dso *dso, struct inline_node *node, struct symbol *sym, const char *function, const char *filename, unsigned int line_nr) argument
794 addr2inlines(const char *dso_name, u64 addr, struct dso *dso, struct symbol *sym) argument
818 __get_srcline(struct dso *dso, u64 addr, struct symbol *sym, bool show_sym, bool show_addr, bool unwind_inlines, u64 ip) argument
908 get_srcline(struct dso *dso, u64 addr, struct symbol *sym, bool show_sym, bool show_addr, u64 ip) argument
983 dso__parse_addr_inlines(struct dso *dso, u64 addr, struct symbol *sym) argument
[all...]
H A Dsymbol.c281 pr_debug4("%s sym:%s end:%#" PRIx64 "\n",
294 struct symbol *sym = calloc(1, (symbol_conf.priv_size + local
295 sizeof(*sym) + namelen));
296 if (sym == NULL)
301 struct annotation *notes = (void *)sym;
304 sym = ((void *)sym) + symbol_conf.priv_size;
307 sym->start = start;
308 sym->end = len ? start + len : start;
309 sym
320 symbol__delete(struct symbol *sym) argument
345 __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym, bool kernel) argument
379 symbols__insert(struct rb_root_cached *symbols, struct symbol *sym) argument
427 symbols__next(struct symbol *sym) argument
540 dso__insert_symbol(struct dso *dso, struct symbol *sym) argument
542 __symbols__insert(dso__symbols(dso), sym, dso__kernel(dso)); local
552 dso__delete_symbol(struct dso *dso, struct symbol *sym) argument
584 dso__next_symbol(struct symbol *sym) argument
750 struct symbol *sym; local
1525 struct symbol *sym; local
1599 asymbol **symbols, *sym; local
[all...]
H A Dbpf_lock_contention.c60 struct symbol *sym; local
65 sym = machine__find_kernel_symbol_by_name(con->machine,
68 if (sym == NULL) {
81 addrs[con->filters->nr_addrs++] = map__unmap_ip(kmap, sym->start);
320 struct symbol *sym; local
352 sym = machine__find_kernel_symbol(machine, key->lock_addr_or_cgroup, &kmap);
353 if (sym)
354 return sym->name;
382 sym = machine__find_kernel_symbol(machine, addr, &kmap);
384 if (sym) {
[all...]
H A Dblock-range.c303 * br->coverage / br->sym->max_coverage
313 struct symbol *sym; local
323 sym = br->sym;
324 if (!sym)
327 branch = symbol__annotation(sym)->branch;
/linux-master/arch/riscv/kernel/
H A Delf_kexec.c390 const Elf_Sym *sym; /* symbol to relocate */ local
396 sym = (void *)pi->ehdr + symtab->sh_offset;
397 sym += ELF64_R_SYM(relas[i].r_info);
399 if (sym->st_name)
400 name = strtab + sym->st_name;
402 name = shstrtab + sechdrs[sym->st_shndx].sh_name;
408 if (sym->st_shndx == SHN_ABS)
410 else if (sym->st_shndx >= pi->ehdr->e_shnum) {
412 sym->st_shndx, name);
415 sec_base = pi->sechdrs[sym
[all...]
/linux-master/arch/arm64/include/asm/
H A Dftrace.h183 static inline bool arch_syscall_match_sym_name(const char *sym, argument
191 return !strcmp(sym + 8, name);
/linux-master/scripts/
H A Dbloat-o-meter29 sym = {}
49 sym[name] = sym.get(name, 0) + int(size, 16)
50 return sym
H A Dinsert-sys-cert.c60 struct sym { struct
94 struct sym *s)
135 Elf_Sym *sym, *symtab_start; local
148 sym = &symtab_start[i];
149 symname = strtab + sym->st_name;
151 return sym;
158 char *name, struct sym *s)
260 static void print_sym(Elf_Ehdr *hdr, struct sym *s)
262 info("sym: %s\n", s->name);
287 struct sym cert_sy
[all...]
H A Dsorttable.h270 Elf_Sym *sym; local
429 for (sym = (void *)ehdr + _r(&symtab_sec->sh_offset);
430 sym < sym + _r(&symtab_sec->sh_size) / sizeof(Elf_Sym);
431 sym++) {
432 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT)
434 if (!strcmp(strtab + r(&sym->st_name),
436 sort_needed_sym = sym;
448 sort_needed_sec = &shdr[get_secindex(r2(&sym->st_shndx),
/linux-master/arch/x86/kernel/
H A Dmodule.c48 Elf32_Sym *sym; local
59 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr
65 *location += sym->st_value;
70 *location += sym->st_value - (uint32_t)location;
91 Elf64_Sym *sym; local
108 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr
113 sym->st_value, rel[i].r_addend, (u64)loc);
115 val = sym->st_value + rel[i].r_addend;
/linux-master/arch/xtensa/kernel/
H A Dvmlinux.lds.S36 vector name and section kind and construct "sym" and "section" using
45 #define RELOCATE_ENTRY(sym, section) \
46 LONG(sym ## _start); \
47 LONG(sym ## _end); \
63 #define SECTION_VECTOR4(sym, section, addr, prevsec) \
67 sym ## _start = ABSOLUTE(.); \
69 sym ## _end = ABSOLUTE(.); \
/linux-master/arch/mips/kernel/
H A Dvpe.c431 Elf32_Sym *sym; local
444 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr
447 if (!sym->st_value) {
449 me->name, strtab + sym->st_name);
453 v = sym->st_value;
460 strtab + sym->st_name);
482 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; local
496 switch (sym[i].st_shndx) {
502 size = sym[i].st_value;
503 sym[
538 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; local
553 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; local
[all...]
/linux-master/tools/perf/tests/
H A Dhists_common.c139 struct symbol *sym; local
142 sym = symbol__new(fsym->start, fsym->length,
144 if (sym == NULL) {
149 symbols__insert(dso__symbols(dso), sym); local
187 he->ms.sym->name, he->stat.period);
216 he->ms.sym->name, he->stat.period,
H A Dhists_cumulate.c22 struct symbol *sym; member in struct:sample
118 fake_samples[i].sym = al.sym;
168 #define SYM(he) (he->ms.sym->name)
172 #define CSYM(cl) (cl->ms.sym->name)
179 const char *sym; member in struct:result
186 const char *sym; member in struct:callchain_result::__anon437
226 !strcmp(SYM(he), expected[i].sym));
248 !strcmp(CSYM(clist), expected_callchain[i].node[c].sym));
/linux-master/tools/objtool/arch/x86/
H A Ddecode.c160 struct symbol *sym; local
632 if (!immr || strcmp(immr->sym->name, "pv_ops"))
637 func = disp->sym;
638 if (disp->sym->type == STT_SECTION)
639 func = find_symbol_by_offset(disp->sym->sec, reloc_addend(disp));
655 sym = find_symbol_containing(sec, offset);
656 if (sym && sym->type == STT_FUNC) {
829 bool arch_is_retpoline(struct symbol *sym) argument
831 return !strncmp(sym
834 arch_is_rethunk(struct symbol *sym) argument
839 arch_is_embedded_insn(struct symbol *sym) argument
[all...]
/linux-master/arch/powerpc/kernel/
H A Dmodule_64.c61 static unsigned int local_entry_offset(const Elf64_Sym *sym) argument
63 /* sym->st_other indicates offset to local entry point
66 return PPC64_LOCAL_ENTRY_OFFSET(sym->st_other);
74 static unsigned int local_entry_offset(const Elf64_Sym *sym) argument
269 Elf64_Sym *sym; local
272 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr
275 if (sym->st_shndx == pcpu &&
772 Elf64_Sym *sym; local
782 sym = find_dot_toc(sechdrs, strtab, symindex);
785 if (sym)
[all...]
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c299 if (node->ms.sym) {
300 HV *sym = newHV(); local
301 if (!sym) {
305 if (!hv_stores(sym, "start", newSVuv(node->ms.sym->start)) ||
306 !hv_stores(sym, "end", newSVuv(node->ms.sym->end)) ||
307 !hv_stores(sym, "binding", newSVuv(node->ms.sym->binding)) ||
308 !hv_stores(sym, "nam
[all...]
/linux-master/tools/perf/
H A Dbuiltin-top.c114 struct symbol *sym; local
120 if (!he || !he->ms.sym)
125 sym = he->ms.sym;
134 "path\n", sym->name);
139 notes = symbol__annotation(sym);
142 if (!symbol__hists(sym, top->evlist->core.nr_entries)) {
145 sym->name);
156 pr_err("Couldn't annotate %s: %s\n", sym->name, msg);
165 struct symbol *sym local
169 ui__warn_map_erange(struct map *map, struct symbol *sym, u64 ip) argument
204 struct symbol *sym = he->ms.sym; variable in typeref:struct:symbol
440 struct symbol *sym = top->sym_filter_entry->ms.sym; local
[all...]

Completed in 365 milliseconds

1234567891011>>