Re: printf logs are not getting printed properly on system.log
Re: printf logs are not getting printed properly on system.log
- Subject: Re: printf logs are not getting printed properly on system.log
- From: Rodney <email@hidden>
- Date: Thu, 23 Aug 2007 13:49:16 +0530
Dear Janaki,
Hope you are using IOLog for printing.
IOLog() is not synchronous normally, which means it is possible to miss log messages in the case of a kernel panic. However, setting the kIOLogSynchronous bit (0x00200000
) in the io boot-time argument makes the console output synchronous. The file iokit/IOKit/IOKitDebug.h enumerates several other bits that can be set in the io argument to enable specific types of I/O Kit log messages.
Rohit
On 8/23/07, JanakiRam <email@hidden> wrote:
Hi ALL,
I'm newbie to this kernel prorgamming. Please clarify my following query.
I'm using printf for logging messages from my kext. One observation is all my logs are not getting printed when i start my kext using kextload. Its not consitent , how many logs are going to get printed every time i load the kext.
Please help me to solve this. Thanks in Advance.
-JanakiRam.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden