/Linux-v5.10/Documentation/core-api/ |
D | symbol-namespaces.rst | 6 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-v5.10/scripts/ |
D | checkkconfigsymbols.py | 4 """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 187 sims_out = yel("Similar symbols") [all …]
|
D | mksysmap | 4 # tools to retrieve the actual addresses of symbols in the kernel. 30 # Corresponding small letters are local symbols 33 # a - local absolute symbols 34 # U - undefined global symbols 35 # N - debugging symbols 36 # w - local weak symbols 38 # readprofile starts reading symbols when _stext is found, and
|
D | kallsyms.c | 8 * Usage: nm -n vmlinux | scripts/kallsyms [--all-symbols] > symbols.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 73 fprintf(stderr, "Usage: kallsyms [--all-symbols] " in usage() 88 * Symbols which vary between passes. Passes 1 and 2 must have in is_ignored_symbol() 89 * identical symbol lists. The kallsyms_* symbols below are in is_ignored_symbol() 91 * when --all-symbols is specified so exclude them to get a in is_ignored_symbol() 102 /* Exclude linker generated symbols which vary between passes */ in is_ignored_symbol() 110 "$", /* local symbols for ARM, MIPS, etc. */ in is_ignored_symbol() 111 ".LASANPC", /* s390 kasan local symbols */ in is_ignored_symbol() [all …]
|
D | extract-sys-certs.pl | 61 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"});
|
D | export_report.pl | 92 # collect all the symbols and their attributes from the 143 print "\tThis file reports the exported symbols usage patterns by in-tree\n", 147 printf("SECTION 1: Usage counts of all exported symbols\n"); 148 printf("SECTION 2: List of modules and the exported symbols they use\n"); 150 printf("SECTION 1:\tThe exported symbols and their usage count\n\n"); 155 # print the list of unused exported symbols 169 modules. Each module lists the modules, and the symbols from that module that
|
D | link-vmlinux.sh | 28 # System.map is generated to document addresses of all kernel symbols 100 # The kallsyms linking does not need debug symbols included. 160 # Create ${2} which contains just .BTF section but no symbols. Add 162 # deletes all symbols including __start_BTF and __stop_BTF, which will 172 # Create ${2} .S file with all symbols from the ${1} object file 178 kallsymopt="${kallsymopt} --all-symbols" 211 # Create map file with all symbols from ${1} 260 # We need access to CONFIG_ symbols 307 # Generate section listing all symbols and add it into vmlinux 309 # 1) Link .tmp_vmlinux1 so it has all symbols and sections,
|
D | get_abi.pl | 45 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; 314 $cur_part = "Symbols under $1"; 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 [all …]
|
/Linux-v5.10/Documentation/livepatch/ |
D | module-elf-format.rst | 14 4. Livepatch symbols 38 relocation sections and symbols, which are described in this document. The 39 Elf constants used to mark livepatch symbols and relocation sections were 45 reference non-exported global symbols and non-included local symbols. 46 Relocations referencing these types of symbols cannot be left in as-is 53 symbols while taking into account its scope and what module the symbol 57 relocation sections in place of dynrela sections, and the symbols that the 58 relas reference are special livepatch symbols (see section 2 and 3). The 193 4. Livepatch symbols 196 Livepatch symbols are symbols referred to by livepatch relocation sections. [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | symbol.c | 186 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument 194 nd = rb_first_cached(symbols); in symbols__fixup_duplicate() 209 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate() 214 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate() 220 void symbols__fixup_end(struct rb_root_cached *symbols) in symbols__fixup_end() argument 222 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end() 257 * We still haven't the actual symbols, so guess the in maps__fixup_end() 300 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument 303 struct rb_node *next = rb_first_cached(symbols); in symbols__delete() 308 rb_erase_cached(&pos->rb_node, symbols); in symbols__delete() [all …]
|
D | symbol.h | 63 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) \ argument 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);
|
/Linux-v5.10/arch/arm64/kernel/ |
D | image-vars.h | 21 * isolate it from the kernel proper. The following symbols are legally 23 * Only include data symbols here, or text symbols of functions that are 58 * separate it from the kernel proper. The following symbols are legally 60 * Do not include symbols which may not be safely accessed under hypervisor 74 /* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */ 87 /* Kernel symbols needed for cpus_have_final/const_caps checks. */
|
/Linux-v5.10/Documentation/kbuild/ |
D | kconfig.rst | 16 New kernel releases often introduce new config symbols. Often more 17 important, new kernel releases may rename config symbols. When 21 symbols have been introduced. 23 To see a list of new config symbols, use:: 28 and the config program will list any new symbols, one per line. 51 If you set `CONFIG_` in the environment, Kconfig will prefix all symbols 67 that contains config symbols that the user requires to be set to a 76 config files containing just the config symbols that you are interested 78 including symbols of your miniconfig file. 81 (usually a subset of all) preset config symbols. These variable [all …]
|
D | kconfig-language.rst | 20 | +- Set version information on all module symbols 35 bool "Set version information on all module symbols" 141 symbols. 148 In general use select only for non-visible symbols 149 (no prompts anywhere) and for symbols with no dependencies. 208 false, the menu block is not displayed to the user (the symbols 209 contained there can still be selected by other symbols, though). It is 216 and hex symbols. The user can only input a value which is larger than 239 enables the third modular state for all config symbols. 244 using "allnoconfig". Used for symbols that hide other symbols. [all …]
|
D | modules.rst | 28 --- 6.1 Symbols From the Kernel (vmlinux + modules) 29 --- 6.2 Symbols and External Modules 30 --- 6.3 Symbols From Another External Module 461 Module.symvers contains a list of all exported symbols from a kernel 464 6.1 Symbols From the Kernel (vmlinux + modules) 468 generated. Module.symvers contains all exported symbols from 486 1) It lists all exported symbols from vmlinux and all modules. 489 6.2 Symbols and External Modules 493 to the symbols from the kernel to check if all external symbols 495 the symbols by reading Module.symvers from the kernel source [all …]
|
/Linux-v5.10/scripts/gdb/linux/ |
D | symbols.py | 4 # load kernel and module symbols 44 gdb.write("refreshing all symbols to reload module " 57 """(Re-)load symbols of Linux kernel and currently loaded modules. 62 lx-symbols command.""" 71 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES, 141 # Dropping symbols will disable all breakpoints. So save their states 148 # drop all current symbols and reload vmlinux
|
/Linux-v5.10/sound/pci/cs46xx/ |
D | dsp_spos.c | 130 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-v5.10/tools/perf/Documentation/ |
D | perf-diff.txt | 24 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.
|
D | perf-annotate.txt | 16 code. If the object file has debug symbols then the source code will be 29 Only consider symbols in these dsos. 63 Load module symbols. WARNING: use only with -k and LIVE kernel. 107 Look for files with symbols relative to this directory. 122 Skip symbols that cannot be annotated.
|
D | perf-top.txt | 108 Hide kernel symbols. 112 Hide user symbols. 115 Demangle kernel symbols. 152 Only consider symbols in these dsos. This option will affect the 156 Only consider symbols in these comms. This option will affect the 159 --symbols:: 160 Only consider these symbols. This option will affect the 213 Filters can be applied by --comms, --dsos and/or --symbols options and 368 Hide kernel symbols. 371 Hide user symbols.
|
/Linux-v5.10/arch/x86/um/vdso/ |
D | vdso.lds.S | 7 * This file defines the version script giving the user-exported symbols in 8 * the DSO. We can define local symbols here called VDSO* to make their 16 * This controls what userland symbols we export from the vDSO.
|
/Linux-v5.10/arch/riscv/include/asm/ |
D | vdso.h | 19 * The VDSO symbols are mapped into Linux so we can just use regular symbol 20 * addressing to get their offsets in userspace. The symbols are mapped at an 22 * symbols to the absolute address 0 it also happens to support other low
|
/Linux-v5.10/lib/ |
D | decompress_bunzip2.c | 192 symbols to deal with, and writes a sparse bitfield indicating which in get_next_block() 194 symbols back to the corresponding bytes. */ in get_next_block() 209 /* nSelectors: Every GROUP_SIZE many symbols we select a new in get_next_block() 231 for symTotal literal symbols, plus two run symbols (RUNA, in get_next_block() 285 * Huffman coded symbols into decoded symbols. base[] in get_next_block() 314 /* Count symbols coded for at each bit length */ in get_next_block() 319 *1)+symbols at this level), and base[] (number of in get_next_block() 320 *symbols to ignore at each bit length, which is limit in get_next_block() 321 *minus the cumulative count of symbols coded for in get_next_block() 330 future symbols.) At each level we're in get_next_block() [all …]
|
/Linux-v5.10/arch/riscv/kernel/ |
D | image-vars.h | 19 * isolate it from the kernel proper. The following symbols are legally 21 * Only include data symbols here, or text symbols of functions that are
|
/Linux-v5.10/arch/riscv/kernel/vdso/ |
D | Makefile | 8 # Symbols present in the vdso 50 # table and layout of the linked DSO. With ld --just-symbols we can then 51 # refer to these symbols in the kernel code rather than hand-coded addresses. 72 # that contains the same symbols at the same offsets.
|