Home
last modified time | relevance | path

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

123

/linux-6.15/kernel/module/
H A Dkallsyms.c180 struct mod_kallsyms *kallsyms; in add_kallsyms() local
198 src = kallsyms->symtab; in add_kallsyms()
207 kallsyms->typetab[i]; in add_kallsyms()
220 rcu_assign_pointer(mod->kallsyms, kallsyms); in add_kallsyms()
246 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name()
260 struct mod_kallsyms *kallsyms = rcu_dereference(mod->kallsyms); in find_kallsyms_symbol() local
383 struct mod_kallsyms *kallsyms; in module_get_kallsym() local
387 kallsyms = rcu_dereference(mod->kallsyms); in module_get_kallsym()
407 struct mod_kallsyms *kallsyms = rcu_dereference(mod->kallsyms); in __find_kallsyms_symbol_value() local
468 struct mod_kallsyms *kallsyms; in module_kallsyms_on_each_symbol() local
[all …]
H A DMakefile19 obj-$(CONFIG_KALLSYMS) += kallsyms.o
/linux-6.15/tools/perf/scripts/python/
H 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.15/tools/perf/Documentation/
H 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
H A Dperf-intel-pt.txt78 simply 'data') and copies of /proc/kcore, /proc/kallsyms and /proc/modules into
1338 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore
1402 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore
1602 …ffffffc0f8ee1b __vmx_vcpu_run+0x5b ([kernel.kallsyms]) => ffffffffc0f8ed60 vmx_vmenter+0x0 ([kerne…
1608 …fffffc0f66445 vmx_vcpu_run+0x515 ([kernel.kallsyms]) => ffffffffb2290b30 native_write_msr+0x0 ([ke…
1619 …ffffc10b70f1 kvm_emulate_cpuid+0x61 ([kernel.kallsyms]) => ffffffffc10b6e10 kvm_cpuid+0x0 ([kernel…
1628 … ffffffffc109f899 vcpu_run+0x59 ([kernel.kallsyms]) => ffffffffc109c860 vcpu_enter_guest+0x0 ([ke…
1637 …fffffc0f66055 vmx_vcpu_run+0x125 ([kernel.kallsyms]) => ffffffffb2253050 cr4_read_shadow+0x0 ([ker…
1650 …fb2353e1c rcu_note_context_switch+0xc ([kernel.kallsyms]) => ffffffffb2353db0 rcu_qs+0x0 ([kernel.
1653 …ffffffc0f8ee1b __vmx_vcpu_run+0x5b ([kernel.kallsyms]) => ffffffffc0f8ed60 vmx_vmenter+0x0 ([kerne…
[all …]
H A Dperf-trace.txt306 __clear_user ([kernel.kallsyms])
307 load_elf_binary ([kernel.kallsyms])
308 search_binary_handler ([kernel.kallsyms])
309 __do_execve_file.isra.33 ([kernel.kallsyms])
310 __x64_sys_execve ([kernel.kallsyms])
311 do_syscall_64 ([kernel.kallsyms])
312 entry_SYSCALL_64 ([kernel.kallsyms])
342 __dev_queue_xmit ([kernel.kallsyms])
344 __dev_queue_xmit ([kernel.kallsyms])
346 __dev_queue_xmit ([kernel.kallsyms])
H A Dperf.data-directory-format.txt42 ├── [-r-------- 6731125] kallsyms
54 Using perf.data/kcore_dir/kallsyms for symbols
H A Dguest-files.txt4 Guest OS /proc/kallsyms file copy. perf reads it to get guest
H 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
/linux-6.15/tools/perf/tests/
H A Dvmlinux-kallsyms.c115 struct machine kallsyms; member
130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1()
153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2()
207 machine__init(&args.kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms()
219 if (machine__create_kernel_maps(&args.kallsyms) < 0) { in test__vmlinux_matches_kallsyms()
236 if (machine__load_kallsyms(&args.kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms()
250 kallsyms_map = machine__kernel_map(&args.kallsyms); in test__vmlinux_matches_kallsyms()
329 pair = machine__find_kernel_symbol_by_name(&args.kallsyms, in test__vmlinux_matches_kallsyms()
344 } else if (mem_start == map__end(args.kallsyms.vmlinux_map)) { in test__vmlinux_matches_kallsyms()
373 maps = machine__kernel_maps(&args.kallsyms); in test__vmlinux_matches_kallsyms()
[all …]
/linux-6.15/scripts/
H A Dlink-vmlinux.sh140 kallsyms() function
149 scripts/kallsyms ${kallsymopt} "${1}" > "${2}.S"
162 kallsyms "${1}.syms" "${1}.kallsyms"
216 kallsyms .tmp_vmlinux0.syms .tmp_vmlinux0.kallsyms
310 echo >&2 Inconsistent kallsyms data
H A Dleaking_addresses.pl60 my @kallsyms = ();
178 push @kallsyms, $entry;
484 foreach my $entry (@kallsyms) {
509 if (scalar @kallsyms > 0) {
H A D.gitignore6 /kallsyms
/linux-6.15/tools/testing/selftests/ftrace/test.d/kprobe/
H 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
H A Dkprobe_args_symbol.tc8 if [ ! -f /proc/kallsyms ]; then
11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
H A Dkprobe_args_syntax.tc10 if ! grep -qw ${GOODSYM} /proc/kallsyms ; then
14 SYMADDR=0x`grep -w ${GOODSYM} /proc/kallsyms | cut -f 1 -d " "`
H A Dmultiple_kprobes.tc16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
H A Dprobepoint.tc24 set_offs `grep -v __pfx_ /proc/kallsyms | grep -A1 -B1 ${TARGET_FUNC} | cut -f 1 -d " " | xargs`
/linux-6.15/tools/lib/symbol/
H A DBuild1 libsymbol-y += kallsyms.o
H A DMakefile99 HDRS := kallsyms.h
/linux-6.15/tools/testing/selftests/net/
H A Drun_afpackettests27 if [ -f /proc/kallsyms ]; then
/linux-6.15/tools/testing/selftests/livepatch/
H A Dtest-kprobe.sh8 grep -q kprobe_ftrace_ops /proc/kallsyms || skip "test-kprobe requires CONFIG_KPROBES_ON_FTRACE"
/linux-6.15/tools/perf/
H A Dcommand-list.txt18 perf-kallsyms mainporcelain common
/linux-6.15/tools/perf/bench/
H A DBuild14 perf-bench-y += kallsyms-parse.o
/linux-6.15/tools/testing/selftests/ftrace/test.d/filter/
H A Devent-filter-function.tc57 address=`grep " ${target_func}\$" /proc/kallsyms | cut -d' ' -f1`

123