User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022
Public

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

Document Table of Contents

Search Directories for Remote Linux* Targets

For accurate module resolution and source analysis of your remote Linux application, make sure the Intel® VTune™ Profiler has access to your binary/symbol and source files on the host system.

If debug information is provided in separate files for your binaries, you need to specify search paths for these files on the host when configuring a performance analysis. If these files are not present on the host system, make sure to either copy them from the target system or mount the directory with these files. Then, add these locations to the search paths of the analysis configuration.

To add search paths, use any of the following options:

  • From command line, use the --search-dir/--source-search-dir options. For example, from a Windows* host:

    host>./vtune -target-system=ssh:user1@172.16.254.1 --collect hotspots -knob sampling-mode=hw -r system_wide_r@@@ --search-dir C:\my_projects\symbols
  • From GUI, use the Binary/Symbol Search and Source Search dialog boxes.

NOTE:

The search is non-recursive. Make sure to specify all required directories.

When you run a remote analysis, the VTune Profiler launches your application on the remote target, collects data, copies all binary files to the host, and finalizes the analysis result. During finalization, the VTune Profiler searches the directories for binary/symbol and source data in the following order:

  1. Directory <result dir>/all (recursively).

  2. Additional search directories that you defined for this project in the Binary/Symbol Search/Source Search dialog boxes or --search-dir/--source-search-dir command line options.

  3. Absolute path on the remote target or VTune Profiler cache directory (binary files only).