[LIP] timestamp in syslog using printk

"Muneeb Mohammad" <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hello everybody,

i am running a module in kernel space.
I am using printk function to write the Warning messages to syslog file 
(/var/log/messages).
The syslog file maintains the messages with timestamp.This timestamp has 
time information in
hours:minutes:seconds format only. I need the timestamp granularity in 
milliseconds, like hours:minutes:seconds:milliseconds.


Is there any other way by which I can accomplish my goal.I mean can I use 
any other system call to get the timestamp in milliseconds.
Since I am working in kernel space, I guess I can  not use the 
gettimeoftheday or something similar.

thanks,
-muneeb-

_________________________________________________________________
Sports buff? This hot new channel is for you! http://www.msn.co.in/sports/ 
Get on the inside of all the action!



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.