diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-18 09:37:07 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:04 -0500 |
commit | 4cee576493b6abc95cc7447a65f1b9d2b40b8f20 (patch) | |
tree | 64235c288aaee838e7cebea4d129157935a26e75 /drivers/kvm/x86.c | |
parent | ba1389b7a04de07e6231693b7ebb34f5b5d1a3e6 (diff) |
KVM: MMU: Add some mmu statistics
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86.c')
-rw-r--r-- | drivers/kvm/x86.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 016abc3357e9..fdc7632d7620 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c | |||
@@ -66,6 +66,12 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { | |||
66 | { "fpu_reload", VCPU_STAT(fpu_reload) }, | 66 | { "fpu_reload", VCPU_STAT(fpu_reload) }, |
67 | { "insn_emulation", VCPU_STAT(insn_emulation) }, | 67 | { "insn_emulation", VCPU_STAT(insn_emulation) }, |
68 | { "insn_emulation_fail", VCPU_STAT(insn_emulation_fail) }, | 68 | { "insn_emulation_fail", VCPU_STAT(insn_emulation_fail) }, |
69 | { "mmu_shadow_zapped", VM_STAT(mmu_shadow_zapped) }, | ||
70 | { "mmu_pte_write", VM_STAT(mmu_pte_write) }, | ||
71 | { "mmu_pte_updated", VM_STAT(mmu_pte_updated) }, | ||
72 | { "mmu_pde_zapped", VM_STAT(mmu_pde_zapped) }, | ||
73 | { "mmu_flooded", VM_STAT(mmu_flooded) }, | ||
74 | { "mmu_recycled", VM_STAT(mmu_recycled) }, | ||
69 | { NULL } | 75 | { NULL } |
70 | }; | 76 | }; |
71 | 77 | ||