Compiling Instrumented Target Application - Compiling Instrumented Target Application - 57368

uProf User Guide

Document_ID
57368
Release_Date
2025-06-09
Revision
5.1 English
Complete the following procedure to compile a instrumented target application:
  1. Include the header AMDProfileController.h in the source file where you want to create a task. The path of this header is:
    <Installation Directory>/include/AMDProfileController.h 
    Example
    ~/Foo/Bar/AMDuProf_Linux_x64_5.0.775/include/AMDProfileController.h

    Hence that folder must be in the include path, while building the instrumented application.

  2. For linking, the library user must include the library path of libAMDProfileController.so, whose path is: <Installation Directory>/lib/x64/shared/libAMDProfileController.so
  3. Build the instrumented application, based on the present compiler option(s) and commands.