switch printk timestamp to use booting time
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | time: create __get_monotonic_boottime for WARNless callsinclude/ kernel/ | +29 | 0 replies | |
| 2/3 | timekeeping: move clocksource init to the early placeinclude/ init/ kernel/ | +17 | 0 replies | |
| 3/3 | printk: using booting time as the timestampkernel/ | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] switch printk timestamp to use booting time
It is very common to have many processor to run over the same machine but run different OS actually, so that timestamp alignment is key to do the right debugging when find something wrong.
Linux adopt schedule clock stopped, so that printk timestamp would get during suspend period which break such assumption in the old days. So this patch set is supposed to recover such behavior again.
BTW, I am not sure whether we could add additional member in printk log structure, so that we could print out two piece of log with one including suspend time, while another not?
Lei Wen (3):
time: create __get_monotonic_boottime for WARNless calls
timekeeping: move clocksource init to the early place
printk: using booting time as the timestamp
include/linux/time.h | 2 ++ init/main.c | 1 + kernel/printk/printk.c | 4 ++-- kernel/time/timekeeping.c | 55 ++++++++++++++++++++++++++++++++++++----------- 4 files changed, 48 insertions(+), 14 deletions(-)
Signature · 1 line
1.8.3.2