Skip to content
Commit 9f6af27f authored by Tony Luck's avatar Tony Luck
Browse files

pstore: cleanups to pstore_dump()



pstore_dump() can be called with many different "reason" codes. Save
the name of the code in the persistent store record.

Also - only worthwhile calling pstore_mkfile for KMSG_DUMP_OOPS - that
is the only one where the kernel will continue running.

Reviewed-by: default avatarSeiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent eddecbb6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment