Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/kernel/module/
A Dkallsyms.c184 rcu_dereference(mod->kallsyms)->strtab = in add_kallsyms()
255 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name()
269 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); in find_kallsyms_symbol() local
422 struct mod_kallsyms *kallsyms; in module_get_kallsym() local
426 kallsyms = rcu_dereference_sched(mod->kallsyms); in module_get_kallsym()
427 if (symnum < kallsyms->num_symtab) { in module_get_kallsym()
431 *type = kallsyms->typetab[symnum]; in module_get_kallsym()
438 symnum -= kallsyms->num_symtab; in module_get_kallsym()
448 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); in find_kallsyms_symbol_value() local
508 struct mod_kallsyms *kallsyms; in module_kallsyms_on_each_symbol() local
[all …]
A DMakefile16 obj-$(CONFIG_KALLSYMS) += kallsyms.o
/linux-6.3-rc2/tools/perf/scripts/python/
A 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.3-rc2/tools/perf/tests/
A 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()
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()
345 maps = machine__kernel_maps(&kallsyms); in test__vmlinux_matches_kallsyms()
[all …]
/linux-6.3-rc2/tools/perf/Documentation/
A 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
A 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
1344 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore
1544 …ffffffc0f8ee1b __vmx_vcpu_run+0x5b ([kernel.kallsyms]) => ffffffffc0f8ed60 vmx_vmenter+0x0 ([kerne…
1550 …fffffc0f66445 vmx_vcpu_run+0x515 ([kernel.kallsyms]) => ffffffffb2290b30 native_write_msr+0x0 ([ke…
1561 …ffffc10b70f1 kvm_emulate_cpuid+0x61 ([kernel.kallsyms]) => ffffffffc10b6e10 kvm_cpuid+0x0 ([kernel…
1570 … ffffffffc109f899 vcpu_run+0x59 ([kernel.kallsyms]) => ffffffffc109c860 vcpu_enter_guest+0x0 ([ke…
1577 …fffc109cf10 vcpu_enter_guest+0x6b0 ([kernel.kallsyms]) => ffffffffc0f65f30 vmx_vcpu_run+0x0 ([kern…
1579 …fffffc0f66055 vmx_vcpu_run+0x125 ([kernel.kallsyms]) => ffffffffb2253050 cr4_read_shadow+0x0 ([ker…
1592 …fb2353e1c rcu_note_context_switch+0xc ([kernel.kallsyms]) => ffffffffb2353db0 rcu_qs+0x0 ([kernel.
[all …]
A 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])
A Dperf.data-directory-format.txt42 ├── [-r-------- 6731125] kallsyms
54 Using perf.data/kcore_dir/kallsyms for symbols
A Dguest-files.txt4 Guest OS /proc/kallsyms file copy. perf reads it to get guest
A 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
A Dperf-inject.txt62 --kallsyms=<file>::
63 kallsyms pathname
/linux-6.3-rc2/tools/testing/selftests/ftrace/test.d/kprobe/
A 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
A Dkprobe_args_symbol.tc8 if [ ! -f /proc/kallsyms ]; then
11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
A Dkprobe_args_syntax.tc10 if ! grep -qw ${GOODSYM} /proc/kallsyms ; then
14 SYMADDR=0x`grep -w ${GOODSYM} /proc/kallsyms | cut -f 1 -d " "`
A Dmultiple_kprobes.tc16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
A Dprobepoint.tc24 set_offs `grep -v __pfx_ /proc/kallsyms | grep -A1 -B1 ${TARGET_FUNC} | cut -f 1 -d " " | xargs`
/linux-6.3-rc2/scripts/
A Dlink-vmlinux.sh143 kallsyms() function
164 scripts/kallsyms ${kallsymopt} ${1} > ${2}
172 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1}
178 kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S}
293 echo >&2 Inconsistent kallsyms data
A D.gitignore5 /kallsyms
A DMakefile6 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
/linux-6.3-rc2/tools/lib/symbol/
A DBuild1 libsymbol-y += kallsyms.o
A DMakefile103 HDRS := kallsyms.h
/linux-6.3-rc2/tools/testing/selftests/net/
A Drun_afpackettests27 if [ -f /proc/kallsyms ]; then
/linux-6.3-rc2/tools/testing/selftests/ftrace/test.d/filter/
A Devent-filter-function.tc33 address=`grep ' exit_mmap$' /proc/kallsyms | cut -d' ' -f1`
/linux-6.3-rc2/tools/perf/bench/
A DBuild13 perf-y += kallsyms-parse.o
/linux-6.3-rc2/tools/perf/
A Dcommand-list.txt18 perf-kallsyms mainporcelain common

Completed in 28 milliseconds

123