KVM: x86/mmu: Add tracepoint for splitting huge pages
authorDavid Matlack <dmatlack@google.com>
Wed, 19 Jan 2022 23:07:38 +0000 (23:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:43 +0000 (13:50 -0500)
commite0b728b1f1a951e0d23eef08cfa920a8104e39db
tree23a212f7a7957e0ba4a533fe661cac9bd1b9b39b
parentcb00a70bd4b7e42dcbd6cd80b3f1697b10cdb44e
KVM: x86/mmu: Add tracepoint for splitting huge pages

Add a tracepoint that records whenever KVM eagerly splits a huge page
and the error status of the split to indicate if it succeeded or failed
and why.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220119230739.2234394-18-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmutrace.h
arch/x86/kvm/mmu/tdp_mmu.c