Re: Performace Profiling a kext
Re: Performace Profiling a kext
- Subject: Re: Performace Profiling a kext
- From: Wade Tregaskis <email@hidden>
- Date: Mon, 11 Aug 2008 22:42:16 -0700
I have a kext that I would like to performance profile to determine if
the performance of the kext can be improved.
How does one go about performance profiling a kext?
Much the same way as any other code - Shark. :) You'll need to
exercise your kext appropriately, obviously, but Shark's Time
Profiling configs will record kernel callstacks for you, and you can
filter the results to focus in on your kext specifically. You may
also find System Trace useful, along with appropriate signposts in
your kext. And there's other configs that may be of use, too,
depending on what your kext does. If you wish to provide more detail
about what your kext does and what performance issues you've
perceived, I can give you a more precise idea of where you'll want to
start.
Otherwise, if you're not familiar with Shark, a good place to start is
of course the user guide:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/SharkUserGuide/Introduction/chapter_1_section_1.html
Wade
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden