Re: Performace Profiling a kext
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I have a kext that I would like to performance profile to determine if the performance of the kext can be improved. http://developer.apple.com/documentation/DeveloperTools/Conceptual/SharkUser... Wade _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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: This email sent to site_archiver@lists.apple.com
participants (1)
-
Wade Tregaskis