mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: LKML <linux-kernel@vger.kernel.org>,
	Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>,
	x86@kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Borislav Petkov <bp@alien8.de>, Ingo Molnar <mingo@kernel.org>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Oleg Nesterov <oleg@redhat.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Masami Hiramatsu <mhiramat@kernel.org>
Subject: Re: [PATCH] x86/fpu: Remove unused trace events
Date: Sat, 31 May 2025 16:17:23 -0400	[thread overview]
Message-ID: <20250531161723.1ea6a41c@gandalf.local.home> (raw)
In-Reply-To: <20250529131024.7c2ef96f@gandalf.local.home>


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@goodmis.org> wrote:

> From: Steven Rostedt <rostedt@goodmis.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@goodmis.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)


  reply	other threads:[~2025-05-31 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-29 17:10 Steven Rostedt
2025-05-31 20:17 ` Steven Rostedt [this message]
2025-05-31 20:20   ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250531161723.1ea6a41c@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=mingo@kernel.org \
    --cc=oleg@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®