| /linux/kernel/module/ |
| H A D | kallsyms.c | 3 * Module kallsyms support 10 #include <linux/kallsyms.h> 180 struct mod_kallsyms *kallsyms; in add_kallsyms() 182 kallsyms = init_data_base + info->mod_kallsyms_init_off; in add_kallsyms() 184 kallsyms->symtab = (void *)symsec->sh_addr; in add_kallsyms() 185 kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms() 187 kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms() 188 kallsyms->typetab = init_data_base + info->init_typeoffs; in add_kallsyms() 191 * Now populate the cut down core kallsyms for after init in add_kallsyms() 198 src = kallsyms in add_kallsyms() 247 kallsyms_symbol_name(struct mod_kallsyms * kallsyms,unsigned int symnum) kallsyms_symbol_name() argument 263 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); find_kallsyms_symbol() local 391 struct mod_kallsyms *kallsyms; module_get_kallsym() local 417 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); __find_kallsyms_symbol_value() local 486 struct mod_kallsyms *kallsyms; module_kallsyms_on_each_symbol() local [all...] |
| H A D | Makefile | 19 obj-$(CONFIG_KALLSYMS) += kallsyms.o
|
| /linux/tools/perf/scripts/python/ |
| H A D | net_dropmonitor.py | 17 kallsyms = [] variable 20 global kallsyms 30 kallsyms.append((loc, name)) 31 kallsyms.sort() 38 start, end = -1, len(kallsyms) 41 if loc < kallsyms[pivot][0]: 49 symloc, name = kallsyms[start]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-kallsyms.txt | 1 perf-kallsyms(1) 6 perf-kallsyms - Searches running kernel for symbols 11 'perf kallsyms' [<options>] symbol_name[,symbol_name...] 15 This command searches the running kernel kallsyms file for the given symbol(s) 16 and prints information about it, including the DSO, the kallsyms begin/end 17 addresses and the addresses in the ELF kallsyms symbol table (for symbols in
|
| H A D | perf-trace.txt | 309 __clear_user ([kernel.kallsyms]) 310 load_elf_binary ([kernel.kallsyms]) 311 search_binary_handler ([kernel.kallsyms]) 312 __do_execve_file.isra.33 ([kernel.kallsyms]) 313 __x64_sys_execve ([kernel.kallsyms]) 314 do_syscall_64 ([kernel.kallsyms]) 315 entry_SYSCALL_64 ([kernel.kallsyms]) 345 __dev_queue_xmit ([kernel.kallsyms]) 347 __dev_queue_xmit ([kernel.kallsyms]) 349 __dev_queue_xmit ([kernel.kallsyms])
|
| H A D | perf.data-directory-format.txt | 42 ├── [-r-------- 6731125] kallsyms 54 Using perf.data/kcore_dir/kallsyms for symbols
|
| H A D | guest-files.txt | 4 Guest OS /proc/kallsyms file copy. perf reads it to get guest
|
| H A D | perf-buildid-cache.txt | 37 image. Note also that files "kallsyms" and "modules" must also be in the 63 to update kallsyms and kernel dso to vmlinux in order to support
|
| /linux/tools/perf/tests/ |
| H A D | vmlinux-kallsyms.c | 115 struct machine kallsyms; member 130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1() 153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2() 207 machine__init(&args.kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms() 219 if (machine__create_kernel_maps(&args.kallsyms) < 0) { in test__vmlinux_matches_kallsyms() 236 if (machine__load_kallsyms(&args.kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms() 250 kallsyms_map = machine__kernel_map(&args.kallsyms); in test__vmlinux_matches_kallsyms() 300 first_pair = machine__find_kernel_symbol(&args.kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms() 329 pair = machine__find_kernel_symbol_by_name(&args.kallsyms, in test__vmlinux_matches_kallsyms() 344 } else if (mem_start == map__end(args.kallsyms.vmlinux_map)) { in test__vmlinux_matches_kallsyms() [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | kallsyms.sh | 11 if [ ! -r /proc/kallsyms ]; then 22 output=$(perf kallsyms $symbol 2>&1) 28 if grep -q "$symbol" /proc/kallsyms 2>/dev/null; then 47 if perf kallsyms ErlingHaaland | grep -vq "not found"; then
|
| /linux/scripts/ |
| H A D | link-vmlinux.sh | 138 kallsyms() function 147 scripts/kallsyms ${kallsymopt} "${1}" > "${2}.S" 160 kallsyms "${1}.syms" "${1}.kallsyms" 221 kallsyms .tmp_vmlinux0.syms .tmp_vmlinux0.kallsyms 315 echo >&2 Inconsistent kallsyms data
|
| H A D | leaking_addresses.pl | 60 my @kallsyms = (); 178 push @kallsyms, $entry; 484 foreach my $entry (@kallsyms) { 509 if (scalar @kallsyms > 0) {
|
| H A D | .gitignore | 6 /kallsyms
|
| /linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
| H A D | kprobe_eventname.tc | 8 FUNC=`grep " [tT] .*vfs_read$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "` 28 grep -m 10 " [tT] .*\.isra\..*$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " " 32 grep " [tT] .*\.isra\..*" /proc/kallsyms | cut -f 3 -d " " | while read f; do
|
| H A D | kprobe_args_symbol.tc | 8 if [ ! -f /proc/kallsyms ]; then 11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
|
| H A D | kprobe_args_syntax.tc | 10 if ! grep -qw ${GOODSYM} /proc/kallsyms ; then 14 SYMADDR=0x`grep -w ${GOODSYM} /proc/kallsyms | cut -f 1 -d " "`
|
| H A D | multiple_kprobes.tc | 16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
|
| H A D | probepoint.tc | 24 set_offs `grep -v __pfx_ /proc/kallsyms | grep -A1 -B1 ${TARGET_FUNC} | cut -f 1 -d " " | xargs`
|
| /linux/tools/lib/symbol/ |
| H A D | Build | 1 libsymbol-y += kallsyms.o
|
| H A D | Makefile | 99 HDRS := kallsyms.h
|
| /linux/tools/testing/selftests/net/ |
| H A D | run_afpackettests | 27 if [ -f /proc/kallsyms ]; then
|
| /linux/tools/testing/selftests/livepatch/ |
| H A D | test-kprobe.sh | 8 grep -q kprobe_ftrace_ops /proc/kallsyms || skip "test-kprobe requires CONFIG_KPROBES_ON_FTRACE"
|
| /linux/Documentation/arch/powerpc/ |
| H A D | vpa-dtl.rst | 141 100.00% 100.00% swapper [kernel.kallsyms] [k] plpar_hcall_norets_notrace 153 …aiting_to_ready_time:511842115 c0000000000fcd28 plpar_hcall_norets_notrace+0x18 ([kernel.kallsyms]) 154 …aiting_to_ready_time:133864583 c0000000000fcd28 plpar_hcall_norets_notrace+0x18 ([kernel.kallsyms])
|
| /linux/tools/perf/ |
| H A D | command-list.txt | 18 perf-kallsyms mainporcelain common
|
| /linux/tools/perf/bench/ |
| H A D | Build | 15 perf-bench-y += kallsyms-parse.o
|