you can use the __DATE__ & __TIME__ macro.
On Jan 19, 10:23 am, perumal316 <perumal...@gmail.com> wrote: > Hi, > > Currently I am writing a loadable kernel module. I want to printk the > current date and time. Is it possible? When I searched the net I only > found one explaining about do_gettimeofday() but it is not printing > out the actual date and time. > > Thanks in Advance, > Perumal
-- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel