Searched refs:kcore (Results 1 – 10 of 10) sorted by relevance
1217 struct kcore { struct1224 static int kcore__open(struct kcore *kcore, const char *filename) in kcore__open() argument1228 kcore->fd = open(filename, O_RDONLY); in kcore__open()1229 if (kcore->fd == -1) in kcore__open()1232 kcore->elf = elf_begin(kcore->fd, ELF_C_READ, NULL); in kcore__open()1233 if (!kcore->elf) in kcore__open()1236 kcore->elfclass = gelf_getclass(kcore->elf); in kcore__open()1237 if (kcore->elfclass == ELFCLASSNONE) in kcore__open()1240 ehdr = gelf_getehdr(kcore->elf, &kcore->ehdr); in kcore__open()1247 elf_end(kcore->elf); in kcore__open()[all …]
25 --kcore::26 Add specified kcore file to the cache. For the current host that is27 /proc/kcore which requires root permissions to read. Be aware that33 permissions for root only. kcore will not be added if there is already a34 kcore in the cache (with the same build-id) that has the same modules at35 the same addresses. Use the -v option to see if a copy of kcore is
21 perf-with-kcore
154 SCRIPT_SH += perf-with-kcore.sh482 $(call QUIET_INSTALL, perf-with-kcore) \483 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'529 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $…
59 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
29 proc-$(CONFIG_PROC_KCORE) += kcore.o
32 bool "/proc/kcore support" if !ARM
397 After you've rebooted with the new kernel, do "gdb vmlinux /proc/kcore".
96 6 = /dev/core OBSOLETE - replaced by /proc/kcore3194 /dev/core /proc/kcore symbolic Backward compatibility
571 kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))