Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Call Stacks for Event-based Sampling Analysis

Enable call stack data collection for hardware event-based sampling (EBS) analysis types.

By default, the Intel® VTune™ Amplifier collects data on the application call flow (stacks) during algorithm tuning analysis types based on the user-mode sampling and tracing collector. You may enable this option for EBS analysis types, as follows:

  1. Click the New Analysis button on the VTune Amplifier toolbar.

    The Analysis Type configuration window opens.

  2. From the analysis tree on the right, choose the required event-based sampling analysis type. Typically, you are recommended to start with the Advanced Hotspots analysis.

    The right pane is updated with the configuration options for the selected analysis type.

  3. Configure the analysis options:

    • For Advanced Hotspots, select the Hotspots and stacks (recommended) or Hotspots, call counts and stacks collection level.

    • For other hardware event-based sampling analysis types, select the Collect stacks checkbox.

  4. Click the Start button on the right to run the selected analysis type.

    VTune Amplifier collects hardware event-based sampling data along with the information on execution paths. You may see the collected results in the Hardware Events viewpoint providing performance, parallelism and power consumption data on detected call paths.

Note

  • You may also select the Estimate call counts checkbox to statistically approximate the number of calls to sampled functions.

  • The event-based stack sampling data collection cannot be configured for the entire system. You have to specify an application to launch or attach to.

  • Call stack analysis adds an overhead to your data collection. To minimize the overhead incurred with the stack size, use the Stack size option in the custom hardware event-based sampling configuration or -stack-size knob from CLI to limit the size of a raw stack. By default, a full stack is collected. If you disable this option, the overhead will be also reduced but no stack data will be collected.

See Also