Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Srividya_R_
Beginner
39 Views

VTune won't work on host when KVM guest is started

I am running VTune Amplifier XE 2017 Update 1 on a Broadwell system (Intel(R) Xeon(R) CPU E5-2698 v4).

I am able to collect hardware counters using:

amplxe-cl -collect-with runsa -knob event-config=$(cat counters.csv) -data-limit=2500 -duration=420 -target-duration-type=medium -r $outdir

where counters.csv is a list of custom hardware counters.

However, when I start a KVM guest (using virsh start <domain>), the same command line stops working. Specifically, 

amplxe-cl -collect-with runsa -knob event-config=?

lists no events at all.

Once I shutdown the guest with "virsh destroy" vtune begins to work normally, as before.

Please note that I am NOT trying to run vtune inside the virtual machine - I am still running it on the host. My intention is to collect system wide hardware counters when workloads are running inside the guest.

Could someone please suggest a solution to this issue?

Thanks

Vidya

0 Kudos
0 Replies
Reply