Intel® VTune™ Amplifier
To attach ITT APIs to a launched application, that is, to collect user API data on an application that is already launched, you need to launch the application with the ittnotify_collector library to the environment of the target application:
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.
On Windows:
set INTEL_LIBITTNOTIFY32=C:\Program Files (x86)\Intel\VTune Amplifier\bin32\runtime\ittnotify_collector.dll
set INTEL_LIBITTNOTIFY64=C:\Program Files (x86)\Intel\VTune Amplifier\bin64\runtime\ittnotify_collector.dll
On Linux:
export INTEL_LIBITTNOTIFY32= /opt/intel/vtune_amplifier/lib32/runtime/libittnotify_collector.so
export INTEL_LIBITTNOTIFY64=/opt/intel/vtune_amplifier/lib64/runtime/libittnotify_collector.so
After you complete the configuration, you can start the instrumented application in the correct environment and Intel® VTune™ Amplifier will collect user API data even if the application was launched before the VTune Amplifier.