Messages in this thread | | | From | Andi Kleen <> | Subject | Implement PEBS virtualization for Silvermont | Date | Thu, 29 May 2014 18:12:03 -0700 |
| |
PEBS is very useful (e.g. enabling the more cycles:pp event or memory profiling) Unfortunately it didn't work in virtualization, which is becoming more and more common.
This patch kit implements simple PEBS virtualization for KVM on Silvermont CPUs. Silvermont does not have the leak problems that prevented successfull PEBS virtualization earlier.
It needs some (simple) modifcations on the host perf code, in addition to a PEBS device model in KVM. The guest does not need any modifications.
It also requires running with -cpu host. This may in term cause some other problems with the guest perf (due to writes to various missing MSRs), but these can be addressed separately.
For more details please see the description of the individual patches.
Available in git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git perf/kvm-pebs-slm
-Andi
| |