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: JanakiRam <email@hidden>
- Date: Thu, 23 Aug 2007 13:57:53 +0530
HI Rodney,
Thanks for the initial response.
I'm using the printf function defined at kernel. Is there any similar way for printf ( similar to IOLog).
Can i use the IOLog in Generic Kernel Extension ?
Please clarify my queries. Thanks in advance.
-JanakiRam.
On 8/23/07, Rodney <
email@hidden> wrote: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
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