]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit981686d2001234ba1b6fe5a22a02d19bc3d0a78e
tree713137a46a8d462e107e56ecf767773f15d37903
parentaa827054bf91826da344704940e7bf665cbaba17
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]