[Mageia-dev] Enable kernel log timestamps?

Thomas Backlund tmb at mageia.org
Sat Dec 3 19:30:00 CET 2011


03.12.2011 20:26, Thomas Backlund skrev:
> 03.12.2011 18:22, Anssi Hannula skrev:
>> 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
>>
>
>
> I'm not sure I like to enable it by default as it also makes it a pain
> to compare 2 dmesgs as you cant do a simple diff anymore.
>
> Whats more, it can be enabled dynamically when really needed by adding
> "printk.time=1" to the kernel command line.
>
> I used to have it enabled in kernel-tmb during

(sigh, pressed send by mistake)

I used to have it enabled in kernel-tmb during some debugging, but 
disabled it again when I remembered it can be enabled dynamically.

--
Thomas



More information about the Mageia-dev mailing list