Intel® Inspector Help

finalize

Resolve symbols and form problems sets to finalize an existing result.

Syntax

-finalize

-I

Arguments

None

Modifiers

baseline-result, option-file, quiet, result-dir, search-dir, user-data-dir, verbose

Description

Finalization, or symbol resolution, uses debug information from binary files to resolve symbol information and form problem sets.

You can use the finalize action to:

Important

To be sure you do not inadvertently use the wrong result, use the result-dir option to specify the result directory. If the result-dir option is not used, the most recently generated result under the current working directory is used by default.

Intel Inspector does not check the validity of the module binaries, so improper finalization may result if the <option>finalize</option> action is used without specifying the same module binaries that were used to collect the result. If the necessary symbol information is not stored in a default location, use the search-dir option to specify the directory containing the binaries. Symbol information from the specified search directories is used only if the necessary information is not found in the default locations.

The first time an unfinalized result is opened or loaded, the result is automatically finalized. So before opening an unfinalized result in the GUI, check settings in the module binaries containing symbol information are a result is opened through the GUI, by double-clicking, or if a report is generated without specifying the module binaries, improper finalization may result.

Finalization normally occurs automatically:

Use the finalize action when:

Note

For proper finalization, please make sure to use the <option>finalize</option> action

and specify the same module binaries you used to collect the result.

Alternate Options

Finalization normally occurs as part of the collect or collect-with actions, or when a report is generated from a non-finalized result.

Example

This command uses the collect action with the mi1 analysis type, so a Detect Leaks memory error analysis is performed to answer the question Does my target leak memory?. The no-auto-finalize option is used to suppress finalization, and the un-finalized result is written to the specified myRes@@@mi1 result directory under the current working directory. The @@@ counter auto-increments, starting with 000, so if this were the first result directory created under the current working directory using this naming format, the result directory would be named myRes000mi1.

$ inspxe-cl -collect mi1 -no-auto-finalize -result-dir myRes@@@mi1

To finalize the previous un-finalized result, use the result-dir option to specify the myRes000mi1 result directory. Since the result was never finalized, use the search-dir option to pass in non-default search directories containing the symbol information.

$ inspxe-cl -finalize -result-dir myRes000mi1 -search-dir bin:=nonstandardDirA,nonstandardDirB

See Also