lkml.org 
[lkml]   [2008]   [Sep]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 22 Sep 2008 08:07:29 +0100
FromSitsofe Wheeler <>
SubjectRe: printing current system time from kernel space
George Nychis wrote:
> I spent some time googling, but could not find out how or if it is 
> possible to read the current system time in kernel space.  I could 
> insert a printk() somewhere in usbdev_read() then.

If that's what you want to do could you not turn on timestamps on printk 
(CONFIG_PRINTK_TIME in the kernel hacking menu)?

-- 
Sitsofe | http://sucs.org/~sits/

\
 
 \ /
  Last update: 2008-09-22 09:09    [from the cache]
©2003-2008