/linux-master/include/linux/ |
H A D | compiler.h | 166 # define KENTRY(sym) \ 167 extern typeof(sym) sym; \ 168 static const unsigned long __kentry_##sym \ 170 __attribute__((__section__("___kentry+" #sym))) \ 171 = (unsigned long)&sym; 214 * Force the compiler to emit 'sym' as a symbol, so that we can reference 215 * it from inline assembler. Necessary in case 'sym' could be inlined 219 #define ___ADDRESSABLE(sym, __attrs) \ 221 __UNIQUE_ID(__PASTE(__addressable_,sym)) [all...] |
/linux-master/tools/perf/util/ |
H A D | symbol.h | 75 void symbol__delete(struct symbol *sym); 89 static inline size_t symbol__size(const struct symbol *sym) argument 91 return sym->end - sym->start; 107 static inline void *symbol__priv(struct symbol *sym) argument 109 return ((void *)sym) - symbol_conf.priv_size; 127 struct symbol *sym); 129 struct symbol *sym); 139 struct symbol *dso__next_symbol(struct symbol *sym); 159 size_t __symbol__fprintf_symname_offs(const struct symbol *sym, [all...] |
H A D | evsel_fprintf.c | 137 struct symbol *sym; local 145 sym = node->ms.sym; 148 if (sym && sym->ignore && print_skip_ignored) 171 printed += __symbol__fprintf_symname_offs(sym, &node_al, 175 printed += __symbol__fprintf_symname(sym, &node_al, 181 if (print_dso && (!sym || !sym->inlined)) 187 if (sym [all...] |
H A D | annotate.c | 141 void symbol__annotate_zero_histograms(struct symbol *sym) argument 143 struct annotation *notes = symbol__annotation(sym); 153 symbol__size(sym) * sizeof(struct cyc_hist)); 212 struct symbol *sym = ms->sym; local 220 if ((addr < sym->start || addr >= sym->end) && 221 (addr != sym->end || sym->start != sym 268 symbol__cycles_hist(struct symbol *sym) argument 286 symbol__hists(struct symbol *sym, int nr_hists) argument 309 struct symbol *sym = ms->sym; local 318 symbol__account_cycles(u64 addr, u64 start, struct symbol *sym, unsigned cycles) argument 696 annotation_line__print(struct annotation_line *al, struct symbol *sym, u64 start, struct evsel *evsel, u64 len, int min_pcnt, int printed, int max_lines, struct annotation_line *queue, int addr_fmt_width, int percent_type) argument 861 symbol__calc_percent(struct symbol *sym, struct evsel *evsel) argument 900 struct symbol *sym = ms->sym; local 1061 symbol__annotate_hits(struct symbol *sym, struct evsel *evsel) argument 1095 struct symbol *sym = ms->sym; local 1232 symbol__annotate_fprintf2(struct symbol *sym, FILE *fp) argument 1288 symbol__annotate_zero_histogram(struct symbol *sym, int evidx) argument 1296 symbol__annotate_decay_histogram(struct symbol *sym, int evidx) argument 1356 disasm_line__is_valid_local_jump(struct disasm_line *dl, struct symbol *sym) argument 1367 annotation__mark_jump_targets(struct annotation *notes, struct symbol *sym) argument 1447 annotation__init_column_widths(struct annotation *notes, struct symbol *sym) argument 1526 struct symbol *sym = ms->sym; local 1561 struct symbol *sym = ms->sym; local 1843 struct symbol *sym = ms->sym; local 2176 find_disasm_line(struct symbol *sym, u64 ip, bool allow_update) argument 2539 process_basic_block(struct basic_block_data *bb_data, struct basic_block_link *link, struct symbol *sym, u64 target) argument 2651 annotate_get_basic_blocks(struct symbol *sym, s64 src, s64 dst, struct list_head *head) argument [all...] |
H A D | call-path.h | 18 * @sym: symbol of function called 19 * @ip: only if sym is null, the ip of the function 30 struct symbol *sym; member in struct:call_path 66 struct symbol *sym, u64 ip, u64 ks);
|
/linux-master/scripts/kconfig/ |
H A D | mconf.c | 455 struct symbol *sym; local 473 sym = menu->sym; 475 if (!sym) { 515 type = sym_get_type(sym); 516 if (sym_is_choice(sym)) { 517 struct symbol *def_sym = sym_get_choice_value(sym); 522 if (menu_is_visible(child) && child->sym == def_sym) 526 val = sym_get_tristate_value(sym); 527 if (sym_is_changeable(sym)) { 771 struct symbol *sym; local [all...] |
H A D | expr.h | 34 struct symbol *sym; member in union:expr_data 47 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 193 #define for_all_properties(sym, st, tok) \ 194 for (st = sym->prop; st; st = st->next) \ 196 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) 197 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) 198 #define for_all_prompts(sym, st) \ 199 for (st = sym 222 struct symbol *sym; member in struct:menu [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | sys.c | 52 #define __SYSCALL(nr, sym) asmlinkage long __arm64_##sym(const struct pt_regs *); 56 #define __SYSCALL(nr, sym) [nr] = __arm64_##sym,
|
/linux-master/tools/perf/scripts/python/ |
H A D | net_dropmonitor.py | 57 (sym, off) = get_sym(i) 58 if sym == None: 59 sym = i 60 print("%25s %25s %25s" % (sym, off, drop_log[i]))
|
/linux-master/samples/bpf/ |
H A D | spintest_user.c | 18 struct ksym *sym; local 61 sym = ksym_search(value); 63 if (!sym) { 68 printf(" %s", sym->name);
|
/linux-master/arch/hexagon/kernel/ |
H A D | module.c | 72 Elf32_Sym *sym; local 87 sym = sym_base + ELF32_R_SYM(rela[i].r_info); 93 value = sym->st_value + rela[i].r_addend; 97 sym->st_name ? 98 &strtab[sym->st_name] : "(anonymous)"); 110 sym->st_name ? 111 &strtab[sym->st_name] : "(anonymous)");
|
/linux-master/arch/x86/tools/ |
H A D | relocs.c | 20 static int sym_index(Elf_Sym *sym); 165 const char *name = "unknown sym type name"; 182 const char *name = "unknown sym bind name"; 200 const char *name = "unknown sym visibility name"; 274 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) argument 279 if (sym->st_name) 280 name = sym_strtab + sym->st_name; 282 name = sec_name(sym_index(sym)); 296 Elf_Sym *sym; local 305 for (sym 354 sym_index(Elf_Sym *sym) argument 529 Elf_Sym *sym = &sec->symtab[j]; local 603 Elf_Sym *sym; local 661 Elf_Sym *sym; local 721 walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname)) argument 755 Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; local 841 do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, const char *symname) argument 928 do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname) argument 971 do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname) argument 1152 do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, const char *symname) argument [all...] |
/linux-master/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 195 struct symbol *sym; local 290 map__for_each_symbol(args.vmlinux_map, sym, nd) { 293 sym = rb_entry(nd, struct symbol, rb_node); 295 if (sym->start == sym->end) 298 mem_start = map__unmap_ip(args.vmlinux_map, sym->start); 299 mem_end = map__unmap_ip(args.vmlinux_map, sym->end); 306 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { 319 mem_start, sym->name, mem_end, 331 sym [all...] |
H A D | symbols.c | 120 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); local 122 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) 126 if (last_sym && sym->start < last_sym->end) { 129 symbol__fprintf(sym, stderr); 133 if (sym->start == sym->end) { 135 symbol__fprintf(sym, stderr); 138 last_sym = sym;
|
/linux-master/scripts/ |
H A D | kallsyms.c | 41 unsigned char sym[]; member in struct:sym_entry 85 return (char *)s->sym + 1; 105 static void check_symbol_range(const char *sym, unsigned long long addr, argument 114 if (strcmp(sym, ar->start_sym) == 0) { 117 } else if (strcmp(sym, ar->end_sym) == 0) { 130 struct sym_entry *sym; local 176 sym = malloc(sizeof(*sym) + len + 1); 177 if (!sym) { 182 sym 273 struct sym_entry *sym; local [all...] |
H A D | export_report.pl | 32 foreach my $sym (sort numerically @{$list}) { 33 my ($symbol, $no) = split /\s+/, $sym; 130 my $sym = (split /([,"])/,)[4]; 131 my ($module, $value, $symbol, $gpl) = @{$SYMBOL{$sym}}; 132 $SYMBOL{ $sym } = [ $module, $value+1, $symbol, $gpl]; 133 push(@{$MODULE{$thismod}} , $sym);
|
/linux-master/arch/csky/kernel/ |
H A D | module.c | 54 Elf32_Sym *sym; local 62 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr 68 *location = rel[i].r_addend + sym->st_value; 72 *location = rel[i].r_addend + sym->st_value 83 ((rel[i].r_addend + sym->st_value) >> 16); 88 ((rel[i].r_addend + sym->st_value) & 0xffff);
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 251 static void hash_add_symbol(struct symbol *sym) argument 255 hash = tdb_hash(sym->name) % SYMBOL_HASH_SIZE; 256 sym->next = symbolhash[hash]; 257 symbolhash[hash] = sym; 262 struct symbol *sym; local 264 sym = alloc_symbol(name); 265 sym->weak = weak; 267 list_add_tail(&sym->list, &mod->unresolved_symbols); 334 void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym) argument 336 return sym_get_data_by_offset(info, get_secindex(info, sym), 382 sym_set_crc(struct symbol *sym, unsigned int crc) argument 420 Elf_Sym *sym; local 608 handle_symbol(struct module *mod, struct elf_info *info, const Elf_Sym *sym, const char *symname) argument 697 sym_name(struct elf_info *elf, Elf_Sym *sym) argument 1003 find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) argument 1078 check_export_symbol(struct module *mod, struct elf_info *elf, Elf_Addr faddr, const char *secname, Elf_Sym *sym) argument 1148 check_section_mismatch(struct module *mod, struct elf_info *elf, Elf_Sym *sym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, Elf_Addr taddr) argument 1223 addend_arm_rel(void *loc, Elf_Sym *sym, unsigned int r_type) argument 1547 struct symbol *sym; local 1619 Elf_Sym *sym; local 1784 struct symbol *sym = find_symbol(name); local 1864 struct symbol *sym; local 2134 struct symbol *sym; local [all...] |
/linux-master/tools/perf/ui/gtk/ |
H A D | annotate.c | 28 static int perf_gtk__get_percent(char *buf, size_t size, struct symbol *sym, argument 44 notes = symbol__annotation(sym); 68 u64 start = map__rip_2objdump(ms->map, ms->sym->start); 106 struct symbol *sym = ms->sym; local 116 notes = symbol__annotation(sym); 145 sym, pos, 150 ret = perf_gtk__get_percent(s, sizeof(s), sym, pos, 176 struct symbol *sym = ms->sym; local [all...] |
/linux-master/arch/arm/include/asm/ |
H A D | assembler.h | 203 * Assembly version of "adr rd, BSYM(sym)". This should only be used to 208 .macro badr\c, rd, sym 210 adr\c \rd, \sym + 1 212 adr\c \rd, \sym 595 .macro __adldst_l, op, reg, sym, tmp, c variable 600 .La\@: .long \sym - .Lpc\@ 606 movw\c \tmp, #:lower16:\sym - .Lpc\@ 607 movt\c \tmp, #:upper16:\sym - .Lpc\@ 649 * @sym: name of the symbol 652 .macro adr_l, dst:req, sym [all...] |
/linux-master/tools/perf/arch/loongarch/annotate/ |
H A D | instructions.c | 44 ops->target.sym = target.ms.sym; 57 struct symbol *sym = ms->sym; local 76 start = map__unmap_ip(map, sym->start); 77 end = map__unmap_ip(map, sym->end); 83 ops->target.sym = target.ms.sym;
|
/linux-master/tools/perf/tests/shell/ |
H A D | test_arm_callgraph_fp.sh | 51 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 52 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 | \ 53 awk '{ if ($2 != "") sym[i++] = $2 } END { if (sym[0] != "leaf" || 54 sym[1] != "parent" || 55 sym[2] != "leafloop") exit 1 }'
|
/linux-master/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | ctrl.c | 48 nfp_abm_ctrl_stat(struct nfp_abm_link *alink, const struct nfp_rtsym *sym, argument 62 err = __nfp_rtsym_readq(cpp, sym, 3, 0, sym_offset, &val); 64 err = __nfp_rtsym_readl(cpp, sym, 3, 0, sym_offset, &val32); 329 const struct nfp_rtsym *sym; local 331 sym = nfp_rtsym_lookup(pf->rtbl, name); 332 if (!sym) { 336 if (nfp_rtsym_size(sym) != size) { 339 name, size, nfp_rtsym_size(sym)); 343 return sym; 362 const struct nfp_rtsym *sym; local [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | xlated_dumper.c | 28 struct kernel_sym *sym; local 48 sym = &dd->sym_mapping[dd->sym_count]; 51 sym->module[0] = '\0'; 53 if (sscanf(buff, "%p %*c %s [%[^]]s", &address, sym->name, sym->module) < 2) 55 sym->address = (unsigned long)address; 56 if (!strcmp(sym->name, "__bpf_call_base")) { 57 dd->address_call_base = sym->address; 59 if (!sym->address) 62 if (sym 80 struct kernel_sym sym = { local 145 print_call_pcrel(struct dump_data *dd, struct kernel_sym *sym, unsigned long address, const struct bpf_insn *insn) argument 163 print_call_helper(struct dump_data *dd, struct kernel_sym *sym, unsigned long address) argument 181 struct kernel_sym *sym; local [all...] |
/linux-master/arch/powerpc/tools/ |
H A D | unrel_branch_check.sh | 47 while IFS=: read -r from branch to sym; do 73 printf '%s %s-> %s %s\n' "$from" "$branch" "$to" "$sym"
|