public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Performance counters in kvm?
@ 2013-11-13 16:52 Binh Q. Pham
  2013-11-13 17:54 ` Gleb Natapov
  0 siblings, 1 reply; 13+ messages in thread
From: Binh Q. Pham @ 2013-11-13 16:52 UTC (permalink / raw)
  To: kvm

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-12-10 14:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 16:52 Performance counters in kvm? Binh Q. Pham
2013-11-13 17:54 ` Gleb Natapov
2013-11-14  3:22   ` Binh Q. Pham
2013-11-14  7:16     ` Gleb Natapov
2013-11-14 16:17       ` Binh Q. Pham
2013-11-14 16:46         ` Gleb Natapov
2013-11-14 17:04           ` Binh Q. Pham
2013-11-14 17:21             ` Gleb Natapov
2013-11-14 20:31               ` Binh Q. Pham
2013-11-14 21:08                 ` Gleb Natapov
2013-12-09 18:59                   ` Binh Q. Pham
2013-12-10 10:59                     ` Gleb Natapov
2013-12-10 14:17                       ` Binh Q. Pham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox