Recording
There is more than one way to start recording in Instruments.
The most obvious is to create a trace document and press the Record button in the toolbar. Recording starts, the target application comes to the front, you perform your test, switch back to Instruments, and press the same button, now labeled Stop.
The first time you record into a document that contains a User Interface instrument (Mac targets only), the recording button will be labeled Record, as usual. Once the UI track contains events, the recording button is labeled Drive & Record. When you click it, no new events are recorded into the UI track; instead the events already there are replayed so you can reproduce your tests.
If you want to record a fresh User Interface track, ...
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.