From: Joerg Roedel on 28 Mar 2010 08:00
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)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/