User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 11/07/2023
Public

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

Document Table of Contents

source-search-dir

Specify a search directory for source files.

GUI Equivalent

Dialog Box: Source Search

Syntax

-source-search-dir DIR

Arguments

Argument

Description

DIR

Specify the name of the search directory to add.

Default

Only default search directories are used.

Actions Modified

report

Description

This option specifies search directories for source files. Use this option to specify the location of source files required to provide correct source view report with the source-object option.

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

Alternate Options

search-dir
Specify search directories for symbol and binary files.

Example

This command opens the source view with the hotspots performance metrics for the foo function and uses the directory to search for source files.

vtune -report hotspots  -source-object function=foo -r r001hs -source-search-dir /home/my_sources