Home
last modified time | relevance | path

Searched refs:symbols (Results 1 - 25 of 95) sorted by relevance

1234

/kernel/linux/linux-6.6/tools/perf/util/
H A Dsymbol.c191 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument
199 nd = rb_first_cached(symbols); in symbols__fixup_duplicate()
216 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate()
223 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate()
229 /* Update zero-sized symbols using the address of the next symbol */
230 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument
232 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end()
252 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end()
288 * We still haven't the actual symbols, so guess the in maps__fixup_end()
338 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument
351 __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym, bool kernel) __symbols__insert() argument
385 symbols__insert(struct rb_root_cached *symbols, struct symbol *sym) symbols__insert() argument
390 symbols__find(struct rb_root_cached *symbols, u64 ip) symbols__find() argument
413 symbols__first(struct rb_root_cached *symbols) symbols__first() argument
423 symbols__last(struct rb_root_cached *symbols) symbols__last() argument
491 symbols__find_by_name(struct symbol *symbols[], size_t symbols_len, const char *name, enum symbol_tag_include includes, size_t *found_idx) symbols__find_by_name() argument
1690 asymbol **symbols, *sym; dso__load_bfd_symbols() local
[all...]
H A Dsymbol.h59 /** Set true for kernel symbols of idle routines. */
76 void symbols__delete(struct rb_root_cached *symbols);
78 /* symbols__for_each_entry - iterate over symbols (rb_root)
80 * @symbols: the rb_root of symbols
84 #define symbols__for_each_entry(symbols, pos, nd) \
85 for (nd = rb_first_cached(symbols); \
187 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
189 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
190 void symbols__fixup_duplicate(struct rb_root_cached *symbols);
[all...]
H A Dmap.c219 * symbols we'll know where it starts and ends.
229 * ->end will be filled after we load all the symbols in map__new2()
320 struct rb_root_cached *symbols = &dso->symbols; in map__fixup_start() local
321 struct rb_node *nd = rb_first_cached(symbols); in map__fixup_start()
333 struct rb_root_cached *symbols = &dso->symbols; in map__fixup_end() local
334 struct rb_node *nd = rb_last(&symbols->rb_root); in map__fixup_end()
363 pr_debug(", continuing without symbols\n"); in map__load()
376 pr_debug("no symbols foun in map__load()
[all...]
H A Dkvm-stat.h135 #define define_exit_reasons_table(name, symbols) \
137 symbols, { -1, NULL } \
H A Ddso.h152 struct rb_root_cached symbols; member
222 /* dso__for_each_symbol - iterate over the symbols of given type
224 * @dso: the 'struct dso *' in which symbols are iterated
229 symbols__for_each_entry(&(dso)->symbols, pos, n)
267 return !RB_EMPTY_ROOT(&dso->symbols.rb_root); in dso__has_symbols()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsymbol.c181 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument
189 nd = rb_first_cached(symbols); in symbols__fixup_duplicate()
204 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate()
209 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate()
215 /* Update zero-sized symbols using the address of the next symbol */
216 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument
218 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end()
238 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end()
274 * We still haven't the actual symbols, so guess the in maps__fixup_end()
317 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument
330 __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym, bool kernel) __symbols__insert() argument
364 symbols__insert(struct rb_root_cached *symbols, struct symbol *sym) symbols__insert() argument
369 symbols__find(struct rb_root_cached *symbols, u64 ip) symbols__find() argument
392 symbols__first(struct rb_root_cached *symbols) symbols__first() argument
402 symbols__last(struct rb_root_cached *symbols) symbols__last() argument
422 symbols__insert_by_name(struct rb_root_cached *symbols, struct symbol *sym) symbols__insert_by_name() argument
445 symbols__sort_by_name(struct rb_root_cached *symbols, struct rb_root_cached *source) symbols__sort_by_name() argument
473 symbols__find_by_name(struct rb_root_cached *symbols, const char *name, enum symbol_tag_include includes) symbols__find_by_name() argument
1583 asymbol **symbols, *sym; dso__load_bfd_symbols() local
[all...]
H A Dsymbol.h63 void symbols__delete(struct rb_root_cached *symbols);
65 /* symbols__for_each_entry - iterate over symbols (rb_root)
67 * @symbols: the rb_root of symbols
71 #define symbols__for_each_entry(symbols, pos, nd) \
72 for (nd = rb_first_cached(symbols); \
191 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym,
193 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym);
194 void symbols__fixup_duplicate(struct rb_root_cached *symbols);
195 void symbols__fixup_end(struct rb_root_cached *symbols, boo
[all...]
H A Dkvm-stat.h131 #define define_exit_reasons_table(name, symbols) \
133 symbols, { -1, NULL } \
H A Ddso.h152 struct rb_root_cached symbols; member
217 /* dso__for_each_symbol - iterate over the symbols of given type
219 * @dso: the 'struct dso *' in which symbols itereated
224 symbols__for_each_entry(&(dso)->symbols, pos, n)
256 return !RB_EMPTY_ROOT(&dso->symbols.rb_root); in dso__has_symbols()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Delf.c107 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new()
286 * Return offsets in @poffsets for symbols specified in @syms array argument.
296 struct symbol *symbols; in elf_resolve_syms_offsets() local
304 symbols = calloc(cnt, sizeof(*symbols)); in elf_resolve_syms_offsets()
306 if (!offsets || !symbols) { in elf_resolve_syms_offsets()
312 symbols[i].name = syms[i]; in elf_resolve_syms_offsets()
313 symbols[i].idx = i; in elf_resolve_syms_offsets()
316 qsort(symbols, cnt, sizeof(*symbols), symbol_cm in elf_resolve_syms_offsets()
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dextract-sys-certs.pl61 my %symbols = ();
73 $symbols{$name} = $addr;
81 print "No symbols in vmlinux, trying $sysmap\n";
89 die "No symbols available\n"
92 print "Have $nr_symbols symbols\n";
95 unless (exists($symbols{"__cert_list_start"}) &&
96 exists($symbols{"system_certificate_list_size"}));
98 my $start = Math::BigInt->new($symbols{"__cert_list_start"});
101 my $size_sym = Math::BigInt->new($symbols{"system_certificate_list_size"});
H A Dget_abi.pl45 my %symbols;
129 push @{$symbols{$content}->{file}}, " $file:" . ($ln - 1);
138 $symbols{$w}->{xref} = $what;
149 push @{$data{$nametag}->{symbols}}, $content if ($data{$nametag}->{what});
243 $symbols{$w}->{xref} = $what;
428 if ($data{$what}->{symbols}) {
431 foreach my $content(@{$data{$what}->{symbols}}) {
432 my $label = $data{$symbols{$content}->{xref}}->{label};
452 # Searches for ABI symbols
515 foreach my $what(sort keys %symbols) {
[all...]
H A Dcheckkconfigsymbols.py4 """Find Kconfig symbols that are referenced but not defined."""
45 usage = "Run this tool to detect Kconfig symbols that are referenced but " \
57 "undefined Kconfig symbols")
61 help="diff undefined symbols between two commits "
66 help="find and show commits that may cause symbols to be "
75 help="print a list of max. 10 string-similar symbols")
126 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims)))
128 print("%s: no similar symbols found" % yel("Similar symbols"))
131 # dictionary of (un)defined symbols
[all...]
H A Dfaddr2line76 local start_kernel_addr=$(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' |
120 # Go through each of the object's symbols which match the func name.
181 done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v sec=$sym_sec '$7 == sec' | sort --key=2)
262 done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v fn=$sym_name '$4 == "FUNC" && $8 == fn')
/kernel/linux/linux-6.6/scripts/
H A Dextract-sys-certs.pl61 my %symbols = ();
73 $symbols{$name} = $addr;
81 print "No symbols in vmlinux, trying $sysmap\n";
89 die "No symbols available\n"
92 print "Have $nr_symbols symbols\n";
95 unless (exists($symbols{"__cert_list_start"}) &&
96 exists($symbols{"system_certificate_list_size"}));
98 my $start = Math::BigInt->new($symbols{"__cert_list_start"});
101 my $size_sym = Math::BigInt->new($symbols{"system_certificate_list_size"});
H A Dget_abi.pl65 my %symbols;
152 push @{$symbols{$content}->{file}}, " $file:" . ($ln - 1);
161 $symbols{$w}->{xref} = $what;
172 push @{$data{$nametag}->{symbols}}, $content if ($data{$nametag}->{what});
267 $symbols{$w}->{xref} = $what;
313 my $symbols = qr { ([\x01-\x08\x0e-\x1f\x21-\x2f\x3a-\x40\x7b-\xff]) }x;
359 $name =~ s/$symbols/\\$1/g;
442 # Seek for cross reference symbols like /sys/...
450 $xref =~ s/$symbols/\\$1/g;
484 if ($data{$what}->{symbols}) {
[all...]
H A Dcheckkconfigsymbols.py4 """Find Kconfig symbols that are referenced but not defined."""
44 usage = "Run this tool to detect Kconfig symbols that are referenced but " \
56 "undefined Kconfig symbols")
60 help="diff undefined symbols between two commits "
65 help="find and show commits that may cause symbols to be "
74 help="print a list of max. 10 string-similar symbols")
128 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims)))
130 print("%s: no similar symbols found" % yel("Similar symbols"))
133 # dictionary of (un)defined symbols
[all...]
H A Dfaddr2line77 local start_kernel_addr=$(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' |
121 # Go through each of the object's symbols which match the func name.
182 done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v sec=$sym_sec '$7 == sec' | sort --key=2)
263 done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v fn=$sym_name '$4 == "FUNC" && $8 == fn')
/kernel/linux/linux-5.10/sound/pci/cs46xx/
H A Ddsp_spos.c130 if (ins->symbol_table.symbols[i].deleted) { in find_free_symbol_index()
145 if (!strcmp(module->symbol_table.symbols[0].symbol_name, "OVERLAYBEGINADDRESS") && in add_symbols()
146 module->symbol_table.symbols[0].symbol_type == SYMBOL_CONSTANT ) { in add_symbols()
147 module->overlay_begin_address = module->symbol_table.symbols[0].address; in add_symbols()
160 module->symbol_table.symbols[i].symbol_name, in add_symbols()
161 module->symbol_table.symbols[i].symbol_type) == NULL) { in add_symbols()
163 ins->symbol_table.symbols[ins->symbol_table.nsymbols] = module->symbol_table.symbols[i]; in add_symbols()
164 ins->symbol_table.symbols[ins->symbol_table.nsymbols].address += ((ins->code.offset / 2) - module->overlay_begin_address); in add_symbols()
165 ins->symbol_table.symbols[in in add_symbols()
[all...]
/kernel/linux/linux-6.6/sound/pci/cs46xx/
H A Ddsp_spos.c130 if (ins->symbol_table.symbols[i].deleted) { in find_free_symbol_index()
145 if (!strcmp(module->symbol_table.symbols[0].symbol_name, "OVERLAYBEGINADDRESS") && in add_symbols()
146 module->symbol_table.symbols[0].symbol_type == SYMBOL_CONSTANT ) { in add_symbols()
147 module->overlay_begin_address = module->symbol_table.symbols[0].address; in add_symbols()
160 module->symbol_table.symbols[i].symbol_name, in add_symbols()
161 module->symbol_table.symbols[i].symbol_type) == NULL) { in add_symbols()
163 ins->symbol_table.symbols[ins->symbol_table.nsymbols] = module->symbol_table.symbols[i]; in add_symbols()
164 ins->symbol_table.symbols[ins->symbol_table.nsymbols].address += ((ins->code.offset / 2) - module->overlay_begin_address); in add_symbols()
165 ins->symbol_table.symbols[in in add_symbols()
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dbpf_load.c339 static int parse_relo_and_apply(Elf_Data *data, Elf_Data *symbols, in parse_relo_and_apply() argument
358 gelf_getsym(symbols, GELF_R_SYM(rel.r_info), &sym); in parse_relo_and_apply()
400 Elf *elf, Elf_Data *symbols, int strtabidx) in load_elf_maps_section()
412 if (!symbols) in load_elf_maps_section()
427 for (i = 0, nr_maps = 0; i < symbols->d_size / sizeof(GElf_Sym); i++) { in load_elf_maps_section()
429 if (!gelf_getsym(symbols, i, &sym[nr_maps])) in load_elf_maps_section()
448 * symbols. in load_elf_maps_section()
514 Elf_Data *data, *data_prog, *data_maps = NULL, *symbols = NULL; in do_load_bpf_file() local
572 symbols = data; in do_load_bpf_file()
578 if (!symbols) { in do_load_bpf_file()
399 load_elf_maps_section(struct bpf_map_data *maps, int maps_shndx, Elf *elf, Elf_Data *symbols, int strtabidx) load_elf_maps_section() argument
[all...]
/kernel/linux/linux-6.6/include/trace/stages/
H A Dstage3_trace_output.h77 static const struct trace_print_flags symbols[] = \
79 trace_print_symbols_seq(p, value, symbols); \
94 static const struct trace_print_flags_u64 symbols[] = \
96 trace_print_symbols_seq_u64(p, value, symbols); \
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A DMakefile138 --prefix-symbols=__efistub_
142 # symbols in .init section and make sure that no absolute symbols references
145 --prefix-symbols=__efistub_
148 # For LoongArch, keep all the symbols in .init section and make sure that no
149 # absolute symbols references exist.
151 --prefix-symbols=__efistub_
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dsymbols.c71 /* dso__fprintf() prints all the symbols */ in test_dso()
75 for (nd = rb_first_cached(&dso->symbols); nd; nd = rb_next(nd)) { in test_dso()
81 /* Check for overlapping function symbols */ in test_dso()
83 pr_debug("Overlapping symbols:\n"); in test_dso()
121 pr_debug("DSO has no symbols!\n"); in test_file()
152 DEFINE_SUITE("Symbols", symbols);
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dmodule.c114 Elf_Sym *symbols; in module_frob_arch_sections() local
138 symbols = (void *) hdr + symtab->sh_offset; in module_frob_arch_sections()
141 if (symbols[i].st_shndx == SHN_UNDEF && in module_frob_arch_sections()
142 strcmp(strings + symbols[i].st_name, in module_frob_arch_sections()
145 symbols[i].st_shndx = SHN_ABS; in module_frob_arch_sections()
236 undefined symbols have been resolved. */ in apply_rela()

Completed in 17 milliseconds

1234