Home
last modified time | relevance | path

Searched refs:kcore (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dsymbol-elf.c1253 struct kcore { struct
1260 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument
1264 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1265 if (kcore->fd == -1) in kcore__open()
1268 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1269 if (!kcore->elf) in kcore__open()
1272 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()
1273 if (kcore->elfclass == ELFCLASSNONE) in kcore__open()
1276 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()
1283 elf_end(kcore->elf); in kcore__open()
[all …]
/Linux-v4.19/tools/perf/Documentation/
Dperf-buildid-cache.txt31 --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
Dintel-pt.txt61 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
Dperf-config.txt221 and /proc/kcore files to be used at analysis time.
/Linux-v4.19/tools/perf/
D.gitignore21 perf-with-kcore
Dperf-with-kcore.sh59 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
DMakefile.perf253 SCRIPT_SH += perf-with-kcore.sh
789 $(call QUIET_INSTALL, perf-with-kcore) \
790 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
855 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $…
/Linux-v4.19/fs/proc/
DMakefile32 proc-$(CONFIG_PROC_KCORE) += kcore.o
DKconfig32 bool "/proc/kcore support" if !ARM
/Linux-v4.19/Documentation/admin-guide/
Ddevices.rst94 /dev/core /proc/kcore symbolic Backward compatibility
DREADME.rst403 After you've rebooted with the new kernel, do ``gdb vmlinux /proc/kcore``.
Ddevices.txt11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
/Linux-v4.19/Documentation/filesystems/
Dproc.txt604 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))