User Guide

Contents

Attaching 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*:
INTEL_LIBITTNOTIFY32=<
install-dir
>\bin32\runtime\ittnotify_collector.dll
INTEL_LIBITTNOTIFY64=<
install-dir
>\bin64\runtime\ittnotify_collector.dll
On Linux*:
INTEL_LIBITTNOTIFY32=<
install-dir
>/lib32/runtime/libittnotify_collector.so
INTEL_LIBITTNOTIFY64=<
install-dir
>/lib64/runtime/libittnotify_collector.so
The variables should contain the full path to the library without quotes.

Example

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/libittnotify_collector.so export INTEL_LIBITTNOTIFY64=/opt/intel/oneapi/vtune/latest/lib64/runtime/libittnotify_collector.so
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
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.