]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - virt/kvm/arm/arm.c
ARM: KVM: add support for minimal host vs guest profiling
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Mar 2013 03:18:00 +0000 (03:18 +0000)
committerChristoffer Dall <cdall@cs.columbia.edu>
Mon, 29 Apr 2013 04:44:01 +0000 (21:44 -0700)
commit210552c1bfe83122a480673660d5ca9821c944ae
tree713137a46a8d462e107e56ecf767773f15d37903
parent5a2892ce72e010e3cb96b438d7cdddce0c88e0e6
ARM: KVM: add support for minimal host vs guest profiling

In order to be able to correctly profile what is happening on the
host, we need to be able to identify when we're running on the guest,
and log these events differently.

Perf offers a simple way to register callbacks into KVM. Mimic what
x86 does and enjoy being able to profile your KVM host.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/kvm_host.h
arch/arm/kvm/Makefile
arch/arm/kvm/arm.c
arch/arm/kvm/perf.c [new file with mode: 0644]