First at all, I suggest to use run amplxe-gui, cmd for amlxe-cl and devenv for vtune integration as administrator on Windows.
You canuse VTune to launch an application which creates more child processes,then monitor application and its child processes, like as -
amplxe-cl -collect hotspots -follow-child -- application.exe
If yourservermodule alreadyisrunning, you only can attachprogram processor oneof child processes. For somemodules which is running in system mode,user-mode sampling (hotspots, concurrency, locksandwaits) doesn't work, use lightweight-hotspots instead. for example:
# amplxe-cl -collect lightweight-hotspots -duration 3600 -target-pid 26191 &
#amplxe-cl -command detach -r r008lh/
I am trying update15 on a VM, the host and guest are ubuntu 12.04. Iam seeing the same error when using hotspots: "The data cannot be displayed: there is no viewport applicable for the data". I tried the lightweight hotspots and got the following error:
root@virtual-machine:/opt/intel/vtune_amplifier_xe/bin64# ./amplxe-cl -collect lightweight-hotspots -duration 10 -target-pid 2691
amplxe: Warning: The analysis type 'lightweight-hotspots' is deprecated. Use 'advanced-hotspots' analysis type instead.
amplxe: Error: Cannot enable Hardware Event-based Sampling: problem with the driver (sep*/sepdrv*). Check that the driver is running and the driver group is in the current user group list. See "Building and Managing the Sampling Driver" help topic for further details.
I have the driver installed and I am running as root. The process that I need to monitor is also running as root. Any help is appreciated.
Hi Dhanesh J.:
Hardware sampling, including Advanced Hotspots, is not supported on VMs because most VMs do not virtualize the performance monitoring counters.
The release notes state:
EBS analysis within a virtual machine is supported only in VMware* Fusion* 5 virtual environment. EBS is not supported within other virtual machine environments.