summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2021-07-31 01:04:51 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-20 23:04:51 +0300
commit4139b1972af281e0293c2414a0f1cd59fa5b2980 (patch)
tree202e3f61cc9d7c556c794ae2efbf7c1d518787ff /tools/perf/scripts/python/export-to-postgresql.py
parent3165af738ed3224a84ead7d97c6909de2e453b4c (diff)
downloadlinux-4139b1972af281e0293c2414a0f1cd59fa5b2980.tar.xz
KVM: X86: Introduce kvm_mmu_slot_lpages() helpers
Introduce kvm_mmu_slot_lpages() to calculcate lpage_info and rmap array size. The other __kvm_mmu_slot_lpages() can take an extra parameter of npages rather than fetching from the memslot pointer. Start to use the latter one in kvm_alloc_memslot_metadata(). Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20210730220455.26054-4-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions