User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents


Specify a search directory for binary and symbol files.


-search-dir DIR



Specify the name of the search directory to add.


Only default search directories are used.

Actions Modified

collect, finalize, import


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

Specify a search directory for source files.


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