Re: printing logs in kernel mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Mon, Jan 5, 2009 at 9:50 AM, siddhesh divekar <siddhesh.divekar@xxxxxxxxx> wrote:
Hi,
I am adding some logs in the kernel code and want them to be written to some file.
Can I achieve this using kprint ?
How do I open a file in kernel mode,
You do not need to open file. Ksyslog read log from ring buffer and write them into file.

also which time function should be used to get the current time in the logs.

--
Thank You,
Siddhesh M. Divekar.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux