Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/tests/
Dvmlinux-kallsyms.c23 struct machine kallsyms, vmlinux; in test__vmlinux_matches_kallsyms() local
34 machine__init(&kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms()
44 if (machine__create_kernel_maps(&kallsyms) < 0) { in test__vmlinux_matches_kallsyms()
60 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms()
73 kallsyms_map = machine__kernel_map(&kallsyms); in test__vmlinux_matches_kallsyms()
123 first_pair = machine__find_kernel_symbol(&kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms()
152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
166 } else if (mem_start == kallsyms.vmlinux_map->end) { in test__vmlinux_matches_kallsyms()
193 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? in test__vmlinux_matches_kallsyms()
215 pair = maps__find(&kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms()
[all …]
/kernel/linux/linux-5.10/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]
/kernel/linux/linux-5.10/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-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-inject.txt48 --kallsyms=<file>::
49 kallsyms pathname
Dperf.data-directory-format.txt42 ├── [-r-------- 6731125] kallsyms
54 Using perf.data/kcore_dir/kallsyms for symbols
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-sched.txt103 --kallsyms=<file>::
104 kallsyms pathname
/kernel/linux/linux-5.10/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`
/kernel/linux/linux-5.10/scripts/
Dlink-vmlinux.sh230 kallsyms() function
247 ${NM} -n ${1} | scripts/kallsyms ${kallsymopt} > ${2}
255 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1}
260 kallsyms ${kallsyms_vmlinux} ${kallsyms_S}
423 echo >&2 Inconsistent kallsyms data
D.gitignore3 kallsyms
DMakefile10 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
/kernel/linux/linux-5.10/tools/perf/
DMANIFEST16 tools/lib/symbol/kallsyms.c
17 tools/lib/symbol/kallsyms.h
Dcommand-list.txt17 perf-kallsyms mainporcelain common
DBuild11 perf-y += builtin-kallsyms.o
/kernel/linux/linux-5.10/kernel/
Dmodule.c2815 mod->kallsyms = mod->init_layout.base + info->mod_kallsyms_init_off; in add_kallsyms()
2817 mod->kallsyms->symtab = (void *)symsec->sh_addr; in add_kallsyms()
2818 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
2820 mod->kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms()
2821 mod->kallsyms->typetab = mod->init_layout.base + info->init_typeoffs; in add_kallsyms()
2830 src = mod->kallsyms->symtab; in add_kallsyms()
2831 for (ndst = i = 0; i < mod->kallsyms->num_symtab; i++) { in add_kallsyms()
2832 mod->kallsyms->typetab[i] = elf_type(src + i, info); in add_kallsyms()
2837 mod->kallsyms->typetab[i]; in add_kallsyms()
2840 s += strlcpy(s, &mod->kallsyms->strtab[src[i].st_name], in add_kallsyms()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Drun_afpackettests24 if [ -f /proc/kallsyms ]; then
/kernel/linux/linux-5.10/tools/perf/bench/
DBuild13 perf-y += kallsyms-parse.o
/kernel/linux/linux-5.10/Documentation/trace/
Devents-nmi.rst26 $ grep perf_event_nmi_handler /proc/kallsyms
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-kernel-livepatch68 name in kallsyms for the patched object.
/kernel/linux/linux-5.10/tools/perf/util/
DBuild20 perf-y += kallsyms.o
273 $(OUTPUT)util/kallsyms.o: ../lib/symbol/kallsyms.c FORCE

12