Revert "KVM: MMU: show mmu_valid_gen in shadow page related tracepoints"

...as part of removing x86 KVM's fast invalidate mechanism, i.e. this
is one part of a revert all patches from the series that introduced the
mechanism[1].

This reverts commit 2248b02321.

[1] https://lkml.kernel.org/r/1369960590-14138-1-git-send-email-xiaoguangrong@linux.vnet.ibm.com

Cc: Xiao Guangrong <guangrong.xiao@gmail.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Sean Christopherson 2019-02-05 13:01:30 -08:00 committed by Paolo Bonzini
parent 42560fb1f3
commit b59c4830ca
1 changed files with 9 additions and 12 deletions

View File

@ -9,14 +9,12 @@
#define TRACE_SYSTEM kvmmmu #define TRACE_SYSTEM kvmmmu
#define KVM_MMU_PAGE_FIELDS \ #define KVM_MMU_PAGE_FIELDS \
__field(unsigned long, mmu_valid_gen) \
__field(__u64, gfn) \ __field(__u64, gfn) \
__field(__u32, role) \ __field(__u32, role) \
__field(__u32, root_count) \ __field(__u32, root_count) \
__field(bool, unsync) __field(bool, unsync)
#define KVM_MMU_PAGE_ASSIGN(sp) \ #define KVM_MMU_PAGE_ASSIGN(sp) \
__entry->mmu_valid_gen = sp->mmu_valid_gen; \
__entry->gfn = sp->gfn; \ __entry->gfn = sp->gfn; \
__entry->role = sp->role.word; \ __entry->role = sp->role.word; \
__entry->root_count = sp->root_count; \ __entry->root_count = sp->root_count; \
@ -31,9 +29,8 @@
\ \
role.word = __entry->role; \ role.word = __entry->role; \
\ \
trace_seq_printf(p, "sp gen %lx gfn %llx l%u%s q%u%s %s%s" \ trace_seq_printf(p, "sp gfn %llx l%u%s q%u%s %s%s" \
" %snxe %sad root %u %s%c", \ " %snxe %sad root %u %s%c", \
__entry->mmu_valid_gen, \
__entry->gfn, role.level, \ __entry->gfn, role.level, \
role.cr4_pae ? " pae" : "", \ role.cr4_pae ? " pae" : "", \
role.quadrant, \ role.quadrant, \