aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-07-06 12:21:32 +0300
committerAvi Kivity <avi@redhat.com>2009-09-10 08:33:09 +0300
commit07420171593908406c3a59d6f884d426a921a5ea (patch)
tree987488098509c4687ed8898c44d0bf4e061c1b4f /arch/x86/kvm/mmu.c
parentdc7e795e3dd2a763e5ceaa1615f307e808cf3932 (diff)
downloadkernel_samsung_crespo-07420171593908406c3a59d6f884d426a921a5ea.zip
kernel_samsung_crespo-07420171593908406c3a59d6f884d426a921a5ea.tar.gz
kernel_samsung_crespo-07420171593908406c3a59d6f884d426a921a5ea.tar.bz2
KVM: MMU: Trace guest pagetable walker
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index b67585c..c0dda64 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -140,6 +140,9 @@ module_param(oos_shadow, bool, 0644);
#define ACC_USER_MASK PT_USER_MASK
#define ACC_ALL (ACC_EXEC_MASK | ACC_WRITE_MASK | ACC_USER_MASK)
+#define CREATE_TRACE_POINTS
+#include "mmutrace.h"
+
#define SHADOW_PT_INDEX(addr, level) PT64_INDEX(addr, level)
struct kvm_rmap_desc {