/linux-6.6.21/kernel/module/ |
D | kallsyms.c | 182 mod->kallsyms = (void __rcu *)init_data_base + in add_kallsyms() 187 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; in add_kallsyms() 188 rcu_dereference(mod->kallsyms)->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms() 190 rcu_dereference(mod->kallsyms)->strtab = in add_kallsyms() 192 rcu_dereference(mod->kallsyms)->typetab = init_data_base + info->init_typeoffs; in add_kallsyms() 202 src = rcu_dereference(mod->kallsyms)->symtab; in add_kallsyms() 203 for (ndst = i = 0; i < rcu_dereference(mod->kallsyms)->num_symtab; i++) { in add_kallsyms() 204 rcu_dereference(mod->kallsyms)->typetab[i] = elf_type(src + i, info); in add_kallsyms() 211 rcu_dereference(mod->kallsyms)->typetab[i]; in add_kallsyms() 215 &rcu_dereference(mod->kallsyms)->strtab[src[i].st_name], in add_kallsyms() [all …]
|
D | Makefile | 19 obj-$(CONFIG_KALLSYMS) += kallsyms.o
|
/linux-6.6.21/tools/perf/scripts/python/ |
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-6.6.21/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 123 struct machine kallsyms, vmlinux; in test__vmlinux_matches_kallsyms() local 134 machine__init(&kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms() 146 if (machine__create_kernel_maps(&kallsyms) < 0) { in test__vmlinux_matches_kallsyms() 163 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms() 177 kallsyms_map = machine__kernel_map(&kallsyms); in test__vmlinux_matches_kallsyms() 227 first_pair = machine__find_kernel_symbol(&kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms() 256 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms() 270 } else if (mem_start == map__end(kallsyms.vmlinux_map)) { in test__vmlinux_matches_kallsyms() 303 struct map *pair = maps__find_by_name(kallsyms.kmaps, (dso->kernel ? in test__vmlinux_matches_kallsyms() 325 pair = maps__find(kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms() [all …]
|
/linux-6.6.21/tools/perf/Documentation/ |
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
|
D | perf-intel-pt.txt | 78 simply 'data') and copies of /proc/kcore, /proc/kallsyms and /proc/modules into 1280 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore 1284 …/home/user/.debug/[kernel.kcore]/9600f316a53a0f54278885e8d9710538ec5f6a08/2021021807494306/kallsyms 1310 …CPU 0/KVM 1440 ffffffff82133cdd __vmx_vcpu_run+0x3d ([kernel.kallsyms]) movq 0x4… 1311 …CPU 0/KVM 1440 ffffffff82133ce1 __vmx_vcpu_run+0x41 ([kernel.kallsyms]) movq 0x5… 1312 …CPU 0/KVM 1440 ffffffff82133ce5 __vmx_vcpu_run+0x45 ([kernel.kallsyms]) movq 0x5… 1313 …CPU 0/KVM 1440 ffffffff82133ce9 __vmx_vcpu_run+0x49 ([kernel.kallsyms]) movq 0x6… 1314 …CPU 0/KVM 1440 ffffffff82133ced __vmx_vcpu_run+0x4d ([kernel.kallsyms]) movq 0x6… 1315 …CPU 0/KVM 1440 ffffffff82133cf1 __vmx_vcpu_run+0x51 ([kernel.kallsyms]) movq 0x7… 1316 …CPU 0/KVM 1440 ffffffff82133cf5 __vmx_vcpu_run+0x55 ([kernel.kallsyms]) movq 0x7… [all …]
|
D | perf-trace.txt | 297 __clear_user ([kernel.kallsyms]) 298 load_elf_binary ([kernel.kallsyms]) 299 search_binary_handler ([kernel.kallsyms]) 300 __do_execve_file.isra.33 ([kernel.kallsyms]) 301 __x64_sys_execve ([kernel.kallsyms]) 302 do_syscall_64 ([kernel.kallsyms]) 303 entry_SYSCALL_64 ([kernel.kallsyms]) 333 __dev_queue_xmit ([kernel.kallsyms]) 335 __dev_queue_xmit ([kernel.kallsyms]) 337 __dev_queue_xmit ([kernel.kallsyms])
|
D | perf.data-directory-format.txt | 42 ├── [-r-------- 6731125] kallsyms 54 Using perf.data/kcore_dir/kallsyms for symbols
|
D | guest-files.txt | 4 Guest OS /proc/kallsyms file copy. perf reads it to get guest
|
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-6.6.21/tools/testing/selftests/ftrace/test.d/kprobe/ |
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
|
D | kprobe_args_symbol.tc | 8 if [ ! -f /proc/kallsyms ]; then 11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
|
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 " "`
|
D | multiple_kprobes.tc | 16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
|
D | probepoint.tc | 24 set_offs `grep -v __pfx_ /proc/kallsyms | grep -A1 -B1 ${TARGET_FUNC} | cut -f 1 -d " " | xargs`
|
/linux-6.6.21/scripts/ |
D | link-vmlinux.sh | 148 kallsyms() function 169 scripts/kallsyms ${kallsymopt} ${1} > ${2} 177 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1} 183 kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S} 298 echo >&2 Inconsistent kallsyms data
|
D | .gitignore | 5 /kallsyms
|
D | Makefile | 6 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
|
/linux-6.6.21/tools/lib/symbol/ |
D | Build | 1 libsymbol-y += kallsyms.o
|
D | Makefile | 103 HDRS := kallsyms.h
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | run_afpackettests | 27 if [ -f /proc/kallsyms ]; then
|
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/filter/ |
D | event-filter-function.tc | 48 address=`grep " ${target_func}\$" /proc/kallsyms | cut -d' ' -f1`
|
/linux-6.6.21/tools/perf/bench/ |
D | Build | 14 perf-y += kallsyms-parse.o
|
/linux-6.6.21/tools/perf/ |
D | command-list.txt | 18 perf-kallsyms mainporcelain common
|
/linux-6.6.21/tools/testing/selftests/net/mptcp/ |
D | mptcp_lib.sh | 98 grep -q " ${sym}" /proc/kallsyms
|