| /linux/scripts/ |
| H A D | mksysmap | 4 # 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 i [all...] |
| H A 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 …]
|
| H A 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"});
|
| H A D | link-vmlinux.sh | 26 # System.map is generated to document addresses of all kernel symbols 93 # The kallsyms linking does not need debug symbols included. 117 # Create ${btf_data} which contains just .BTF section but no symbols. Add 119 # deletes all symbols including __start_BTF and __stop_BTF, which will 136 # Create ${2}.o file with all symbols from the ${1} object file 142 kallsymopt="${kallsymopt} --all-symbols" 164 # Create map file with all symbols from ${1} 218 # The kallsyms linking does not need debug symbols, but the BTF does. 237 # Generate section listing all symbols and add it into vmlinux 240 # 1) Link .tmp_vmlinux1.kallsyms so it has all symbols an [all...] |
| /linux/Documentation/core-api/ |
| H A D | symbol-namespaces.rst | 6 export surface of in-kernel symbols exported through the family of 14 their exported symbols into separate namespaces. That is useful for 16 limiting the availability of a set of symbols for use in other parts of the 17 kernel. As of today, modules that make use of symbols exported into namespaces, 21 Additionally, it is possible to put symbols into a module namespace, strictly 22 limiting which modules are allowed to use these symbols. 27 Symbols can be exported into namespace using different methods. All of them are 35 exporting of kernel symbols to the kernel symbol table, variants of these are 36 available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and 53 Defining namespaces for all symbols of a subsystem can be very verbose and may [all …]
|
| /linux/Documentation/livepatch/ |
| H A 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/tools/testing/selftests/bpf/progs/ |
| H A D | test_ksyms_weak.c | 18 /* 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/scripts/kconfig/tests/err_transitional/ |
| H A D | expected_stderr | 2 Kconfig:7: error: transitional symbols can only have help sections 3 Kconfig:14: error: transitional symbols can only have help sections 4 Kconfig:21: error: transitional symbols can only have help sections 5 Kconfig:28: error: transitional symbols can only have help sections 6 Kconfig:32: error: transitional symbols can only have help sections 7 Kconfig:42: error: transitional symbols can only have help sections
|
| /linux/Documentation/kbuild/ |
| H A D | kconfig.rst | 19 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 filename 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 …]
|
| H A D | kconfig-language.rst | 20 | +- 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. 212 false, the menu block is not displayed to the user (the symbols 213 contained there can still be selected by other symbols, though). It is 220 and hex symbols. The user can only input a value which is larger than 232 enables the third modular state for all config symbols. 238 Transitional symbols are useful for backward compatibility during config [all …]
|
| /linux/fs/ntfs3/lib/ |
| H A 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/tools/lib/bpf/ |
| H A D | elf.c | 124 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new() 228 /* Symbols are in forms of func, func@LIB_VER or func@@LIB_VER in symbol_match() 244 /* If user specifies symbol version, for dynamic symbols, in symbol_match() 254 /* For normal symbols, it is already in form of func@LIB_VER */ in symbol_match() 403 * Return offsets in @poffsets for symbols specified in @syms array argument. 414 struct symbol *symbols; in elf_resolve_syms_offsets() 422 symbols = calloc(cnt, sizeof(*symbols)); in elf_resolve_syms_offsets() 424 if (!offsets || !symbols) { in elf_resolve_syms_offsets() 430 symbols[ in elf_resolve_syms_offsets() 415 struct symbol *symbols; elf_resolve_syms_offsets() local [all...] |
| /linux/tools/perf/util/ |
| H A D | symbol.h | 59 /** 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);
|
| H A D | libbfd.c | 286 asymbol **symbols, *sym; in dso__load_bfd_symbols() local 313 symbols = malloc(symbols_size); in dso__load_bfd_symbols() 314 if (!symbols) in dso__load_bfd_symbols() 317 symbols_count = bfd_canonicalize_symtab(abfd, symbols); in dso__load_bfd_symbols() 324 if (!strcmp(bfd_asymbol_name(symbols[i]), "__ImageBase") || in dso__load_bfd_symbols() 325 !strcmp(bfd_asymbol_name(symbols[i]), "__image_base__")) in dso__load_bfd_symbols() 329 /* PE symbols can only have 4 bytes, so use .text high bits */ in dso__load_bfd_symbols() 331 + (u32)bfd_asymbol_value(symbols[i]); in dso__load_bfd_symbols() 340 qsort(symbols, symbols_count, sizeof(asymbol *), bfd_symbols__cmpvalue); in dso__load_bfd_symbols() 346 sym = symbols[i]; in dso__load_bfd_symbols() [all …]
|
| H A D | symbol.c | 110 // 'N' is for debugging symbols, 'n' is a non-data, non-code, non-debug read-only section. in symbol_type__filter() 218 void symbols__fixup_duplicate(struct rb_root_cached *symbols) in symbols__fixup_duplicate() argument 226 nd = rb_first_cached(symbols); in symbols__fixup_duplicate() 242 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate() 249 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate() 255 /* Update zero-sized symbols using the address of the next symbol */ 256 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument 258 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end() 282 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end() 358 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument [all …]
|
| /linux/kernel/module/ |
| H A D | Kconfig | 195 # To avoid conflicts with the discarded __gendwarfksyms_ptr symbols on 197 # indexing symbols for VARs") or after commit 9810758003ce ("btf_encoder: 211 This enables module versioning for exported symbols also from 411 Symbols exported with EXPORT_SYMBOL_NS*() are considered exported in 415 but it creates consistency between symbols defining namespaces and 434 bool "Trim unused exported kernel symbols" 436 The kernel and some modules make many symbols available for 439 many of those exported symbols might never be used. 441 This option allows for unused exported symbols to be dropped from 449 string "Whitelist of symbols to keep in ksymtab" [all …]
|
| /linux/tools/perf/tests/ |
| H A 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() 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 …]
|
| H A D | symbols.c | 121 /* dso__fprintf() prints all the symbols */ in test_dso() 131 /* Check for overlapping function symbols */ in test_dso() 133 pr_debug("Overlapping symbols:\n"); in test_dso() 191 pr_debug("DSO has no symbols!\n"); in test_file() 226 DEFINE_SUITE("Symbols", symbols);
|
| /linux/drivers/tty/vt/ |
| H A D | gen_ucs_fallback_table.py | 109 # Currency symbols - each mapped to a representative letter 115 # Symbols mapped to letters 121 # Degree-related symbols 134 # Negated mathematical symbols (preserving the negation semantics) 135 # Negated symbols mapped to exclamation mark (semantically "not") 137 overrides[cp] = ord('!') # Negated math symbols -> ! (not) 139 # Negated symbols mapped to hash sign (semantically "not equal") 141 overrides[cp] = ord('#') # Negated equality symbols -> # (not equal) 159 # Asterisk-like symbols 184 # Stars and asterisk-like symbols mapped to '*' [all …]
|
| /linux/sound/pci/cs46xx/ |
| H A 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->overlay_begin_address); in add_symbols() 165 ins->symbol_table.symbols[in in add_symbols() [all...] |
| /linux/tools/perf/ |
| H A D | perf-archive.sh | 7 PERF_SYMBOLS=perf.symbols 55 …AR_CONTENTS" | grep "$PERF_SYMBOLS.tar.bz2" | wc -l` # check if it contains a sub-tar perf.symbols 57 …cho "Error: $TARGET file is not valid (contains zero or multiple sub-tar files with debug symbols)" 74 …# unzip the perf.data file in the current working directory and debug symbols in ~/.debug directory 77 else # perf tar generated by perf archive (contains only debug symbols) 132 if [ $ALL -eq 1 ]; then # pack perf.data file together with tar containing debug symbols 138 else # pack only the debug symbols
|
| /linux/scripts/gdb/linux/ |
| H A D | symbols.py | 4 # load kernel and module symbols 43 gdb.write("refreshing all symbols to reload module " 91 # It is unlikely that someone will run lx-symbols at these points. 112 """(Re-)load symbols of Linux kernel and currently loaded modules. 117 lx-symbols command.""" 126 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES, 203 # Dropping symbols will disable all breakpoints. So save their states 210 # drop all current symbols and reload vmlinux
|
| /linux/tools/perf/Documentation/ |
| H A 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/lib/ |
| H A 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() 286 * Huffman coded symbols into decoded symbols. base[] in get_next_block() 315 /* Count symbols coded for at each bit length */ in get_next_block() 320 *1)+symbols at this level), and base[] (number of in get_next_block() 321 *symbols to ignore at each bit length, which is limit in get_next_block() 322 *minus the cumulative count of symbols coded for in get_next_block() 331 future symbols.) At each level we're in get_next_block() [all …]
|
| /linux/scripts/gendwarfksyms/ |
| H A D | symbols.c | 43 * 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()
|