diff options
Diffstat (limited to 'arch/x86/include/asm/trace/fpu.h')
| -rw-r--r-- | arch/x86/include/asm/trace/fpu.h | 12 | 
1 files changed, 5 insertions, 7 deletions
| diff --git a/arch/x86/include/asm/trace/fpu.h b/arch/x86/include/asm/trace/fpu.h index 342e59789fcd..fa60398bbc3a 100644 --- a/arch/x86/include/asm/trace/fpu.h +++ b/arch/x86/include/asm/trace/fpu.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */  #undef TRACE_SYSTEM  #define TRACE_SYSTEM x86_fpu @@ -12,25 +13,22 @@ DECLARE_EVENT_CLASS(x86_fpu,  	TP_STRUCT__entry(  		__field(struct fpu *, fpu) -		__field(bool, fpregs_active) -		__field(bool, fpstate_active) +		__field(bool, initialized)  		__field(u64, xfeatures)  		__field(u64, xcomp_bv)  		),  	TP_fast_assign(  		__entry->fpu		= fpu; -		__entry->fpregs_active	= fpu->fpregs_active; -		__entry->fpstate_active	= fpu->fpstate_active; +		__entry->initialized	= fpu->initialized;  		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 fpregs_active: %d fpstate_active: %d xfeatures: %llx xcomp_bv: %llx", +	TP_printk("x86/fpu: %p initialized: %d xfeatures: %llx xcomp_bv: %llx",  			__entry->fpu, -			__entry->fpregs_active, -			__entry->fpstate_active, +			__entry->initialized,  			__entry->xfeatures,  			__entry->xcomp_bv  	) |