mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[PATCH] kdump: Access dump file in elf format (/proc/vmcore)
From: "Vivek Goyal" <[email protected]> o Support for /proc/vmcore interface. This interface exports elf core image either in ELF32 or ELF64 format, depending on the format in which elf headers have been stored by crashed kernel. o Added support for CONFIG_VMCORE config option. o Removed the dependency on /proc/kcore. From: "Eric W. Biederman" <[email protected]> This patch has been refactored to more closely match the prevailing style in the affected files. And to clearly indicate the dependency between /proc/kcore and proc/vmcore.c From: Hariprasad Nellitheertha <[email protected]> This patch contains the code that provides an ELF format interface to the previous kernel's memory post kexec reboot. Signed off by Hariprasad Nellitheertha <[email protected]> Signed-off-by: Eric Biederman <[email protected]> Signed-off-by: Vivek Goyal <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
2030eae52b
commit
666bfddbe8
7 changed files with 476 additions and 1 deletions
|
|
@ -734,6 +734,12 @@ config PROC_KCORE
|
|||
bool "/proc/kcore support" if !ARM
|
||||
depends on PROC_FS && MMU
|
||||
|
||||
config PROC_VMCORE
|
||||
bool "/proc/vmcore support (EXPERIMENTAL)"
|
||||
depends on PROC_FS && EMBEDDED && EXPERIMENTAL && CRASH_DUMP
|
||||
help
|
||||
Exports the dump image of crashed kernel in ELF format.
|
||||
|
||||
config SYSFS
|
||||
bool "sysfs file system support" if EMBEDDED
|
||||
default y
|
||||
|
|
|
|||
Loading…
Reference in a new issue