User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 11/07/2023
Public
Document Table of Contents

search-dir

Specify a search directory for binary and symbol files.

Syntax

-search-dir DIR

Arguments

DIR

Specify the name of the search directory to add.

Default

Only default search directories are used.

Actions Modified

collect, finalize, import

Description

This option specifies search directories for binary and symbol files. It is often used in conjunction with the finalize action to re-finalize a result when a symbol file is missed during collection. It is also used if you import results from another system.

During data collection, the result directory is set as the default search directory for the collected result.

If you import results from another system, specify additional search directories for system modules. To show correct results, the vtune tool requires the same modules that were used for data collection. To ensure the Intel® VTune™ Profiler takes the right module, copy the original system modules to your system.

Alternate Options

source-search-dir
Specify a search directory for source files.

Examples

When your source files are in multiple directories, use the search-dir option multiple times so that all the necessary directories are searched.

vtune -collect hotspots -knob sampling-mode=hw -search-dir /home/my_system_modules -search-dir /home/other_system_modules -- /home/test/myApplication

This example finalizes the r001hs result searching for symbol files in the C:\Import\system_modules directory.

vtune -finalize -search-dir C:\Import\system_modules -r C:\Import\r001hs