Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Logging kernel traces of kext......

Logging kernel traces of kext......
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2009
Status: Offline
Reply With Quote
Mar 24, 2009, 05:42 AM
 
Hai,
I am currently working on IOKit kernel extension samples in Mac os x 10.5.

My requirement is to log the kernel events called from my kext. I have went through net and gathered info on logging of kernel traces using dtrace. But, i have found a limitation to it, as my kext doesn't have a pid and dtrace needs a pid to trace kernel events.

I even went through ktrace(2) and was not able to use it.

How can i log kernel traces of my kext to either syslog / some customized log file?
How can i use dtrace to log kernel traces of my kext?

Thank u. Please do reply if u have already worked on this.
     
dasarik  (op)
Fresh-Faced Recruit
Join Date: Mar 2009
Status: Offline
Reply With Quote
Mar 31, 2009, 01:00 AM
 
Is their any way to log kernel traces of kext?
Please give ur comments, i am, eagerly waiting for replies from people who are into mac developement.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:21 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2