aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/kmsg_dump.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-04-13um: add a kmsg_dumperThomas Meyer1-0/+43
Add a kmsg_dumper, that dumps the kmsg buffer to stdout, when no console is available. This an enables the printing of early panic() calls triggered in uml_postsetup(). When a panic() call happens so early in the UML kernel no earlyprintk/console is available yet, but with a kmsg_dumper in place the kernel message buffer will be outputted to the user, to give a better hint, of what the failure was. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Richard Weinberger <richard@nod.at>