On 08/29/2016 09:18 AM, Sanghyun Hong wrote:
Dear Xen-Devel Community:
I’m a grad student working on measuring performance counters at the
Xen domains. I read this
thread(https://wiki.xenproject.org/wiki/Xen_Profiling:_oprofile_and_perf) in
web, and it says using Linux perf command will let us collecting
performance counters in both dom0 and domU. Does it mean that we can
collect both of them at once if we run perf command on the dom0? (If
not, does it mean we can collect counters for each domain separately
once we run the perf command in each domain?
Profiling both guest and dom0 (and the hypervisor) requires changes to
perf and those are not there yet.
But you can run perf in each guest (including dom0) separately. Make
sure you have vpmu=true boot option.
-boris