-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
printk: Add sleep time to timestamps
cpu_clock() uses monotonic time, which skews when the system suspends, making it difficult to interpret kmsg timestamps. Add the sleep time offset to cpu_clock() in order to make kmsg timestamps reflect the actual boot time. Change-Id: I642cc458b4aba8c78e64dbca8febdf8190a328bc Signed-off-by: Sultanxda <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Danny Lin <[email protected]> Signed-off-by: NotZeetaa <[email protected]>
- Loading branch information
1 parent
35f0629
commit e9eb5ab
Showing
3 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters