Home
last modified time | relevance | path

Searched refs:kallsyms (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.1.9/kernel/module/
Dkallsyms.c176 mod->kallsyms = (void __rcu *)mod->init_layout.base + in add_kallsyms()
181 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; in add_kallsyms()
182 rcu_dereference(mod->kallsyms)->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
184 rcu_dereference(mod->kallsyms)->strtab = in add_kallsyms()
186 rcu_dereference(mod->kallsyms)->typetab = mod->init_layout.base + info->init_typeoffs; in add_kallsyms()
196 src = rcu_dereference(mod->kallsyms)->symtab; in add_kallsyms()
197 for (ndst = i = 0; i < rcu_dereference(mod->kallsyms)->num_symtab; i++) { in add_kallsyms()
198 rcu_dereference(mod->kallsyms)->typetab[i] = elf_type(src + i, info); in add_kallsyms()
205 rcu_dereference(mod->kallsyms)->typetab[i]; in add_kallsyms()
209 &rcu_dereference(mod->kallsyms)->strtab[src[i].st_name], in add_kallsyms()
[all …]
DMakefile16 obj-$(CONFIG_KALLSYMS) += kallsyms.o
/linux-6.1.9/tools/perf/scripts/python/
Dnet_dropmonitor.py17 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.1.9/tools/perf/tests/
Dvmlinux-kallsyms.c122 struct machine kallsyms, vmlinux; in test__vmlinux_matches_kallsyms() local
133 machine__init(&kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms()
145 if (machine__create_kernel_maps(&kallsyms) < 0) { in test__vmlinux_matches_kallsyms()
162 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms()
176 kallsyms_map = machine__kernel_map(&kallsyms); in test__vmlinux_matches_kallsyms()
226 first_pair = machine__find_kernel_symbol(&kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms()
255 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
269 } else if (mem_start == kallsyms.vmlinux_map->end) { in test__vmlinux_matches_kallsyms()
301 pair = maps__find_by_name(kallsyms.kmaps, (map->dso->kernel ? in test__vmlinux_matches_kallsyms()
323 pair = maps__find(kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms()
[all …]
/linux-6.1.9/tools/perf/Documentation/
Dperf-kallsyms.txt1 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
Dperf-intel-pt.txt78 simply 'data') and copies of /proc/kcore, /proc/kallsyms and /proc/modules into
1260 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore
1264 …/home/user/.debug/[kernel.kcore]/9600f316a53a0f54278885e8d9710538ec5f6a08/2021021807494306/kallsyms
1290 …CPU 0/KVM 1440 ffffffff82133cdd __vmx_vcpu_run+0x3d ([kernel.kallsyms]) movq 0x4…
1291 …CPU 0/KVM 1440 ffffffff82133ce1 __vmx_vcpu_run+0x41 ([kernel.kallsyms]) movq 0x5…
1292 …CPU 0/KVM 1440 ffffffff82133ce5 __vmx_vcpu_run+0x45 ([kernel.kallsyms]) movq 0x5…
1293 …CPU 0/KVM 1440 ffffffff82133ce9 __vmx_vcpu_run+0x49 ([kernel.kallsyms]) movq 0x6…
1294 …CPU 0/KVM 1440 ffffffff82133ced __vmx_vcpu_run+0x4d ([kernel.kallsyms]) movq 0x6…
1295 …CPU 0/KVM 1440 ffffffff82133cf1 __vmx_vcpu_run+0x51 ([kernel.kallsyms]) movq 0x7…
1296 …CPU 0/KVM 1440 ffffffff82133cf5 __vmx_vcpu_run+0x55 ([kernel.kallsyms]) movq 0x7…
[all …]
Dperf-trace.txt297 __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])
Dperf.data-directory-format.txt42 ├── [-r-------- 6731125] kallsyms
54 Using perf.data/kcore_dir/kallsyms for symbols
Dguest-files.txt4 Guest OS /proc/kallsyms file copy. perf reads it to get guest
Dperf-buildid-cache.txt37 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
Dperf-lock.txt58 --kallsyms=<file>::
59 kallsyms pathname
Dperf-inject.txt62 --kallsyms=<file>::
63 kallsyms pathname
Dperf-sched.txt103 --kallsyms=<file>::
104 kallsyms pathname
/linux-6.1.9/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_eventname.tc8 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
Dkprobe_args_symbol.tc8 if [ ! -f /proc/kallsyms ]; then
11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
Dkprobe_args_syntax.tc10 if ! grep -qw ${GOODSYM} /proc/kallsyms ; then
14 SYMADDR=0x`grep -w ${GOODSYM} /proc/kallsyms | cut -f 1 -d " "`
Dmultiple_kprobes.tc16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
Dprobepoint.tc24 set_offs `grep -A1 -B1 ${TARGET_FUNC} /proc/kallsyms | cut -f 1 -d " " | xargs`
/linux-6.1.9/scripts/
Dlink-vmlinux.sh143 kallsyms() function
160 scripts/kallsyms ${kallsymopt} ${1} > ${2}
168 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1}
174 kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S}
289 echo >&2 Inconsistent kallsyms data
D.gitignore6 /kallsyms
DMakefile7 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
/linux-6.1.9/tools/perf/
DMANIFEST16 tools/lib/symbol/kallsyms.c
17 tools/lib/symbol/kallsyms.h
Dcommand-list.txt18 perf-kallsyms mainporcelain common
/linux-6.1.9/tools/testing/selftests/net/
Drun_afpackettests27 if [ -f /proc/kallsyms ]; then
/linux-6.1.9/tools/perf/bench/
DBuild13 perf-y += kallsyms-parse.o

123