Searched refs:kcore (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.4/tools/perf/util/ |
| D | symbol-elf.c | 1298 struct kcore { struct 1305 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument 1309 kcore->fd = open(filename, O_RDONLY); in kcore__open() 1310 if (kcore->fd == -1) in kcore__open() 1313 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open() 1314 if (!kcore->elf) in kcore__open() 1317 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open() 1318 if (kcore->elfclass == ELFCLASSNONE) in kcore__open() 1321 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open() 1328 elf_end(kcore->elf); in kcore__open() [all …]
|
| /Linux-v5.4/tools/perf/Documentation/ |
| D | perf-buildid-cache.txt | 31 --kcore:: 32 Add specified kcore file to the cache. For the current host that is 33 /proc/kcore which requires root permissions to read. Be aware that 39 permissions for root only. kcore will not be added if there is already a 40 kcore in the cache (with the same build-id) that has the same modules at 41 the same addresses. Use the -v option to see if a copy of kcore is
|
| D | intel-pt.txt | 61 code. A fairly good kernel image is available in /proc/kcore but to get an 62 accurate image a copy of /proc/kcore needs to be made under the same conditions 63 as the data capture. A script perf-with-kcore can do that, but beware that the 64 script makes use of 'sudo' to copy /proc/kcore. If you have perf installed 67 ~/libexec/perf-core/perf-with-kcore record pt_ls -e intel_pt// -- ls 70 copies of /proc/kcore, /proc/kallsyms and /proc/modules into it. Then to use 73 ~/libexec/perf-core/perf-with-kcore report pt_ls 78 ~/libexec/perf-core/perf-with-kcore report pt_ls --itrace=i1usge
|
| D | perf-config.txt | 235 and /proc/kcore files to be used at analysis time.
|
| /Linux-v5.4/tools/perf/ |
| D | .gitignore | 21 perf-with-kcore
|
| D | perf-with-kcore.sh | 52 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
|
| D | Makefile.perf | 269 SCRIPT_SH += perf-with-kcore.sh 891 $(call QUIET_INSTALL, perf-with-kcore) \ 892 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' 957 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore …
|
| /Linux-v5.4/fs/proc/ |
| D | Makefile | 32 proc-$(CONFIG_PROC_KCORE) += kcore.o
|
| D | Kconfig | 33 bool "/proc/kcore support" if !ARM
|
| /Linux-v5.4/Documentation/admin-guide/ |
| D | devices.rst | 95 /dev/core /proc/kcore symbolic Backward compatibility
|
| D | README.rst | 402 After you've rebooted with the new kernel, do ``gdb vmlinux /proc/kcore``.
|
| D | devices.txt | 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
|
| /Linux-v5.4/include/ |
| D | Kbuild | 270 header-test- += linux/kcore.h
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | proc.txt | 645 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
|