User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Attach ITT APIs to a Launched Application

You can use the Intel® VTune™ Profiler to attach to a running application instrumented with ITT API. But before launching the application, make sure to set up the following environment variable for the ittnotify_collector:

On Windows*:



On Linux*:



On FreeBSD:


Header and library files are available from the vtune_profiler_target_x86_64.tgz FreeBSD target package. See Set Up FreeBSD* System for more information.



The variables should contain the full path to the library without quotes.


On Windows:

set INTEL_LIBITTNOTIFY32=C:\Program Files (x86)\Intel\oneAPI\vtune\latest\bin32\runtime\ittnotify_collector.dll 
set INTEL_LIBITTNOTIFY64=C:\Program Files (x86)\Intel\oneAPI\vtune\latest\bin64\runtime\ittnotify_collector.dll 

On Linux:

export INTEL_LIBITTNOTIFY32=/opt/intel/oneapi/vtune/latest/lib32/runtime/
export INTEL_LIBITTNOTIFY64=/opt/intel/oneapi/vtune/latest/lib64/runtime/

On FreeBSD:

You may need to change the path to reflect the placement of the FreeBSD target package on your target system.

setenv INTEL_LIBITTNOTIFY64 /tmp/vtune_profiler_2021.9.0/lib64/runtime/

After you complete the configuration, you can start the instrumented application in the correct environment and Intel® VTune™ Profiler will collect user API data even if the application was launched before the VTune Profiler.

Did you find the information on this page useful?

Characters remaining:

Feedback Message