Intel® Inspector Help

collect

Run the specified type of analysis and collect data.

GUI Equivalent

Pane: Analysis Type-Memory Errors

Pane: Analysis Type-Threading Errors

Syntax

-collect <analysis_type>

-c <analysis_type>

Note

Both short names and long names are case-sensitive. For example, -c is the short name of the collect action, and -C is the short name of the command action.

Arguments

Memory error analysis types

Analysis type code Description
mi1

Memory error analysis that answers the question Does my target leak memory?

mi2

Memory error analysis that answers the question Does my target have memory access problems?

mi3

Memory error analysis that answers the question Where are the memory access problems?

Threading error analysis_types

Analysis type code Description
ti1

Threading error analysis that answers the question Does my target have deadlocks?

ti2

Threading error analysis that answers the question Does my target have deadlocks or data races?

ti3

Threading error analysis that answers the question Where are the deadlocks or data races?

Modifier Options

appdebug, app-working-dir, baseline-result, debug-this,executable-of-interest, knob, module-filter, module-filter-mode, no-auto-finalize, no-summary, option-file, quiet, result-dir, return-app-exitcode, search-dir, suppression-file, user-data-dir, verbose

Description

Use the collect action to run a memory or threading error analyis.

Example

This command:

$ inspxe-cl -collect ti2 -- myApp

This command performs the same type of analysis as that above, but exits without finalizing the result or generating a summary report.

$ inspxe-cl -c ti2 -no-auto-finalize -- myApp

See Also