Performance counters in kvm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I just started using kvm and want to use linux 'perf' tool inside the virtual machine to get some information about the hardware performance counters. I noticed in kvm source, there is pmu.c and pmu-stubs.c, so I assume they provide support for PMU. However, when I ran 'perf stat' in the VM, all hardware events are not supported. Sample screen shot:

perf stat /bin/ls
Performance counter stats for '/bin/ls':
<not supported> cycles
<not supported> stalled-cycles-frontend
....

Could someone clarify for me if I can use 'perf' in VM with the current kvm state?

Thanks for your help,
Binh
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux