On Mon, Jan 18, 2010 at 7:44 PM, perumal316 wrote:
> I just want to print the time when kernel messages are printed from
> the module.
The kernel already does this, no need to add anything on your own.
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com
So it's just a trial without any further benefit, right?
IMHO, you can't do that.
Dwi Sasongko S
-Original Message-
From: perumal316
Date: Mon, 18 Jan 2010 19:44:58
To: Android Linux Kernel Development
Subject: [android-kernel] Re: Date&Time in LKM
I just want to print
Sender: android-kernel@googlegroups.com
> To: Android Linux Kernel Development
> ReplyTo: android-kernel@googlegroups.com
> Subject: [android-kernel] Re: Date&Time in LKM
> Sent: Jan 19, 2010 10:11
>
> Oh Yah, I just realised, it is displaying the date and time the code
> is built.
Original Message--
> From: perumal316
> Sender: android-kernel@googlegroups.com
> To: Android Linux Kernel Development
> ReplyTo: android-kernel@googlegroups.com
> Subject: [android-kernel] Re: Date&Time in LKM
> Sent: Jan 19, 2010 10:11
>
> Oh Yah, I just realise
ly in the kernel.
Cheers,
DWI
--Original Message--
From: perumal316
Sender: android-kernel@googlegroups.com
To: Android Linux Kernel Development
ReplyTo: android-kernel@googlegroups.com
Subject: [android-kernel] Re: Date&Time in LKM
Sent: Jan 19, 2010 10:11
Oh Yah, I just realis
Oh Yah, I just realised, it is displaying the date and time the code
is built. Is there any way to get the current date and time?
Thanks In Advance,
Perumal
On Jan 19, 10:54 am, Greg KH wrote:
> On Mon, Jan 18, 2010 at 6:34 PM, Chew Esmero wrote:
> > you can use the __DATE__ & __TIME__ macro.
On Mon, Jan 18, 2010 at 6:34 PM, Chew Esmero wrote:
> you can use the __DATE__ & __TIME__ macro.
That's only the date and time the code is built, not the current one.
> On Jan 19, 10:23 am, perumal316 wrote:
>> Hi,
>>
>> Currently I am writing a loadable kernel module. I want to printk the
>> c
Thanks alot, I am able to get it work :)
On Jan 19, 10:34 am, Chew Esmero wrote:
> you can use the __DATE__ & __TIME__ macro.
>
> On Jan 19, 10:23 am, perumal316 wrote:
>
> > Hi,
>
> > Currently I am writing a loadable kernel module. I want to printk the
> > current date and time. Is it possible
you can use the __DATE__ & __TIME__ macro.
On Jan 19, 10:23 am, perumal316 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 pr