/linux/scripts/ |
A D | .kallsyms.cmd | 1 …kallsyms := gcc -Wp,-MMD,scripts/.kallsyms.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -f… 3 source_scripts/kallsyms := scripts/kallsyms.c 5 deps_scripts/kallsyms := \ 7 scripts/kallsyms: $(deps_scripts/kallsyms) 9 $(deps_scripts/kallsyms):
|
A D | link-vmlinux.sh | 238 kallsyms() function 255 ${NM} -n ${1} | scripts/kallsyms ${kallsymopt} > ${2} 263 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1} 268 kallsyms ${kallsyms_vmlinux} ${kallsyms_S} 419 echo >&2 Inconsistent kallsyms data
|
A D | .gitignore | 6 /kallsyms
|
A D | Makefile | 10 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
|
/linux/tools/perf/tests/ |
A D | vmlinux-kallsyms.c | 121 struct machine kallsyms, vmlinux; in test__vmlinux_matches_kallsyms() local 132 machine__init(&kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms() 142 if (machine__create_kernel_maps(&kallsyms) < 0) { in test__vmlinux_matches_kallsyms() 158 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms() 171 kallsyms_map = machine__kernel_map(&kallsyms); in test__vmlinux_matches_kallsyms() 221 first_pair = machine__find_kernel_symbol(&kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms() 264 } else if (mem_start == kallsyms.vmlinux_map->end) { in test__vmlinux_matches_kallsyms() 296 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? in test__vmlinux_matches_kallsyms() 318 pair = maps__find(&kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms() 340 maps = machine__kernel_maps(&kallsyms); in test__vmlinux_matches_kallsyms() [all …]
|
/linux/tools/perf/scripts/python/ |
A D | net_dropmonitor.py | 17 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/ |
A D | perf-kallsyms.txt | 1 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 D | perf-intel-pt.txt | 78 simply 'data') and copies of /proc/kcore, /proc/kallsyms and /proc/modules into 1220 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore 1224 …/home/user/.debug/[kernel.kcore]/9600f316a53a0f54278885e8d9710538ec5f6a08/2021021807494306/kallsyms 1250 …CPU 0/KVM 1440 ffffffff82133cdd __vmx_vcpu_run+0x3d ([kernel.kallsyms]) movq 0x4… 1251 …CPU 0/KVM 1440 ffffffff82133ce1 __vmx_vcpu_run+0x41 ([kernel.kallsyms]) movq 0x5… 1257 …CPU 0/KVM 1440 ffffffff82133cf9 __vmx_vcpu_run+0x59 ([kernel.kallsyms]) movq (%r… 1259 …CPU 0/KVM 1440 ffffffff82133c40 vmx_vmenter+0x0 ([kernel.kallsyms]) jz 0xffffffff8213… 1263 …:1440 1440 ffffffffbb666646 lapic_next_deadline+0x26 ([guest.kernel.kallsyms]) data1… 1265 …:1440 1440 ffffffffbb66664a lapic_next_deadline+0x2a ([guest.kernel.kallsyms]) popq … 1284 Copy the guest /proc/kallsyms, /proc/modules and /proc/kcore [all …]
|
A D | perf-trace.txt | 297 __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 D | perf.data-directory-format.txt | 42 ├── [-r-------- 6731125] kallsyms 54 Using perf.data/kcore_dir/kallsyms for symbols
|
A D | perf-inject.txt | 55 --kallsyms=<file>:: 56 kallsyms pathname
|
A D | perf-buildid-cache.txt | 37 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 D | perf-sched.txt | 103 --kallsyms=<file>:: 104 kallsyms pathname
|
A D | perf-probe.txt | 300 Since perf probe depends on ftrace (tracefs) and kallsyms (/proc/kallsyms), you have to care about … 302 …- Since tracefs and kallsyms requires root or privileged user to access it, the following perf pro… 306 … kallsyms. You also need to set to 1 (restrict non CAP_SYSLOG users) for the above commands. Since…
|
/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
A D | kprobe_eventname.tc | 8 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 D | kprobe_args_symbol.tc | 8 if [ ! -f /proc/kallsyms ]; then 11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
|
A D | kprobe_args_syntax.tc | 10 if ! grep -qw ${GOODSYM} /proc/kallsyms ; then 14 SYMADDR=0x`grep -w ${GOODSYM} /proc/kallsyms | cut -f 1 -d " "`
|
A D | multiple_kprobes.tc | 16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
|
A D | probepoint.tc | 24 set_offs `grep -A1 -B1 ${TARGET_FUNC} /proc/kallsyms | cut -f 1 -d " " | xargs`
|
/linux/kernel/ |
A D | module.c | 2777 src = mod->kallsyms->symtab; in add_kallsyms() 2784 mod->kallsyms->typetab[i]; in add_kallsyms() 4247 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; in kallsyms_symbol_name() 4261 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); in find_kallsyms_symbol() local 4414 struct mod_kallsyms *kallsyms; in module_get_kallsym() local 4418 kallsyms = rcu_dereference_sched(mod->kallsyms); in module_get_kallsym() 4419 if (symnum < kallsyms->num_symtab) { in module_get_kallsym() 4423 *type = kallsyms->typetab[symnum]; in module_get_kallsym() 4430 symnum -= kallsyms->num_symtab; in module_get_kallsym() 4440 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); in find_kallsyms_symbol_value() local [all …]
|
A D | .kallsyms.o.cmd | 1 …kallsyms.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin… 3 source_kernel/kallsyms.o := kernel/kallsyms.c 5 deps_kernel/kallsyms.o := \ 33 include/linux/kallsyms.h \ 1406 kernel/kallsyms.o: $(deps_kernel/kallsyms.o) 1408 $(deps_kernel/kallsyms.o):
|
/linux/tools/perf/ |
A D | MANIFEST | 16 tools/lib/symbol/kallsyms.c 17 tools/lib/symbol/kallsyms.h
|
A D | command-list.txt | 18 perf-kallsyms mainporcelain common
|
/linux/tools/testing/selftests/net/ |
A D | run_afpackettests | 27 if [ -f /proc/kallsyms ]; then
|
/linux/tools/perf/bench/ |
A D | Build | 13 perf-y += kallsyms-parse.o
|