diff options
author | Avi Kivity <avi@redhat.com> | 2009-07-06 12:21:32 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 08:33:09 +0300 |
commit | 07420171593908406c3a59d6f884d426a921a5ea (patch) | |
tree | 987488098509c4687ed8898c44d0bf4e061c1b4f /arch/x86/kvm/mmu.c | |
parent | dc7e795e3dd2a763e5ceaa1615f307e808cf3932 (diff) | |
download | kernel_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.c | 3 |
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 { |