Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/
Dsymbol-elf.c1235 struct kcore { struct
1242 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument
1246 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1247 if (kcore->fd == -1) in kcore__open()
1250 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()
1251 if (!kcore->elf) in kcore__open()
1254 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()
1255 if (kcore->elfclass == ELFCLASSNONE) in kcore__open()
1258 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()
1265 elf_end(kcore->elf); in kcore__open()
[all …]
/linux-4.4.14/tools/perf/Documentation/
Dperf-buildid-cache.txt25 --kcore::
26 Add specified kcore file to the cache. For the current host that is
27 /proc/kcore which requires root permissions to read. Be aware that
33 permissions for root only. kcore will not be added if there is already a
34 kcore in the cache (with the same build-id) that has the same modules at
35 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
/linux-4.4.14/tools/perf/
D.gitignore21 perf-with-kcore
DMakefile.perf179 SCRIPT_SH += perf-with-kcore.sh
532 $(call QUIET_INSTALL, perf-with-kcore) \
533 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
588 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $…
Dperf-with-kcore.sh59 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
/linux-4.4.14/fs/proc/
DMakefile29 proc-$(CONFIG_PROC_KCORE) += kcore.o
DKconfig32 bool "/proc/kcore support" if !ARM
/linux-4.4.14/
DREADME397 After you've rebooted with the new kernel, do "gdb vmlinux /proc/kcore".
/linux-4.4.14/Documentation/
Ddevices.txt96 6 = /dev/core OBSOLETE - replaced by /proc/kcore
3194 /dev/core /proc/kcore symbolic Backward compatibility
/linux-4.4.14/Documentation/filesystems/
Dproc.txt589 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))