Instruments 9.2 has the option to choose to profile a LunachDaemon by selecting the relevant launchd plist file. Then when you start to record it shows an alert with:
Waiting for /Library/LaunchDaemons/com.mydaemon.plist
Please take appropriate action to initiate the launch of '/Library/LaunchDaemons/com.mydaemon.plist.'
With a Cancel button.
But it never notices tha daemon launching, even when I do take appropriate action. In my case via:
launchctl bootstrap system "/Library/LaunchDaemons/com.mydaemon.plist"
launchctl kickstart system/com.mydaemon
The daemon launches but Instruments does nothing.
Any ideas?