/kernel/linux/linux-5.10/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 23 struct machine kallsyms, vmlinux; in test__vmlinux_matches_kallsyms() local 34 machine__init(&kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms() 44 if (machine__create_kernel_maps(&kallsyms) < 0) { in test__vmlinux_matches_kallsyms() 60 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms() 73 kallsyms_map = machine__kernel_map(&kallsyms); in test__vmlinux_matches_kallsyms() 123 first_pair = machine__find_kernel_symbol(&kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms() 152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms() 166 } else if (mem_start == kallsyms.vmlinux_map->end) { in test__vmlinux_matches_kallsyms() 193 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? in test__vmlinux_matches_kallsyms() 215 pair = maps__find(&kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms() [all …]
|
/kernel/linux/linux-5.10/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]
|
/kernel/linux/linux-5.10/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-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-inject.txt | 48 --kallsyms=<file>:: 49 kallsyms pathname
|
D | perf.data-directory-format.txt | 42 ├── [-r-------- 6731125] kallsyms 54 Using perf.data/kcore_dir/kallsyms for symbols
|
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
|
D | perf-sched.txt | 103 --kallsyms=<file>:: 104 kallsyms pathname
|
/kernel/linux/linux-5.10/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 -A1 -B1 ${TARGET_FUNC} /proc/kallsyms | cut -f 1 -d " " | xargs`
|
/kernel/linux/linux-5.10/scripts/ |
D | link-vmlinux.sh | 230 kallsyms() function 247 ${NM} -n ${1} | scripts/kallsyms ${kallsymopt} > ${2} 255 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1} 260 kallsyms ${kallsyms_vmlinux} ${kallsyms_S} 423 echo >&2 Inconsistent kallsyms data
|
D | .gitignore | 3 kallsyms
|
D | Makefile | 10 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
|
/kernel/linux/linux-5.10/tools/perf/ |
D | MANIFEST | 16 tools/lib/symbol/kallsyms.c 17 tools/lib/symbol/kallsyms.h
|
D | command-list.txt | 17 perf-kallsyms mainporcelain common
|
D | Build | 11 perf-y += builtin-kallsyms.o
|
/kernel/linux/linux-5.10/kernel/ |
D | module.c | 2815 mod->kallsyms = mod->init_layout.base + info->mod_kallsyms_init_off; in add_kallsyms() 2817 mod->kallsyms->symtab = (void *)symsec->sh_addr; in add_kallsyms() 2818 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms() 2820 mod->kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms() 2821 mod->kallsyms->typetab = mod->init_layout.base + info->init_typeoffs; in add_kallsyms() 2830 src = mod->kallsyms->symtab; in add_kallsyms() 2831 for (ndst = i = 0; i < mod->kallsyms->num_symtab; i++) { in add_kallsyms() 2832 mod->kallsyms->typetab[i] = elf_type(src + i, info); in add_kallsyms() 2837 mod->kallsyms->typetab[i]; in add_kallsyms() 2840 s += strlcpy(s, &mod->kallsyms->strtab[src[i].st_name], in add_kallsyms() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | run_afpackettests | 24 if [ -f /proc/kallsyms ]; then
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | Build | 13 perf-y += kallsyms-parse.o
|
/kernel/linux/linux-5.10/Documentation/trace/ |
D | events-nmi.rst | 26 $ grep perf_event_nmi_handler /proc/kallsyms
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-kernel-livepatch | 68 name in kallsyms for the patched object.
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | Build | 20 perf-y += kallsyms.o 273 $(OUTPUT)util/kallsyms.o: ../lib/symbol/kallsyms.c FORCE
|