Re: [PATCH 3/8] MIPS: KVM: Clean up kvm_exit trace event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Jun 2016 09:40:12 +0100
James Hogan <james.hogan@xxxxxxxxxx> wrote:


>  TRACE_EVENT(kvm_exit,
>  	    TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason),
> @@ -34,7 +71,8 @@ TRACE_EVENT(kvm_exit,
>  	    ),
>  
>  	    TP_printk("[%s]PC: 0x%08lx",
> -		      kvm_mips_exit_types_str[__entry->reason],
> +		      __print_symbolic(__entry->reason,
> +				       kvm_trace_symbol_exit_types),
>  		      __entry->pc)
>  );
>  

BTW, I'm curious. Can you show me what you see in:

 /sys/kernel/debug/tracing/events/kvm/kvm_exit/format

Thanks!

-- Steve




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux