aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-01-27 07:31:53 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-28 07:32:00 -0500
commit56f289a8d23addfa4408a08f07f42fcfe2a7bd69 (patch)
tree537c43ada4cd41712fc147053ac6ac178611ee66 /tools/perf/scripts/python/export-to-postgresql.py
parentselftests: kvm: move vm_xsave_req_perm call to amx_test (diff)
downloadwireguard-linux-56f289a8d23addfa4408a08f07f42fcfe2a7bd69.tar.xz
wireguard-linux-56f289a8d23addfa4408a08f07f42fcfe2a7bd69.zip
KVM: x86: Add a helper to retrieve userspace address from kvm_device_attr
Add a helper to handle converting the u64 userspace address embedded in struct kvm_device_attr into a userspace pointer, it's all too easy to forget the intermediate "unsigned long" cast as well as the truncation check. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.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