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.