Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Sampling and Power Drivers

Intel® VTune™ Amplifier uses kernel drivers to enable the hardware event-based sampling and Energy analysis (the latter is available with the VTune Amplifier for Systems only). VTune Amplifier installer automatically uses the Sampling Driver Kit and the Power Driver Kit to build drivers for your kernel with the default installation options. If the drivers were not built and set up during installation (for example, lack of privileges, missing kernel development RPM, and so on), VTune Amplifier provides an error message and, on Linux* and Android* systems, enables driverless sampling data collection based on the Linux Perf* tool functionality, which has a limited scope of analysis options. But you may still enable a full-scale sampling data collection or Energy analysis by:

Note

Drivers Installation Options on Linux* Systems

During product installation on Linux OS, you may control the drivers installation options via the Change advanced options menu item. VTune Amplifier provides the following options:

Use This Option

To Do This

Sampling driver install type [build driver (default) / driver kit files only ]

Power driver install type [build driver (default) / driver kit files only ]

Choose the driver installation option. By default, VTune Amplifier uses the Sampling/Power Driver Kit to build the driver for your kernel. You may change the option to driver kit files only if you want to build the driver manually after installation.

Driver access group [ vtune (default) ]

Set the driver access group ownership to determine which set of users can perform the collection on the system. By default, the group is vtune. Access to this group is not restricted. To restrict access, see the Driver permissions option below. You may set your own group during installation in the Advanced options or change it manually after installation by executing: ./boot-script -–group <your_group> from the <install_dir>/sepdk/src or <install_dir>/powerdk/srcdirectories.

Driver permissions [ 660 (default) ]

Change permissions for the driver. The default permissions allow any user to access the driver. Using this access the user can profile the system, an application, or attach to a process.

Load driver [ yes (default) ]

Load the driver into the kernel.

Install boot script [ yes (default) ]

Use a boot script that loads the driver into the kernel each time the system is rebooted. The boot script can be disabled later by executing: ./boot-script --uninstall from the <install_dir>/sepdk/src or <install_dir>/powerdk/src directories.

Enable per-user collection mode [no (default) / yes]

Install the hardware event-based collector driver with the per-user filtering on. When the filtering is on, the collector gathers data only for the processes spawned by the user who started the collection. When it is off (default), samples from all processes on the system are collected. Consider using the filtering to isolate the collection from other users on a cluster for security reasons. The administrator/root can change the filtering mode by rebuilding/restarting the driver at any time. A regular user cannot change the mode after the product is installed.

Note

For MPI application analysis on a Linux* cluster, you may enable the Per-user Hardware Event-based Sampling mode when installing the Intel Cluster Studio XE. This option ensures that during the collection the VTune Amplifier collects data only for the current user. Once enabled by the administrator during the installation, this mode cannot be turned off by a regular user, which is intentional to preclude individual users from observing the performance data over the whole node including activities of other users.

After installation, you can use the respective -vars.sh files to set up the appropriate environment (PATH, MANPATH) in the current terminal session.

Driver build options …

Specify the location of the kernel header files on this system, the path and name of the C compiler to use for building the driver, the path and name of the make command to use for building the driver.

See Also