aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2018-12-20 12:25:16 -0800
committerPaolo Bonzini <[email protected]>2018-12-21 12:02:43 +0100
commit051a2d3e59e51ae49fd56aef34e472832897ce46 (patch)
treea6c583cfe78711a8d9e579f1e1861a20725c640b /tools/perf/util/scripting-engines/trace-event-python.c
parentc6ad45973380af5ef43b708a54d7475d93f86638 (diff)
KVM: VMX: Explicitly reference RCX as the vmx_vcpu pointer in asm blobs
Use '%% " _ASM_CX"' instead of '%0' to dereference RCX, i.e. the 'struct vcpu_vmx' pointer, in the VM-Enter asm blobs of vmx_vcpu_run() and nested_vmx_check_vmentry_hw(). Using the symbolic name means that adding/removing an output parameter(s) requires "rewriting" almost all of the asm blob, which makes it nearly impossible to understand what's being changed in even the most minor patches. Opportunistically improve the code comments. Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions