[PATCH] Add /sys/kernel/vmcoreinfo ABI documentation

Vivek Goyal vgoyal at redhat.com
Wed Jan 15 11:34:27 EST 2014


/sys/kernel/vmcoreinfo was introduced long back but there is no ABI
documentation. This patch adds the documentation.

Signed-off-by: Vivek Goyal <vgoyal at redhat.com>
---
 Documentation/ABI/testing/sysfs-kernel-vmcoreinfo |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

Index: linux-2.6/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo	2014-01-15 11:30:22.402206445 -0500
@@ -0,0 +1,14 @@
+What:		/sys/kernel/vmcoreinfo
+Date:		October 2007
+KernelVersion:	2.6.24
+Contact:	Ken'ichi Ohmichi <oomichi at mxs.nes.nec.co.jp>
+		Kexec Mailing List <kexec at lists.infradead.org>
+		Vivek Goyal <vgoyal at redhat.com>
+Description
+		Shows physical address and size of vmcoreinfo ELF note.
+		First value contains physical address of note in hex and
+		second value contains the size of note in hex. This ELF
+		note info is parsed by second kernel and exported to user
+		space as part of ELF note in /proc/vmcore file. This note
+		contains various information like struct size, symbol
+		values, page size etc.



More information about the kexec mailing list