@@ -113,20 +113,20 @@ DEFINE_EVENT(kvm_transition, kvm_out,
{ KVM_TRACE_EXIT_GPA, "GPA" }
TRACE_EVENT(kvm_exit,
- TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason),
- TP_ARGS(vcpu, reason),
+ TP_PROTO(struct kvm_vcpu *vcpu, unsigned int exit_reason),
+ TP_ARGS(vcpu, exit_reason),
TP_STRUCT__entry(
__field(unsigned long, pc)
- __field(unsigned int, reason)
+ __field(unsigned int, exit_reason)
),
TP_fast_assign(
__entry->pc = vcpu->arch.pc;
- __entry->reason = reason;
+ __entry->exit_reason = exit_reason;
),
TP_printk("[%s]PC: 0x%08lx",
- __print_symbolic(__entry->reason,
+ __print_symbolic(__entry->exit_reason,
kvm_trace_symbol_exit_types),
__entry->pc)
);
This standardizes kvm exit reason field name by replacing "reason" with "exit_reason". Signed-off-by: Gavin Shan <gshan@redhat.com> --- arch/mips/kvm/trace.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)