I am trying to run Vtune using the sampling drivers and getting the following error:
/root> amplxe-cl -v -target-pid=12205 -collect memory-access -knob analyze-mem-objects=true -knob dram-bandwidth-limits=true
amplxe: Warning: Measuring peak bandwidth may be not accurate in the attach mode since the system can be heavily loaded at the time of the measurement. Accurate peak DRAM bandwidth is important for further analysis. When collection is done, check the Bandwidth Utilization Histogram on the Summary view and make sure the Low/Medium/High utilization thresholds are correct for your system and manually adjust them, if required.
amplxe: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
amplxe: Error: Failed to execute sep process. Data collection is interrupted.
amplxe: Collection failed.
amplxe: Internal Error
I have built and installed all the drivers as explained in the documentation. I can also run the sep binary standalone without any issue:
/root> sep -version
Sampling Enabling Product version: 4.1 built on Jun 29 2017 19:51:03
SEP User Mode Version: 4.1.0
SEP Driver Version: 4.1.0
PAX Driver Version: 1.0.2
Platform type: 108
CPU name: Intel(R) Xeon(R) Processor code named Broadwell-EP
Sampling interrupt mode: Maskable
Virtualization platform: Guest VM on KVM
Copyright (C) 2007-2016 Intel Corporation. All rights reserved.
/root> sep -start -app grep <= Running fine
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Please note I'm trying to run this on a virtual platform.
Any pointers will be much appreciated!