From: Joerg Roedel on
On Fri, Mar 26, 2010 at 10:03:10PM -0400, Naresh Rapolu wrote:
> "perf" tool does not count hardware performance events ( cache misses
> etc) in a KVM guest ( Ubuntu 9.10 karmic, 2.6.31-14-generic kernel)
> on Xeon 5530 quad-core. The host is 2.6.28 kernel , Ubuntu 8.04
> LTS, Hardy.

The KVM guest has no access to the hardware counters of the cpu. KVM
ignores these accesses from guests. Making this work needs proper
virtualization of the PMU which is not implemented yet.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at