Hi On Mon, Jan 5, 2009 at 9:50 AM, siddhesh divekar <[email protected] > 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. >
