[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250531161723.1ea6a41c@gandalf.local.home>
Date: Sat, 31 May 2025 16:17:23 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>, Linux Trace Kernel
<linux-trace-kernel@...r.kernel.org>, x86@...nel.org
Cc: Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...en8.de>,
Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>, Dave
Hansen <dave.hansen@...ux.intel.com>, Oleg Nesterov <oleg@...hat.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Masami Hiramatsu
<mhiramat@...nel.org>
Subject: Re: [PATCH] x86/fpu: Remove unused trace events
Can I get an acked-by, and I'll pull this in through my tree (with the
other patches that remove unused events)?
Thanks,
-- Steve
On Thu, 29 May 2025 13:10:24 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> From: Steven Rostedt <rostedt@...dmis.org>
>
> The following trace events are not used and defining them just wastes
> memory:
>
> x86_fpu_before_restore
> x86_fpu_after_restore
> x86_fpu_init_state
>
> Simply remove them.
>
> Link: https://lore.kernel.org/all/20250529130138.544ffec4@gandalf.local.home/
>
> Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>
> ---
> arch/x86/include/asm/trace/fpu.h | 15 ---------------
> 1 file changed, 15 deletions(-)
>
> diff --git a/arch/x86/include/asm/trace/fpu.h b/arch/x86/include/asm/trace/fpu.h
> index 0454d5e60e5d..721b408d9a67 100644
> --- a/arch/x86/include/asm/trace/fpu.h
> +++ b/arch/x86/include/asm/trace/fpu.h
> @@ -44,16 +44,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_after_save,
> TP_ARGS(fpu)
> );
>
> -DEFINE_EVENT(x86_fpu, x86_fpu_before_restore,
> - TP_PROTO(struct fpu *fpu),
> - TP_ARGS(fpu)
> -);
> -
> -DEFINE_EVENT(x86_fpu, x86_fpu_after_restore,
> - TP_PROTO(struct fpu *fpu),
> - TP_ARGS(fpu)
> -);
> -
> DEFINE_EVENT(x86_fpu, x86_fpu_regs_activated,
> TP_PROTO(struct fpu *fpu),
> TP_ARGS(fpu)
> @@ -64,11 +54,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_regs_deactivated,
> TP_ARGS(fpu)
> );
>
> -DEFINE_EVENT(x86_fpu, x86_fpu_init_state,
> - TP_PROTO(struct fpu *fpu),
> - TP_ARGS(fpu)
> -);
> -
> DEFINE_EVENT(x86_fpu, x86_fpu_dropped,
> TP_PROTO(struct fpu *fpu),
> TP_ARGS(fpu)
Powered by blists - more mailing lists