Home
last modified time | relevance | path

Searched full:symbols (Results 1 – 25 of 677) sorted by relevance

12345678910>>...28

/linux-6.14.4/scripts/
Dmksysmap4 # sed script to filter out symbols that are not needed for System.map,
8 # tools to retrieve the actual addresses of symbols in the kernel.
10 # readprofile starts reading symbols when _stext is found, and
18 # a: local absolute symbols
19 # N: debugging symbols
20 # U: undefined global symbols
21 # w: local weak symbols
28 # local symbols for ARM, MIPS, etc.
37 # arm64 local symbols in PIE namespace
41 # arm64 local symbols in non-VHE KVM namespace
[all …]
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
189 sims_out = yel("Similar symbols")
[all …]
Dkallsyms.c8 * Usage: kallsyms [--all-symbols] [--absolute-percpu] in.map > out.S
10 * Table compression uses all the unused char codes on the symbols and
16 * Applied to kernel symbols, this usually produces a compression ratio
76 fprintf(stderr, "Usage: kallsyms [--all-symbols] [--absolute-percpu] in.map > out.S\n"); in usage()
91 /* Keep these useful absolute symbols */ in is_ignored_symbol()
162 /* Ignore most absolute/undefined (?) symbols. */ in read_symbol()
208 /* if --all-symbols is not specified, then symbols outside the text in symbol_valid()
212 * Symbols starting with __start and __stop are used to denote in symbol_valid()
222 /* Corner case. Discard any symbols with the same value as in symbol_valid()
224 * the kallsyms data are added. If these symbols move then in symbol_valid()
[all …]
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"});
Dlink-vmlinux.sh26 # System.map is generated to document addresses of all kernel symbols
95 # The kallsyms linking does not need debug symbols included.
119 # Create ${btf_data} which contains just .BTF section but no symbols. Add
121 # deletes all symbols including __start_BTF and __stop_BTF, which will
138 # Create ${2}.o file with all symbols from the ${1} object file
144 kallsymopt="${kallsymopt} --all-symbols"
170 # Create map file with all symbols from ${1}
221 # The kallsyms linking does not need debug symbols, but the BTF does.
240 # Generate section listing all symbols and add it into vmlinux
243 # 1) Link .tmp_vmlinux1.kallsyms so it has all symbols and sections,
[all …]
/linux-6.14.4/Documentation/core-api/
Dsymbol-namespaces.rst6 export surface of in-kernel symbols exported through the family of
15 === 3 How to use Symbols exported in Namespaces
16 === 4 Loading Modules that use namespaced Symbols
24 their exported symbols into separate namespaces. That is useful for
26 limiting the availability of a set of symbols for use in other parts of the
27 kernel. As of today, modules that make use of symbols exported into namespaces,
34 Symbols can be exported into namespace using different methods. All of them are
42 exporting of kernel symbols to the kernel symbol table, variants of these are
43 available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and
60 Defining namespaces for all symbols of a subsystem can be very verbose and may
[all …]
/linux-6.14.4/Documentation/livepatch/
Dmodule-elf-format.rst32 relocation sections and symbols, which are described in this document. The
33 ELF constants used to mark livepatch symbols and relocation sections were
39 reference non-exported global symbols and non-included local symbols.
40 Relocations referencing these types of symbols cannot be left in as-is
47 symbols while taking into account its scope and what module the symbol
51 relocation sections in place of dynrela sections, and the symbols that the
52 relas reference are special livepatch symbols (see section 2 and 3). The
187 4. Livepatch symbols
190 Livepatch symbols are symbols referred to by livepatch relocation sections.
191 These are symbols accessed from new versions of functions for patched
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dtest_ksyms_weak.c18 /* existing weak symbols */
20 /* test existing weak symbols can be resolved. */
27 /* non-existent weak symbols. */
29 /* typeless symbols, default to zero. */
32 /* typed symbols, default to zero. */
41 /* tests existing symbols. */ in pass_handler()
47 /* tests non-existent symbols. */ in pass_handler()
50 /* tests non-existent symbols. */ in pass_handler()
/linux-6.14.4/Documentation/kbuild/
Dkconfig.rst19 New kernel releases often introduce new config symbols. Often more
20 important, new kernel releases may rename config symbols. When
24 symbols have been introduced.
26 To see a list of new config symbols, use::
31 and the config program will list any new symbols, one per line.
60 symbols in the config input.
66 If you set ``CONFIG_`` in the environment, Kconfig will prefix all symbols
75 that contains config symbols that the user requires to be set to a
84 config files containing just the config symbols that you are interested
86 including symbols of your miniconfig file.
[all …]
Dmodules.rst398 Module.symvers contains a list of all exported symbols from a kernel
401 Symbols From the Kernel (vmlinux + modules)
405 generated. Module.symvers contains all exported symbols from
423 1) It lists all exported symbols from vmlinux and all modules.
429 Exported symbols have information stored in __ksymtab or __ksymtab_gpl
433 symbols will be added to the __kcrctab or __kcrctab_gpl.
436 CONFIG_MODVERSIONS), imported symbols will have their symbol name and
438 mode only supports symbols of length up to 64 bytes.
441 CONFIG_MODVERSIONS and CONFIG_RUST at the same time), imported symbols
444 these symbols will be recorded in the __version_ext_crcs section.
[all …]
Dkconfig-language.rst20 | +- Set version information on all module symbols
35 bool "Set version information on all module symbols"
145 symbols.
152 In general use select only for non-visible symbols
153 (no prompts anywhere) and for symbols with no dependencies.
222 false, the menu block is not displayed to the user (the symbols
223 contained there can still be selected by other symbols, though). It is
230 and hex symbols. The user can only input a value which is larger than
242 enables the third modular state for all config symbols.
249 the input range of tristate symbols. The tristate logic used in the
[all …]
/linux-6.14.4/fs/ntfs3/lib/
Ddecompress_common.c19 * decoding of prefix-encoded symbols using read_huffsym().
25 * code or not until all symbols have been decoded.
32 * of the corresponding symbols. Consequently, we can sort the symbols
38 * Instead, it directly builds a table for decoding symbols using the
62 * contain symbols. Note that the long-codeword case is, in general,
64 * used symbols are assigned the shortest codeword lengths.
83 * The number of symbols in the alphabet; also, the length of the
126 /* Count how many symbols have each possible codeword length. in make_huffman_decode_table()
160 * so we must allow it. By definition, no symbols can in make_huffman_decode_table()
165 * decode symbols using such a code, we zero out the in make_huffman_decode_table()
[all …]
/linux-6.14.4/tools/perf/util/
Dsymbol.c199 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument
207 nd = rb_first_cached(symbols); in symbols__fixup_duplicate()
223 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate()
230 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate()
236 /* Update zero-sized symbols using the address of the next symbol */
237 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument
239 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end()
263 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end()
339 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument
342 struct rb_node *next = rb_first_cached(symbols); in symbols__delete()
[all …]
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) \ argument
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);
191 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms);
/linux-6.14.4/tools/lib/bpf/
Delf.c125 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new()
229 /* Symbols are in forms of func, func@LIB_VER or func@@LIB_VER in symbol_match()
245 /* If user specifies symbol version, for dynamic symbols, in symbol_match()
255 /* For normal symbols, it is already in form of func@LIB_VER */ in symbol_match()
404 * Return offsets in @poffsets for symbols specified in @syms array argument.
415 struct symbol *symbols; in elf_resolve_syms_offsets() local
423 symbols = calloc(cnt, sizeof(*symbols)); in elf_resolve_syms_offsets()
425 if (!offsets || !symbols) { in elf_resolve_syms_offsets()
431 symbols[i].name = syms[i]; in elf_resolve_syms_offsets()
432 symbols[i].idx = i; in elf_resolve_syms_offsets()
[all …]
/linux-6.14.4/tools/perf/
Dperf-archive.sh7 PERF_SYMBOLS=perf.symbols
48 …AR_CONTENTS" | grep "$PERF_SYMBOLS.tar.bz2" | wc -l` # check if it contains a sub-tar perf.symbols
50 …cho "Error: $TARGET file is not valid (contains zero or multiple sub-tar files with debug symbols)"
67 …# unzip the perf.data file in the current working directory and debug symbols in ~/.debug directory
70 else # perf tar generated by perf archive (contains only debug symbols)
107 if [ $ALL -eq 1 ]; then # pack perf.data file together with tar containing debug symbols
113 else # pack only the debug symbols
/linux-6.14.4/tools/perf/tests/
Dvmlinux-kallsyms.c23 * Symbols which vary between passes. Passes 1 and 2 must have in is_ignored_symbol()
24 * identical symbol lists. The kallsyms_* symbols below are in is_ignored_symbol()
26 * when --all-symbols is specified so exclude them to get a in is_ignored_symbol()
36 /* Exclude linker generated symbols which vary between passes */ in is_ignored_symbol()
44 "$", /* local symbols for ARM, MIPS, etc. */ in is_ignored_symbol()
48 "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol()
49 "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol()
98 /* exclude debugging symbols */ in is_ignored_symbol()
103 /* Keep these useful absolute symbols */ in is_ignored_symbol()
273 * to fixup the symbols. in test__vmlinux_matches_kallsyms()
[all …]
Dsymbols.c115 /* dso__fprintf() prints all the symbols */ in test_dso()
125 /* Check for overlapping function symbols */ in test_dso()
127 pr_debug("Overlapping symbols:\n"); in test_dso()
185 pr_debug("DSO has no symbols!\n"); in test_file()
220 DEFINE_SUITE("Symbols", symbols);
/linux-6.14.4/arch/arm64/kernel/
Dimage-vars.h17 * isolate it from the kernel proper. The following symbols are legally
19 * Only include data symbols here, or text symbols of functions that are
78 * separate it from the kernel proper. The following symbols are legally
80 * Do not include symbols which may not be safely accessed under hypervisor
98 /* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
/linux-6.14.4/sound/pci/cs46xx/
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-… in add_symbols()
165 ins->symbol_table.symbols[ins->symbol_table.nsymbols].module = module; in add_symbols()
166 ins->symbol_table.symbols[ins->symbol_table.nsymbols].deleted = 0; in add_symbols()
[all …]
/linux-6.14.4/kernel/module/
DKconfig206 This enables module versioning for exported symbols also from
406 Symbols exported with EXPORT_SYMBOL_NS*() are considered exported in
410 but it creates consistency between symbols defining namespaces and
429 bool "Trim unused exported kernel symbols"
431 The kernel and some modules make many symbols available for
434 many of those exported symbols might never be used.
436 This option allows for unused exported symbols to be dropped from
444 string "Whitelist of symbols to keep in ksymtab"
447 By default, all unused exported symbols will be un-exported from the
450 UNUSED_KSYMS_WHITELIST allows to whitelist symbols that must be kept
[all …]
/linux-6.14.4/scripts/gdb/linux/
Dsymbols.py4 # load kernel and module symbols
45 gdb.write("refreshing all symbols to reload module "
58 """(Re-)load symbols of Linux kernel and currently loaded modules.
63 lx-symbols command."""
72 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES,
149 # Dropping symbols will disable all breakpoints. So save their states
156 # drop all current symbols and reload vmlinux
/linux-6.14.4/tools/perf/Documentation/
Dperf-diff.txt24 As the perf.data files could come from different binaries, the symbols addresses
26 symbols name.
39 Load module symbols. WARNING: use only with -k and LIVE kernel
43 Only consider symbols in these dsos. CSV that understands
49 Only consider symbols in these comms. CSV that understands
54 --symbols=::
55 Only consider these symbols. CSV that understands
85 Look for files with symbols relative to this directory.
121 Filters can be applied by --comms, --dsos and/or --symbols options.
/linux-6.14.4/drivers/firmware/efi/libstub/
DMakefile133 --prefix-symbols=__efistub_
137 # symbols in .init section and make sure that no absolute symbols references
140 --prefix-symbols=__efistub_
143 # For LoongArch, keep all the symbols in .init section and make sure that no
144 # absolute symbols references exist.
146 --prefix-symbols=__efistub_
/linux-6.14.4/scripts/gendwarfksyms/
Dsymbols.c43 * For symbols without debugging information (e.g. symbols defined in other
44 * TUs), we also match __gendwarfksyms_ptr_<symbol_name> symbols, which the
100 error("no matching symbols: '%s'", sym->name); in symbol_set_crc()
111 error("no matching symbols: '%s'", sym->name); in symbol_set_ptr()
123 error("no matching symbols: '%s'", sym->name); in symbol_set_die()
161 debug("%d exported symbols", nsym); in symbol_read_exports()
306 /* Set addresses for exported symbols */ in elf_set_symbol_addr()

12345678910>>...28