filter-by-scope
filter-by-scope
Enable filtering detected stack
variables by scope (warning vs. error) in a Dependencies analysis.
GUI Equivalent
Syntax
--filter-by-scope
--no-filter-by-scope
Default
Off (no-filter-by-scope)
Actions Modified
collect
=dependencies
Usage
Variables initiated inside the specified loop(s) are
considered potential dependencies (warning). Variables initiated outside the
specified loop(s) are considered dependencies (error).
Disabling can decrease collection overhead.
Example
Run a Dependencies analysis. Analyze innermost scalar
loops. Filter detected stack variables by scope.
advisor --collect=dependencies --loops="scalar,loop-height=0" --filter-by-scope --project-dir=./advi_results -- ./myApplication