Hi!

I propose to we configure our kernel to emit timestamps in kernel messages.

+ This allows quickly seeing the timing of kernel messages when using
the "dmesg" command.
+ Allows to quickly see which msgs come from kernel when other
  processes (like systemd) inject messages there.
+ Others are doing it AFAIK.
- Causes longer log lines

Patch attached.

-- 
Anssi Hannula
Index: configs/x86_64.config
===================================================================
--- configs/x86_64.config	(revision 175581)
+++ configs/x86_64.config	(working copy)
@@ -5215,7 +5215,7 @@
 # Kernel hacking
 #
 CONFIG_TRACE_IRQFLAGS_SUPPORT=y
-# CONFIG_PRINTK_TIME is not set
+CONFIG_PRINTK_TIME=y
 CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
 CONFIG_ENABLE_WARN_DEPRECATED=y
 CONFIG_ENABLE_MUST_CHECK=y
Index: configs/arm.config
===================================================================
--- configs/arm.config	(revision 175581)
+++ configs/arm.config	(working copy)
@@ -3967,7 +3967,7 @@
 #
 # Kernel hacking
 #
-# CONFIG_PRINTK_TIME is not set
+CONFIG_PRINTK_TIME=y
 CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
 CONFIG_ENABLE_WARN_DEPRECATED=y
 CONFIG_ENABLE_MUST_CHECK=y
Index: configs/i386.config
===================================================================
--- configs/i386.config	(revision 175581)
+++ configs/i386.config	(working copy)
@@ -5567,7 +5567,7 @@
 # Kernel hacking
 #
 CONFIG_TRACE_IRQFLAGS_SUPPORT=y
-# CONFIG_PRINTK_TIME is not set
+CONFIG_PRINTK_TIME=y
 CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
 CONFIG_ENABLE_WARN_DEPRECATED=y
 CONFIG_ENABLE_MUST_CHECK=y

Reply via email to