When locating binary/symbol/source files, the Intel® VTune™ Profiler searches the following directories, in the following order:
Directory <result dir>/all (recursively).
Additional search directories that you defined for this project in the VTune ProfilerBinary/Symbol Search dialog box.
For local collection, an absolute path.
For remote collection, the VTune Profiler searches its cache directory for modules copied from the remote system or tries to get the module from the remote system using the absolute path.
For results copied from a different machine, make sure to copy all the necessary source, symbol, and binary files required for result finalization.
For binaries, the path is captured in the result data files.
For symbol files, the path is referenced in the binary file.
For source files, the path is referenced in the symbol file.
On Linux*, to locate the vmlinux file, the VTune Profiler searches the following directories:
Search around the binary file.
Search the directory of the corresponding binary file.
On Windows*, search the directory of the corresponding binary file and alter the name of the symbol file holding the initial extension (for example, app.dll + app_x86.pdb -> app.pdb).
On Linux, search the .debug subdirectory of the corresponding binary file directory.
On Windows, Microsoft Visual Studio* search directories. All directories are considered as non-recursive. Directories may be specific to the selected build configuration and platform in time of collection.
Binary files: %SYSTEMROOT%\system32\drivers (non-recursively)
All directories specified in the _NT_SYMBOL_PATH environment variable (non-recursively). Symbol server paths are possible here as well as in step 2.
srv*%SYSTEMROOT%\symbols (treated as a symbol server path)
Binary files: If the file to search is a bare name only (no full path, no extension), it is appended by the .ko extension before searching in the following directories:
/lib/modules/`uname -r`/kernel (recursively)
/usr/lib/debug with appended path to the corresponding binary file (for example, /usr/lib/debug/usr/bin/ls.debug)
/usr/src/linux-headers-`uname -r` (non-recursively)
If the VTune Profiler cannot find a file that is necessary for a certain operation, such as viewing source, it brings up a window enabling you to enter the location of the missing file.
VTune Profiler automatically applies recursive search to the <result dir>/all directory and some system directories (Linux only). Additional directories you specify in the project configuration are searched non-recursively.
For non-recursive directories, the VTune Profiler searches paths by merging the parts of the file path with the specified directory iteratively. For example, for the /aaa/bbb/ccc/filename.ext file on Linux:
For recursive directories, the VTune Profiler searches the same paths as for the non-recursive directory and, in addition, paths in all sub-directories up to the deepest available level. For example:
- For symbol server paths on Windows, symsrv.dll is used from product distributive. Custom symsrv.dll:s are not supported.