]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc73d244b2370086d34b32dbc393ecf4bc03a2d6
tree5045112ac774baacad8f726e41a8cec2f93070b4
parentc31a448465a70ee8a720ecd31087c08023b8e80b
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