stackwalk-mode
stackwalk-mode
Choose between online and offline
modes to analyze stacks during Survey analysis.
GUI Equivalent
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