The Profiling tab of the run configuration dialog presents various options you can use to customize a profiling session.
The following settings are available on the Profiling tab of the Run Configuration dialog box:
The Host field defines the hardware target, either by name or by IP address.
The port on which your host collects data from the target.
- Sample Rate
The Normal setting works well in most instances, but if you want to reduce the footprint of Streamline for performance reasons, select Low.
- Buffer Mode
The default setting is unbounded Streaming of target data directly to your host. You can have the target fill either a Normal, Large, or Small sized buffer, that is then transferred to the host when collection is complete. Using buffers can improve performance as the target sends data to the host less frequently if one of the buffer options is active.
- Call stack unwinding
Selecting this checkbox ensures that Streamline records call stacks, which greatly improves your visibility to the behavior of your target. Make sure to compile your EABI images and libraries with frame pointers using the
- Output path
Use this field to define the directory location and name of the file generated by the capture and analysis session. By default, the file is saved to a results directory defined by an install variable and given the name
@Fis a variable for the given configuration name, while
@Nis a sequential number. For example, if you titled your project
threadsand this is your first execution, the resulting capture file would be called
threads_001.apcand analysis file
- Program images
Use this area to explore your file system and define all of the images and libraries you want to profile. Attach libraries to a Program so that statistics are only recorded in that context. Use the Add Program... button to add images, and the Add Library... button to attach libraries to programs.
When compiling images file, make sure to set the -g compilation option to enable debug symbols. Disable inlining with the -fno-inline compiler setting to improve the callpath quality.