Visible to Intel only — GUID: GUID-12B74956-B9DB-4D04-B72F-20CC3F1A6247
Visible to Intel only — GUID: GUID-12B74956-B9DB-4D04-B72F-20CC3F1A6247
filter-by-scope
Enable filtering detected stack variables by scope (warning vs. error) in a Dependencies analysis.
GUI Equivalent
Project Properties > Analysis Target > Dependencies Analysis > Advanced > Filter stack variables by scope
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