7.6. The program trace view

The trace view is only available if the Collect Program Trace checkbox is activated in the RealView Trace 2 configuration created for the captured analysis file. For more information on how to do this, see Enabling and disabling program trace collection.

If you turn trace data collection on, the ARM Profiler produces a second file in addition to the normal .apa file. It will generate a matching .apb directory. The ARM Profiler generates one or more .part files during execution and places them in this directory. The .part files contain all of the instruction information collected during execution, which it presents in the code view.

If program trace collection was active for the execution captured by the analysis file, its code view will resemble the one pictured in Figure 7.7.

Figure 7.7. The code view with trace collection enabled and the sampling rate set to a value greater than 1

The code view with trace collection enabled and the sampling rate set to a value greater than 1

Enabling trace adds the program trace view to the code view, which appears, by default, below the source and disassembly views. There are other important differences in the code view when trace collection has been turned on. Trace-specific navigation and trace playback options enable you to:

The yellow trace marker, also a feature specific to trace-enabled analysis reports, marks the current trace position in all three views.

Copyright © 2007, 2008 ARM Limited. All rights reserved.ARM DUI 0414C
Non-Confidential