aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-01-28 00:51:57 +0000
committerPaolo Bonzini <[email protected]>2022-02-10 13:47:20 -0500
commit7ad02ef0da25fd87b2c10e1eb75e02855b506b30 (patch)
tree9f74f41ab5998ff369a958369bda9a8fc8632884 /tools/perf/scripts/python/export-to-postgresql.py
parentdfc4e6ca041135217c07ebcd102b6694cea22856 (diff)
KVM: x86: Use static_call() for copy/move encryption context ioctls()
Define and use static_call()s for .vm_{copy,move}_enc_context_from(), mostly so that the op is defined in kvm-x86-ops.h. This will allow using KVM_X86_OP in vendor code to wire up the implementation. Any performance gains eeked out by using static_call() is a happy bonus and not the primary motiviation. Opportunistically refactor the code to reduce indentation and keep line lengths reasonable, and to be consistent when wrapping versus running a bit over the 80 char soft limit. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions