kvm: x86/mmu: Add existing trace points to TDP MMU
authorBen Gardon <bgardon@google.com>
Tue, 27 Oct 2020 17:59:43 +0000 (10:59 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Nov 2020 15:57:16 +0000 (10:57 -0500)
commit33dd3574f5fef57c2c6caccf98925d63aa2a8d09
tree5045112ac774baacad8f726e41a8cec2f93070b4
parentdc924b062488a0376aae41d3e0a27dc99f852a5e
kvm: x86/mmu: Add existing trace points to TDP MMU

The TDP MMU was initially implemented without some of the usual
tracepoints found in mmu.c. Correct this discrepancy by adding the
missing trace points to the TDP MMU.

Tested: ran the demand paging selftest on an Intel Skylake machine with
all the trace points used by the TDP MMU enabled and observed
them firing with expected values.

This patch can be viewed in Gerrit at:
https://linux-review.googlesource.com/c/virt/kvm/kvm/+/3812

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20201027175944.1183301-1-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c