aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLike Xu <[email protected]>2022-03-29 23:50:51 +0000
committerPaolo Bonzini <[email protected]>2022-04-13 13:37:44 -0400
commitfdc298da866165ec0288fe227982f1aa0467bf5c (patch)
tree0582fd438fe70aa0a8a85a3576c91f9fb43e8c6e /tools/perf/scripts/python
parentca2a7c22a115d1a9a60ce4f61fe43d5fcaaaa516 (diff)
KVM: x86: Move kvm_ops_static_call_update() to x86.c
The kvm_ops_static_call_update() is defined in kvm_host.h. That's completely unnecessary, it should have exactly one caller, kvm_arch_hardware_setup(). Move the helper to x86.c and have it do the actual memcpy() of the ops in addition to the static call updates. This will also allow for cleanly giving kvm_pmu_ops static_call treatment. Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: Like Xu <[email protected]> [sean: Move memcpy() into the helper and rename accordingly] 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')
0 files changed, 0 insertions, 0 deletions