Re: CONFIG_PRINTK_TIME woes

Jason Uhlenkott
2005-08-22T20:33:16Z

On Mon, Aug 22, 2005 at 01:20:52PM -0700, David S. Miller wrote:
> From: tony.luck@intel.com
> Date: Mon, 22 Aug 2005 10:42:22 -0700
>
> > At the other extreme ... the current use of sched_clock() with
> > potentially nano-second resolution is way over the top.
>
> Not really, when I'm debugging TCP events over gigabit
> these timestamps are exceptionally handy.

Yes, but how many of those figures are really significant? I strongly
suspect that the overhead of printk() is high enough, even when we're
just spewing to the dmesg buffer and not the console, that we have a
lot more precision than accuracy at nanosecond resolution.