/Linux-v6.1/scripts/ |
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 43 # $ - local symbols for ARM, MIPS, etc. 49 # Ignored symbols:
|
D | checkkconfigsymbols.py | 4 """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 …]
|
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 90 fprintf(stderr, "Usage: kallsyms [--all-symbols] [--absolute-percpu] " in usage() 105 * Symbols which vary between passes. Passes 1 and 2 must have in is_ignored_symbol() 106 * identical symbol lists. The kallsyms_* symbols below are in is_ignored_symbol() 108 * when --all-symbols is specified so exclude them to get a in is_ignored_symbol() 119 /* Exclude linker generated symbols which vary between passes */ in is_ignored_symbol() 128 "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol() 129 "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ 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 | link-vmlinux.sh | 26 # System.map is generated to document addresses of all kernel symbols 92 # The kallsyms linking does not need debug symbols included. 130 # Create ${2} which contains just .BTF section but no symbols. Add 132 # deletes all symbols including __start_BTF and __stop_BTF, which will 142 # Create ${2} .S file with all symbols from the ${1} object file 148 kallsymopt="${kallsymopt} --all-symbols" 182 # Create map file with all symbols from ${1} 234 # Generate section listing all symbols and add it into vmlinux 236 # 1) Link .tmp_vmlinux.kallsyms1 so it has all symbols and sections,
|
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 | check-local-export | 8 # EXPORT_SYMBOL should be used for global symbols. 14 # 'no symbols' diagnostic (but exits with 0). It is harmless and hidden by 33 # For undefined symbols, the first field (value) is empty. 36 # It is unneeded to record undefined symbols.
|
/Linux-v6.1/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-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_ksyms_weak.c | 18 /* existing weak symbols */ 20 /* test existing weak symbols can be resolved. */ 25 /* non-existent weak symbols. */ 27 /* typeless symbols, default to zero. */ 30 /* typed symbols, default to zero. */ 38 /* tests existing symbols. */ in pass_handler() 44 /* tests non-existent symbols. */ in pass_handler() 47 /* tests non-existent symbols. */ in pass_handler()
|
/Linux-v6.1/Documentation/livepatch/ |
D | module-elf-format.rst | 32 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-v6.1/tools/perf/util/ |
D | symbol.c | 181 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() 324 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument [all …]
|
D | symbol.h | 59 /** Set true for kernel symbols of idle routines. */ 74 void symbols__delete(struct rb_root_cached *symbols); 76 /* symbols__for_each_entry - iterate over symbols (rb_root) 78 * @symbols: the rb_root of symbols 82 #define symbols__for_each_entry(symbols, pos, nd) \ argument 83 for (nd = rb_first_cached(symbols); \ 202 void __symbols__insert(struct rb_root_cached *symbols, struct symbol *sym, 204 void symbols__insert(struct rb_root_cached *symbols, struct symbol *sym); 205 void symbols__fixup_duplicate(struct rb_root_cached *symbols); 206 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms);
|
/Linux-v6.1/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. 59 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. 89 (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 228 enables the third modular state for all config symbols. 235 the input range of tristate symbols. The tristate logic used in the [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-v6.1/kernel/trace/ |
D | fprobe.c | 96 /* Convert ftrace location address from symbols */ 101 /* Convert symbols to symbol address */ in get_ftrace_locations() 106 /* ftrace_lookup_symbols expects sorted symbols */ in get_ftrace_locations() 173 * @filter: A wildcard pattern of probed symbols. 174 * @notfilter: A wildcard pattern of NOT probed symbols. 176 * Register @fp to ftrace for enabling the probe on the symbols matched to @filter. 177 * If @notfilter is not NULL, the symbols matched the @notfilter are not probed. 209 * correctly calculate the total number of filtered symbols in register_fprobe() 264 * register_fprobe_syms() - Register fprobe to ftrace by symbols. 266 * @syms: An array of target symbols. [all …]
|
/Linux-v6.1/fs/ntfs3/lib/ |
D | decompress_common.c | 19 * 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-v6.1/kernel/module/ |
D | Kconfig | 76 This enables module versioning for exported symbols also from 238 Symbols exported with EXPORT_SYMBOL_NS*() are considered exported in 242 but it creates consistency between symbols defining namespaces and 261 bool "Trim unused exported kernel symbols" if EXPERT 264 The kernel and some modules make many symbols available for 267 many of those exported symbols might never be used. 269 This option allows for unused exported symbols to be dropped from 277 string "Whitelist of symbols to keep in ksymtab" 280 By default, all unused exported symbols will be un-exported from the 283 UNUSED_KSYMS_WHITELIST allows to whitelist symbols that must be kept [all …]
|
/Linux-v6.1/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 23 * 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() 37 /* Exclude linker generated symbols which vary between passes */ in is_ignored_symbol() 45 "$", /* local symbols for ARM, MIPS, etc. */ in is_ignored_symbol() 49 "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol() 50 "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol() 99 /* exclude debugging symbols */ in is_ignored_symbol() 104 /* Keep these useful absolute symbols */ in is_ignored_symbol() 199 * to fixup the symbols. in test__vmlinux_matches_kallsyms() [all …]
|
/Linux-v6.1/arch/arm64/kernel/ |
D | image-vars.h | 18 * isolate it from the kernel proper. The following symbols are legally 20 * Only include data symbols here, or text symbols of functions that are 48 * separate it from the kernel proper. The following symbols are legally 50 * Do not include symbols which may not be safely accessed under hypervisor 68 /* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
|
/Linux-v6.1/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-v6.1/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-v6.1/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.
|
/Linux-v6.1/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-v6.1/arch/csky/include/asm/ |
D | vdso.h | 14 * The VDSO symbols are mapped into Linux so we can just use regular symbol 15 * addressing to get their offsets in userspace. The symbols are mapped at an 17 * symbols to the absolute address 0 it also happens to support other low
|