[LIP] timestamp with 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- _________________________________________________________________ NRIs, Free Money transfer to India. http://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp?type=hottag Click here. ------------------------------------------------------- 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