Home
last modified time | relevance | path

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

123

/linux-6.6.21/kernel/module/
Dkallsyms.c182 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 …]
DMakefile19 obj-$(CONFIG_KALLSYMS) += kallsyms.o
/linux-6.6.21/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.6.21/tools/perf/tests/
Dvmlinux-kallsyms.c123 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/
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
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 …]
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
/linux-6.6.21/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 -v __pfx_ /proc/kallsyms | grep -A1 -B1 ${TARGET_FUNC} | cut -f 1 -d " " | xargs`
/linux-6.6.21/scripts/
Dlink-vmlinux.sh148 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.gitignore5 /kallsyms
DMakefile6 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
/linux-6.6.21/tools/lib/symbol/
DBuild1 libsymbol-y += kallsyms.o
DMakefile103 HDRS := kallsyms.h
/linux-6.6.21/tools/testing/selftests/net/
Drun_afpackettests27 if [ -f /proc/kallsyms ]; then
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/filter/
Devent-filter-function.tc48 address=`grep " ${target_func}\$" /proc/kallsyms | cut -d' ' -f1`
/linux-6.6.21/tools/perf/bench/
DBuild14 perf-y += kallsyms-parse.o
/linux-6.6.21/tools/perf/
Dcommand-list.txt18 perf-kallsyms mainporcelain common
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_lib.sh98 grep -q " ${sym}" /proc/kallsyms

123