Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

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

Srividya_R_
Beginner
319 Views

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