Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The kvm_exit tracepoint has the following proto ([0]): TP_PROTO(struct kvm_vcpu *vcpu, u32 isa) So for raw tracepoint, the first arg is a pointer to kvm_vcpu, not exit_reason. The exit_reason is hidden inside struct vcpu_vmx for Intel CPU (or struct vcpu_svm for AMD CPU). Both structs are not part of the UAPI, so it's hard to extract exit_reason. Let's always use the kvm_exit tracepoint instead. [0]: https://github.com/torvalds/linux/blob/1ef6663a587b/arch/x86/kvm/trace.h#L296 Signed-off-by: Hengqi Chen <[email protected]>
- Loading branch information