Intel® Advisor User Guide

ID 766448
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

stackwalk-mode

Choose between online and offline modes to analyze stacks during Survey analysis.

GUI Equivalent

Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced > Stack unwinding mode

Syntax

--stackwalk-mode=<string>

Arguments

Argument

Description

online

Analyze stacks during collection.

offline

Analyze stacks after collection.

Default

offline

Actions Modified

collect=survey

Usage

Set to offline in the following cases:

  • Survey analysis overhead exceeds 1.1x
  • A large quantity of data is allocated on the stack, which is a common case for Fortran applications or applications with a large number of small, parallel, OpenMP* regions

Otherwise, set to online. This mode improves stack accuracy but increases overhead.

Example

Run a Survey analysis. Analyze stacks during collection.

advisor --collect=survey --stackwalk-mode=online --project-dir=./advi_results -- ./myApplication

See Also