summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-04-04 20:27:46 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-10 20:11:47 +0300
commit17573fd971f9e31ddee420eca8359ceff87e9e51 (patch)
treedfd674f4a6c75e751e59af434a569cb80e0bd436 /tools/perf/scripts/python/stackcollapse.py
parent3bb2531e20bff99f9cd8719ee7aea8bd82687173 (diff)
downloadlinux-17573fd971f9e31ddee420eca8359ceff87e9e51.tar.xz
KVM: guest_memfd: extract __kvm_gmem_get_pfn()
In preparation for adding a function that walks a set of pages provided by userspace and populates them in a guest_memfd, add a version of kvm_gmem_get_pfn() that has a "bool prepare" argument and passes it down to kvm_gmem_get_folio(). Populating guest memory has to call repeatedly __kvm_gmem_get_pfn() on the same file, so make the new function take struct file*. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions