On Tue, Aug 22, 2023, Eric Wheeler wrote: > On Tue, 22 Aug 2023, Sean Christopherson wrote: > > On Mon, Aug 21, 2023, Eric Wheeler wrote: > > Note! Enable trace_kvm_exit before/when running this to ensure KVM grabs the guest RIP > > from the VMCS. Without that enabled, RIP from vcpu->arch.regs[16] may be stale. > > Thanks, we'll try it out. > > To confirm, when you say "Enable trace_kvm_exit", is it this: > > echo 1 > /sys/kernel/tracing/events/kvm/kvm_exit/enable > > or this (which might be the same): > > echo 1 > /sys/kernel/debug/tracing/events/kvm/kvm_exit/enable > > or something else? Yep, you got it. They're the same thing, the two paths are just different (common) places to mount the kernel's debufs.