Re: [RFC] printk: add relative printk timing support

From: Kay Sievers
Date: Thu May 17 2012 - 11:23:31 EST


On Thu, May 17, 2012 at 5:02 PM, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
> This patch adds support for relative timestamps in printk output.


> Next, with Linus' suggestion (Month and date, no seconds):
>
> [May 17 14:13] foo

Any idea how to handle suspend cycles right? The wall clock time
translation might not be correct anymore, or is that covered?

Also, we currently record local CPU times, they are only guaranteed to
be monotonic for the same CPU, not across them. So we could see
negative offsets?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/