All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v10] printk: Add new timestamps
@ 2017-08-28 12:21 Prarit Bhargava
  2017-08-28 12:21 ` [PATCH 1/2 v10] time: Make fast functions return 0 before timekeeping is initialized Prarit Bhargava
  2017-08-28 12:21 ` [PATCH 2/2 v10] printk: Add monotonic, boottime, and realtime timestamps Prarit Bhargava
  0 siblings, 2 replies; 9+ messages in thread
From: Prarit Bhargava @ 2017-08-28 12:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: Prarit Bhargava, Mark Salyzyn, Jonathan Corbet, Petr Mladek,
	Sergey Senozhatsky, Steven Rostedt, John Stultz, Thomas Gleixner,
	Stephen Boyd, Andrew Morton, Greg Kroah-Hartman,
	Paul E. McKenney, Christoffer Dall, Deepa Dinamani, Ingo Molnar,
	Joel Fernandes, Kees Cook, Peter Zijlstra, Geert Uytterhoeven,
	Luis R. Rodriguez, Nicholas Piggin, Jason A. Donenfeld,
	Olof Johansson, Josh Poimboeuf, linux-doc

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.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Mark Salyzyn <salyzyn@android.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Christoffer Dall <cdall@linaro.org>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Joel Fernandes <joelaf@google.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: linux-doc@vger.kernel.org
[jstultz: reworked Kconfig settings to avoid defconfig noise]
Signed-off-by: John Stultz <john.stultz@linaro.org>

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

 Documentation/admin-guide/kernel-parameters.txt |   6 +-
 include/linux/timekeeping.h                     |   1 +
 kernel/printk/printk.c                          | 116 +++++++++++++++++++++++-
 kernel/time/timekeeping.c                       |  54 ++++++++---
 lib/Kconfig.debug                               |  48 +++++++++-
 5 files changed, 206 insertions(+), 19 deletions(-)

-- 
1.8.5.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-26  8:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 12:21 [PATCH 0/2 v10] printk: Add new timestamps Prarit Bhargava
2017-08-28 12:21 ` [PATCH 1/2 v10] time: Make fast functions return 0 before timekeeping is initialized Prarit Bhargava
2017-08-28 15:00   ` Thomas Gleixner
2017-09-25 19:18   ` [tip:core/printk] timekeeping: Make fast accessors " tip-bot for Prarit Bhargava
2017-08-28 12:21 ` [PATCH 2/2 v10] printk: Add monotonic, boottime, and realtime timestamps Prarit Bhargava
2017-08-31 16:17   ` Thomas Gleixner
2017-09-25 19:19   ` [tip:core/printk] " tip-bot for Prarit Bhargava
2017-09-25 23:50     ` Sergey Senozhatsky
2017-09-26  8:38       ` Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.