Home
last modified time | relevance | path

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

123

/linux/kernel/module/
H A Dkallsyms.c3 * Module kallsyms support
10 #include <linux/kallsyms.h>
180 struct mod_kallsyms *kallsyms; in add_kallsyms()
182 kallsyms = init_data_base + info->mod_kallsyms_init_off; in add_kallsyms()
184 kallsyms->symtab = (void *)symsec->sh_addr; in add_kallsyms()
185 kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
187 kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms()
188 kallsyms->typetab = init_data_base + info->init_typeoffs; in add_kallsyms()
191 * Now populate the cut down core kallsyms for after init in add_kallsyms()
198 src = kallsyms in add_kallsyms()
247 kallsyms_symbol_name(struct mod_kallsyms * kallsyms,unsigned int symnum) kallsyms_symbol_name() argument
263 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); find_kallsyms_symbol() local
391 struct mod_kallsyms *kallsyms; module_get_kallsym() local
417 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); __find_kallsyms_symbol_value() local
486 struct mod_kallsyms *kallsyms; module_kallsyms_on_each_symbol() local
[all...]
H A DMakefile19 obj-$(CONFIG_KALLSYMS) += kallsyms.o
/linux/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/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-trace.txt309 __clear_user ([kernel.kallsyms])
310 load_elf_binary ([kernel.kallsyms])
311 search_binary_handler ([kernel.kallsyms])
312 __do_execve_file.isra.33 ([kernel.kallsyms])
313 __x64_sys_execve ([kernel.kallsyms])
314 do_syscall_64 ([kernel.kallsyms])
315 entry_SYSCALL_64 ([kernel.kallsyms])
345 __dev_queue_xmit ([kernel.kallsyms])
347 __dev_queue_xmit ([kernel.kallsyms])
349 __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/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()
300 first_pair = machine__find_kernel_symbol(&args.kallsyms, mem_start, NULL); 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()
[all …]
/linux/tools/perf/tests/shell/
H A Dkallsyms.sh11 if [ ! -r /proc/kallsyms ]; then
22 output=$(perf kallsyms $symbol 2>&1)
28 if grep -q "$symbol" /proc/kallsyms 2>/dev/null; then
47 if perf kallsyms ErlingHaaland | grep -vq "not found"; then
/linux/scripts/
H A Dlink-vmlinux.sh138 kallsyms() function
147 scripts/kallsyms ${kallsymopt} "${1}" > "${2}.S"
160 kallsyms "${1}.syms" "${1}.kallsyms"
221 kallsyms .tmp_vmlinux0.syms .tmp_vmlinux0.kallsyms
315 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/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/tools/lib/symbol/
H A DBuild1 libsymbol-y += kallsyms.o
H A DMakefile99 HDRS := kallsyms.h
/linux/tools/testing/selftests/net/
H A Drun_afpackettests27 if [ -f /proc/kallsyms ]; then
/linux/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/Documentation/arch/powerpc/
H A Dvpa-dtl.rst141 100.00% 100.00% swapper [kernel.kallsyms] [k] plpar_hcall_norets_notrace
153 …aiting_to_ready_time:511842115 c0000000000fcd28 plpar_hcall_norets_notrace+0x18 ([kernel.kallsyms])
154 …aiting_to_ready_time:133864583 c0000000000fcd28 plpar_hcall_norets_notrace+0x18 ([kernel.kallsyms])
/linux/tools/perf/
H A Dcommand-list.txt18 perf-kallsyms mainporcelain common
/linux/tools/perf/bench/
H A DBuild15 perf-bench-y += kallsyms-parse.o

123