]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44b9ed52f9f588590debe09f93902f26ceca9e0c
tree23a212f7a7957e0ba4a533fe661cac9bd1b9b39b
parent22612f8f08371c2fa3b4b295ee81a8611da12f5f
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