Developer Guide and Reference

Contents

prof-src-root, Qprof-src-root

Lets you use relative directory paths when looking up profile data and specifies a directory as the base.

Syntax

Linux and macOS:
-prof-src-root
=
dir
Windows:
/Qprof-src-root
:
dir
Arguments
dir
Is the base for the relative paths.
Default
OFF
The setting of relevant options determines the path used when looking up profile data records.
Description
This option lets you use relative directory paths when looking up profile data in .dpi files. It lets you specify a directory as the base. The paths are relative to a base directory specified during the
[Q]prof-gen
compilation phase.
This option is available during the following phases of compilation:
  • Linux* and
    macOS*
    systems:
    -prof-gen
    and
    -prof-use
    phases
  • Windows* systems:
    /Qprof-gen
    and
    /Qprof-use
    phases
When this option is specified during the
[Q]prof-gen
phase, it stores information into the .dyn or .dpi file. Then, when .dyn files are merged together or the .dpi file is loaded, only the directory information below the root directory is used for forming the lookup key.
When this option is specified during the
[Q]prof-use
phase, it specifies a root directory that replaces the root directory specified at the