summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChao Gao <chao.gao@intel.com>2025-06-12 01:19:46 -0700
committerSean Christopherson <seanjc@google.com>2025-06-24 15:42:12 -0700
commit3f06b8927afa3cede5c2e70ee76659d4801e4667 (patch)
tree57e2f2ed6ccb5b9c10b92454dddbef5e026f6aae /tools/perf/scripts/python/export-to-sqlite.py
parent58c81bc1e71de7d02848a1c1579256f5ebd38e07 (diff)
KVM: x86: Deduplicate MSR interception enabling and disabling
Extract a common function from MSR interception disabling logic and create disabling and enabling functions based on it. This removes most of the duplicated code for MSR interception disabling/enabling. No functional change intended. Signed-off-by: Chao Gao <chao.gao@intel.com> Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://lore.kernel.org/r/20250612081947.94081-2-chao.gao@intel.com [sean: s/enable/set, inline the wrappers] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions