Binary/Symbol Search and Source Search Locations

When using the Intel Inspector:

  • Specify the locations of binary and symbol locations to be searched by using the Project Properties dialog box, Binary/Symbol Search tab. These locations will be searched in addition to the default binary and symbol locations.

  • Specify the source locations to be searched by using the Project Properties dialog box, Source Search tab. These locations will be searched in addition to the default source search locations.

Binary/Symbol Search Locations

Certain default binary and symbol locations are used in addition to the locations specified in the Binary/Symbol Search tab.

The following list describes the order and default locations that are searched. As indicated below, some directory searches examine the specified directory and its subdirectories, while other searches do not examine its subdirectories.

  1. Search for binary or symbol files in the directories specified in the Project Properties, Binary/Symbol Search tab.

  2. Search for binary files in directories from the collected result that provide an absolute path name. If the file name vmlinux is present, search these directories:

    • /usr/lib/debug/lib/modules/`uname -r`/vmlinux
    • /boot/vmlinuz-`uname -r`

  3. Search for symbol files in the directories near the related (corresponding) binary file(s) just found, such as a library:

    • Check in the directory of the corresponding binary file, using the corresponding name.
    • Check in the directory of the corresponding binary file, using a related name.
    • Search in the .debug subdirectory.

  4. Search for binary files in these standard Linux OS system directories:

    • /lib/modules (subdirectories are not searched)
    • /lib/modules/`uname -r`/kernel (subdirectories are searched)

  5. Search for symbol files in these standard Linux OS system directories:

    • usr/lib/debug(subdirectories are not searched)
    • /usr/lib/debug with appended path to the corresponding binary file, such as /usr/lib/debug/usr/bin/ls.debug

Source Search Locations

A limited set of default source locations are used in addition to the locations specified in the Source Search tab.

The following list describes the order and default locations that are searched. As indicated below, some directory searches examine the specified directory and its subdirectories, while other searches do not examine its subdirectories.

  1. Search for source files in the directories specified in the Project Properties, Source Search tab.

  2. Search for source files in directories from the collected result that provide an absolute path name.

  3. Search for source files in these standard Linux locations (does not search subdirectories):

    • /usr/src
    • /usr/src/linux-headers-`uname -r`

For more complete information about compiler optimizations, see our Optimization Notice.