/openbmc/linux/scripts/ |
H A D | mksysmap | 4 # tools to retrieve the actual addresses of symbols in the kernel. 14 # readprofile starts reading symbols when _stext is found, and 24 # a: local absolute symbols 25 # N: debugging symbols 26 # U: undefined global symbols 27 # w: local weak symbols 34 # local symbols for ARM, MIPS, etc. 43 # arm64 local symbols in PIE namespace 47 # arm64 local symbols in non-VHE KVM namespace 78 # Ignored symbols (exact match) [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 | kallsyms.c | 8 * Usage: kallsyms [--all-symbols] [--absolute-percpu] 11 * Table compression uses all the unused char codes on the symbols and 17 * Applied to kernel symbols, this usually produces a compression ratio 78 fprintf(stderr, "Usage: kallsyms [--all-symbols] [--absolute-percpu] " in usage() 94 /* Keep these useful absolute symbols */ in is_ignored_symbol() 165 /* Ignore most absolute/undefined (?) symbols. */ in read_symbol() 211 /* if --all-symbols is not specified, then symbols outside the text in symbol_valid() 217 /* Corner case. Discard any symbols with the same value as in symbol_valid() 219 * the kallsyms data are added. If these symbols move then in symbol_valid() 233 /* remove all the invalid symbols from the table */ [all …]
|
H A 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 147 # Create ${2} .S file with all symbols from the ${1} object file 153 kallsymopt="${kallsymopt} --all-symbols" 191 # Create map file with all symbols from ${1} 243 # Generate section listing all symbols and add it into vmlinux 245 # 1) Link .tmp_vmlinux.kallsyms1 so it has all symbols and sections,
|
/openbmc/linux/Documentation/core-api/ |
H A 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 …]
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | pdb.c | 55 size_t size = pdb_get_file_size(r, r->symbols->gsym_file); in pdb_find_public_v3_symbol() 104 g_free(r->symbols); in pdb_exit_symbols() 181 PDB_SYMBOLS *symbols; in pdb_init_symbols() local 183 symbols = pdb_ds_read_file(r, 3); in pdb_init_symbols() 184 if (!symbols) { in pdb_init_symbols() 188 r->symbols = symbols; in pdb_init_symbols() 190 r->segments = lduw_le_p((const char *)symbols + sizeof(PDB_SYMBOLS) + in pdb_init_symbols() 191 symbols->module_size + symbols->offset_size + in pdb_init_symbols() 192 symbols->hash_size + symbols->srcmodule_size + in pdb_init_symbols() 193 symbols->pdbimport_size + symbols->unknown2_size + in pdb_init_symbols() [all …]
|
/openbmc/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()
|
/openbmc/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 …]
|
/openbmc/qemu/plugins/ |
H A D | meson.build | 7 output: 'qemu-plugin.symbols', 9 command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@']) 11 # Modules need more symbols than just those in plugins/qemu-plugins.symbols 16 output: 'qemu-plugins-ld64.symbols', 19 emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols'] 29 # First, create a .def file listing all the symbols a plugin should expect to have
|
/openbmc/linux/tools/perf/util/ |
H A 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() 206 rb_erase_cached(&next->rb_node, symbols); in symbols__fixup_duplicate() 213 rb_erase_cached(&curr->rb_node, symbols); in symbols__fixup_duplicate() 219 /* Update zero-sized symbols using the address of the next symbol */ 220 void symbols__fixup_end(struct rb_root_cached *symbols, bool is_kallsyms) in symbols__fixup_end() argument 222 struct rb_node *nd, *prevnd = rb_first_cached(symbols); in symbols__fixup_end() 242 * In kallsyms, it determines module symbols using '[' character in symbols__fixup_end() 305 void symbols__delete(struct rb_root_cached *symbols) in symbols__delete() argument 308 struct rb_node *next = rb_first_cached(symbols); in symbols__delete() [all …]
|
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);
|
/openbmc/u-boot/tools/buildman/ |
H A D | kconfiglib.py | 30 - Relations between symbols can be quickly determined, such as finding all 31 symbols that reference a particular symbol. 96 set of symbols and other items appearing in the configuration together with 133 messages related to assignments to undefined symbols should be 137 # The set of all symbols, indexed by name (a string) 143 # The set of all defined symbols in the configuration in the order they 144 # appear in the Kconfig files. This excludes the special symbols n, m, 145 # and y as well as symbols that are referenced but never defined. 168 # The special symbols n, m and y, used as shorthand for "n", "m" and 184 # If you set CONFIG_ in the environment, Kconfig will prefix all symbols [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | kconfig.rst | 18 New kernel releases often introduce new config symbols. Often more 19 important, new kernel releases may rename config symbols. When 23 symbols have been introduced. 25 To see a list of new config symbols, use:: 30 and the config program will list any new symbols, one per line. 62 symbols in the config input. 70 If you set `CONFIG_` in the environment, Kconfig will prefix all symbols 86 that contains config symbols that the user requires to be set to a 95 config files containing just the config symbols that you are interested 97 including symbols of your miniconfig file. [all …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/ |
H A D | docbook-xml-update-catalog.xml.patch | 136 -<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" 139 -<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" 142 -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" 145 -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" 148 -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" 151 -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" 154 -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" 157 -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" 236 -<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" 239 -<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" [all …]
|
/openbmc/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 …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | symbols.c | 71 /* 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);
|
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() 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() 200 * to fixup the symbols. in test__vmlinux_matches_kallsyms() [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | image-vars.h | 17 * isolate it from the kernel proper. The following symbols are legally 19 * Only include data symbols here, or text symbols of functions that are 41 * separate it from the kernel proper. The following symbols are legally 43 * Do not include symbols which may not be safely accessed under hypervisor 61 /* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
|
/openbmc/linux/kernel/trace/ |
H A D | fprobe.c | 158 /* Convert ftrace location address from symbols */ 163 /* Convert symbols to symbol address */ in get_ftrace_locations() 168 /* ftrace_lookup_symbols expects sorted symbols */ in get_ftrace_locations() 238 * @filter: A wildcard pattern of probed symbols. 239 * @notfilter: A wildcard pattern of NOT probed symbols. 241 * Register @fp to ftrace for enabling the probe on the symbols matched to @filter. 242 * If @notfilter is not NULL, the symbols matched the @notfilter are not probed. 274 * correctly calculate the total number of filtered symbols in register_fprobe() 329 * register_fprobe_syms() - Register fprobe to ftrace by symbols. 331 * @syms: An array of target symbols. [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | elf.c | 107 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_cmp); in elf_resolve_syms_offsets() 336 found = bsearch(&tmp, symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets() 374 free(symbols); in elf_resolve_syms_offsets() [all …]
|
/openbmc/linux/kernel/module/ |
H A D | Kconfig | 174 This enables module versioning for exported symbols also from 337 Symbols exported with EXPORT_SYMBOL_NS*() are considered exported in 341 but it creates consistency between symbols defining namespaces and 360 bool "Trim unused exported kernel symbols" if EXPERT 363 The kernel and some modules make many symbols available for 366 many of those exported symbols might never be used. 368 This option allows for unused exported symbols to be dropped from 376 string "Whitelist of symbols to keep in ksymtab" 379 By default, all unused exported symbols will be un-exported from the 382 UNUSED_KSYMS_WHITELIST allows to whitelist symbols that must be kept [all …]
|
/openbmc/u-boot/include/jffs2/ |
H A D | mini_inflate.h | 22 int num_symbols; /* Number of symbols this code can represent */ 23 int *lengths; /* The bit length of symbols */ 24 int *symbols; /* All of the symbols, sorted by the huffman code */ member 27 int *pos; /* the symbol that first represents (in the symbols
|