diff options
Diffstat (limited to 'arch/x86/include/asm/trace')
| -rw-r--r-- | arch/x86/include/asm/trace/exceptions.h | 2 | ||||
| -rw-r--r-- | arch/x86/include/asm/trace/fpu.h | 13 | 
2 files changed, 5 insertions, 10 deletions
| diff --git a/arch/x86/include/asm/trace/exceptions.h b/arch/x86/include/asm/trace/exceptions.h index e0e6d7f21399..6b1e87194809 100644 --- a/arch/x86/include/asm/trace/exceptions.h +++ b/arch/x86/include/asm/trace/exceptions.h @@ -30,7 +30,7 @@ DECLARE_EVENT_CLASS(x86_exceptions,  		__entry->error_code = error_code;  	), -	TP_printk("address=%pf ip=%pf error_code=0x%lx", +	TP_printk("address=%ps ip=%ps error_code=0x%lx",  		  (void *)__entry->address, (void *)__entry->ip,  		  __entry->error_code) ); diff --git a/arch/x86/include/asm/trace/fpu.h b/arch/x86/include/asm/trace/fpu.h index 069c04be1507..879b77792f94 100644 --- a/arch/x86/include/asm/trace/fpu.h +++ b/arch/x86/include/asm/trace/fpu.h @@ -13,22 +13,22 @@ DECLARE_EVENT_CLASS(x86_fpu,  	TP_STRUCT__entry(  		__field(struct fpu *, fpu) -		__field(bool, initialized) +		__field(bool, load_fpu)  		__field(u64, xfeatures)  		__field(u64, xcomp_bv)  		),  	TP_fast_assign(  		__entry->fpu		= fpu; -		__entry->initialized	= fpu->initialized; +		__entry->load_fpu	= test_thread_flag(TIF_NEED_FPU_LOAD);  		if (boot_cpu_has(X86_FEATURE_OSXSAVE)) {  			__entry->xfeatures = fpu->state.xsave.header.xfeatures;  			__entry->xcomp_bv  = fpu->state.xsave.header.xcomp_bv;  		}  	), -	TP_printk("x86/fpu: %p initialized: %d xfeatures: %llx xcomp_bv: %llx", +	TP_printk("x86/fpu: %p load: %d xfeatures: %llx xcomp_bv: %llx",  			__entry->fpu, -			__entry->initialized, +			__entry->load_fpu,  			__entry->xfeatures,  			__entry->xcomp_bv  	) @@ -64,11 +64,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_regs_deactivated,  	TP_ARGS(fpu)  ); -DEFINE_EVENT(x86_fpu, x86_fpu_activate_state, -	TP_PROTO(struct fpu *fpu), -	TP_ARGS(fpu) -); -  DEFINE_EVENT(x86_fpu, x86_fpu_init_state,  	TP_PROTO(struct fpu *fpu),  	TP_ARGS(fpu) |