How to use the driverless event based sampling collector in Intel® VTune™ Amplifier

 

Introduction

 

Intel® VTune™ Amplifier now includes the ability to run an event sampling collection without the requirement of installing a device driver on Linux* and Android*. This is an important feature because many times customer do not have the ability to “root” their system. Also, customers may not have access to the kernel sources that are required to build a driver that will install on a given system.

 

System Requirements

 

In order to run a driverless event based (perf-based) collection in VTune Amplifier the following system requirement must be satisfied.

  1. Linux* kernel version 2.6.32 or higher
  2. Systems exports the CPU PMU over the /sys/bus/event_source/devices/cpu/format file system
    1. Verify the format directory specified above exists
  3. File /proc/sys/kernel/perf_event_paranoid exists
  4. Make sure your kernel has the following configuration items set:
    1. CONFIG_PERF_EVENTS
    2. CONFIG_HW_PERF_EVENTS
    3. CONFIG_FRAME_POINTER is required for call-stack information.
    4. CONFIG_KALLSYMS is required to resolve kernel symbols

 

Background

 

The VTune Amplifier analysis types that can access the perf-based collector are the following:

  1. Advanced hotspots
    1. Non-stack based collection
  2. General Exploration
  3. Custom event based analysis types

In order to run a perf-based collection you must first verify that the sepdk sampling collector is not loaded.

Running an Advanced Hotspot driverless collection

有关编译器优化的更完整信息,请参阅优化通知