The Capture Options dialog box presents various options you can use to customize a profiling session.
It contains the following settings:
The network address of the target. You can also enter the network name of your target here.
The network port of the target on which the Gator daemon is listening.
- Sample Rate
The target generates periodic measurement interrupts according to the following settings: Normal=1kHz, Low=100Hz. The Normal setting works well for most instances. Low is recommended if you have a slow target, or if the target is heavily loaded.
- Buffer Mode
The default setting is unbounded streaming of target data directly to your host using a 1MB buffer. You can also use one of the following store-and-forward buffers:
If you select one of these sizes the capture ends when the buffer is full. This prevents the latency caused by streaming data from the target to the host.
The desired length of the capture session, in seconds. For example, enter 1:05 for 1 minute and 5 seconds. If you do not provide a value here, the capture session continues until you stop it manually.
- Call stack unwinding
Select this checkbox to ensure that Streamline records call stacks. This greatly improves your visibility into 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.
- 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.
Click Add Program... to add images.
Click Add Library... button to attach libraries to programs.
When compiling images, make sure to set the -g compilation option to enable debug symbols. Disabling inlining with the -fno-inline compiler setting substantially improves the call path quality.