summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-02-18 09:51:06 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-15 04:42:38 -0400
commit2a32a77cefa662773197b362db8e4190027c89fa (patch)
treefadb60d365945e2be9fa236a1296acd07e46e86a /tools/perf/scripts/python/stackcollapse.py
parent11f0cbf0c6050f2d8b3a24fc2ab8535bcaad54ea (diff)
downloadlinux-2a32a77cefa662773197b362db8e4190027c89fa.tar.gz
linux-2a32a77cefa662773197b362db8e4190027c89fa.zip
KVM: SVM: merge update_cr0_intercept into svm_set_cr0
The logic of update_cr0_intercept is pointlessly complicated. All svm_set_cr0 is compute the effective cr0 and compare it with the guest value. Inlining the function and simplifying the condition clarifies what it is doing. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions