Skip to content

printk: Add new timestamps

Prarit Bhargava lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest3 patches 3 repliesIn review
  2. v113 patches 8 repliesSuperseded
  3. v102 patches 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v92 patches1 replySuperseded
v82 patches4 repliesSuperseded
v72 patches7 repliesSuperseded
v62 patches3 repliesSuperseded

Patches in v12 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3time: Make fast functions return 0 before timekeeping is initializedkernel/time/timekeeping.c+21 -140 replies
2/3timekeeping: Provide NMI safe access to clock realtimeinclude/linux/timekeeper_internal.h include/linux/timekeeping.h kernel/time/timekeeping.c+41 -10 replies
3/3printk: Add monotonic, boottime, and realtime timestampsDocumentation/admin-guide/kernel-parameters.txt kernel/printk/printk.c lib/Kconfig.debug+176 -83 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPetr Mladek
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v12 thread

Cover letter [PATCH 0/3 v12] printk: Add new timestamps

printk.time=1/CONFIG_PRINTK_TIME=1 adds a unmodified local hardware clock timestamp to printk messages. The local hardware clock loses time each day making it difficult to determine exactly when an issue has occurred in the kernel log, and making it difficult to determine how kernel and hardware issues relate to each other in real time.

Add monotonic, boottime, and real clock timestamps in addition to the existing local hardware clock timestamp.

Changes from v12: In 1/3 remove typecast. In 3/3, Reword Kconfig names, simplify timestamp logic and remove recursive code.

Cc Mark Salyzyn <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Petr Mladek <[email protected]>
Cc Sergey Senozhatsky <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc John Stultz <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc "Paul E. McKenney" <[email protected]>
Cc Christoffer Dall <[email protected]>
Cc Deepa Dinamani <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Prarit Bhargava <[email protected]>
Cc Kees Cook <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc "Luis R. Rodriguez" <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc "Jason A. Donenfeld" <[email protected]>
Cc Olof Johansson <[email protected]>
Cc Josh Poimboeuf <[email protected]>
[jstultz: reworked Kconfig settings to avoid defconfig noise]

Prarit Bhargava (2):
time: Make fast functions return 0 before timekeeping is initialized
printk: Add monotonic, boottime, and realtime timestamps

Thomas Gleixner (1):
timekeeping: Provide NMI safe access to clock realtime

 Documentation/admin-guide/kernel-parameters.txt |   6 +-
 include/linux/timekeeper_internal.h             |   6 +-
 include/linux/timekeeping.h                     |   1 +
 kernel/printk/printk.c                          | 130 +++++++++++++++++++++++-
 kernel/time/timekeeping.c                       |  60 +++++++++--
 lib/Kconfig.debug                               |  48 ++++++++-
 6 files changed, 233 insertions(+), 18 deletions(-)
Signature · 1 line
1.8.5.5