Intel® VTune™ Amplifier uses a sampling driver to enable the hardware event-based sampling analysis. The sampling driver is installed by default during product installation.
If the driver was not properly installed or unavailable for the current system, the VTune Amplifier cannot run a hardware event-based sampling analysis type and displays an error message.
To verify the sampling driver is installed correctly on a Microsoft Windows* OS:
Open the command prompt as an administrator and run the amplxe-sepreg
utility located at <install_dir>\bin32
.
Note
The default installation path for the VTune Amplifier XE is [Program Files]\Intel\VTune Amplifier XE <version>
. For the VTune Amplifier for Systems, the installation path is [Program Files]\Intel\System Studio <version>\VTune Amplifier <version> for Systems
.
To make sure your system meets all the requirements necessary for the hardware event-based sampling collection, enter:
> amplxe-sepreg -c
This command performs the following dependency checks required to install the sampling driver:
platform, architecture, and OS environment
availability of the sampling driver binaries:
sep3drv.sys
andsepdal.sys
administrative privileges
32/64-bit installation
To check whether the sampling driver is loaded, enter:
> amplxe-sepreg -s
If the sampling driver is not installed but the system is supported by the VTune Amplifier, execute the following command with the administrative privileges to install the driver:
> amplxe-sepreg -i
To verify the sampling driver is installed correctly on a Linux* OS:
Note
The default installation path for the VTune Amplifier XE is /opt/intel/vtune_amplifier_xe_<version>
. For the VTune Amplifier for Systems, the installation path is /opt/intel/system_studio_<version>/vtune_amplifier_<version>_for_systems
.
./rmmod-sep3 -s
To verify the sampling driver is configured for stack collection on Linux:
Make sure the kernel version is 2.6.28 or later.
Make sure that following options are enabled in the kernel configuration:
CONFIG_MODULES=y
CONFIG_SMP=y
CONFIG_MODULE_UNLOAD=y
CONFIG_KPROBES=y
CONFIG_RING_BUFFER=y
Optionally, enable the following option:
CONFIG_TRACEPOINTS=y (recommended)
CONFIG_FRAME_POINTER=y (recommended for kernel stack analysis only)
To build the sampling driver as RPM using build services as Open Build Service (OBS):
use the sepdk.spec
file located at the <install_dir>/sepdk/src
directory.