Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Debug Information for Application Binaries

Intel® VTune™ Amplifier requires debug information for the binary files it analyzes to obtain accurate performance data and enable source analysis.

Compile your code using the -g option that usually produces debugging information in the DWARF format. If DWARF is not a default debugging information format for the compiler, use the -gdwarf-version option, for example: -gdwarf-2 or -gdwarf-3.

Note

VTune Amplifier supports two ways of specifying a separate debug info file for an ELF executable/library binary:

  • If an executable file in the ELF format contains a build ID and has a separate debug info file with the name generated by the build ID, the VTune Amplifier is able to find and validate the separate symbol file if proper search directories are set. While searching the symbol file, the VTune Amplifier checks the .build-id subdirectory of each search directory for a file named hh/hhhhhhhhhhh.debug where hh is the first 2 hexadecimal characters of build ID and hhhhhhhhhhh is the remaining part.

  • If an executable file contains a debug link (specified in the .gnu_debuglink section) with a name of separate debug info file, VTune Amplifier tries to find it.

Please refer to the Binutils documentation for more details on how to create separate debug info files and link them with an executable/library via debug link or build ID.

See Also