summaryrefslogtreecommitdiff
path: root/kexec/kernel_version.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-09-07 15:00:10 -0700
committerSimon Horman <horms@verge.net.au>2010-09-09 17:05:13 +0900
commited7780a5022bb4a9b9a23de1bda99c6de9921195 (patch)
tree47b4c453e5dd9b2c08ef652329a6294c1c554785 /kexec/kernel_version.c
parentec26fee3ecda1ebba51ab5d236402c3c2a7fd77e (diff)
kexec-tools: Add vmcore-dmesg
vmcore-dmesg is a trivial utility to extract the dmesg from a vmcore. This was written in reaction to problems I was having building makedumpfile, and using makedumpfile for extracting dmesg. makedumpfile does a whole lot of things, uses a whole lot of libraries and which make it hard to compile and a little bit clunky to remember the command line switches. So I have written the trivial vmcore-dmesg program that reads a vmcore either /proc/vmcore or a saved version vmcore and writes the dmesg to stdout. There is nothing to vmcore-dmesg and all of the arch dependencies are wrapped up in generating the core file. Which means a vmcore-dmesg should work with core files of all architectures without needing a rebuild. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> [ horms@verge.net.au removed trailing white-space ] Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kernel_version.c')
0 files changed, 0 insertions, 0 deletions