I actually automate Instruments to get finer grain information of what an application is actually doing.
To automated Instruments, according to Apple’s documentation, all you need is the DTPerformanceSession.framework… but, you actually need more than that, and you have to find where the dependencies are located.
Here are all of the libraries you need:
DTInstrumentsCP.framework
DTMessageQueueing.framework
DTPerformanceSession.framework
DTXConnectionServices.framework
InstrumentsSupport.framework
And here is where they are located:
/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/DTInstrumentsCP.framework
/Applications/Xcode.app/Contents/SharedFrameworks/DTMessageQueueing.framework
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/DTPerformanceSession.framework
/Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework
/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsSupport.framework