Re: [PATCH] mtd: mtdoops: optionally dump boottime
From: Richard Weinberger
Date: Sun May 20 2018 - 03:21:44 EST
Stefan,
Am Sonntag, 20. Mai 2018, 05:39:40 CEST schrieb Stefan M Schaeckeler:
> Optionally dump boottime on the mtd device in the form of
>
> <0>[ 0.000000] Boot time mm/dd/yyyy hh:mm:ss
>
> Time-stamps of oops messages are in seconds since boottime. Recording also
> the boottime helps correlating oopses with other events having occured at
> the same time. This correlation will be otherwise lost after (multiple)
> reboots.
I get the use-case, but why is this only for mtdoops?
IMHO this needs to go into generic code such that all kmsg dumpers can
benefit from it.
Thanks,
//richard