x86/fpu: Remove unused trace events
Steven Rostedt
maintainerPATCH 1/1 x86/fpu: Remove unused trace events
From: Steven Rostedt <[email protected]>
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.
--- arch/x86/include/asm/trace/fpu.h | 15 --------------- 1 file changed, 15 deletions(-)
arch/x86/include/asm/trace/fpu.h +0 -15
@@ -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)
Signature · 1 line
2.47.2
Steven Rostedt
maintainerCan I get an acked-by, and I'll pull this in through my tree (with the other patches that remove unused events)?
Thanks,
-- Steve
Quoted 51 lines · On Thu, 29 May 2025 13:10:24 -0400 Steven Rostedt <[email protected]> wrote:
From: Steven Rostedt <[email protected]>
The following trace events are not used and defining them just wastes memory:
x86_fpu_before_restore
x86_fpu_after_restore
x86_fpu_init_stateSimply remove them.
Signed-off-by Steven Rostedt (Google) <[email protected]>--- arch/x86/include/asm/trace/fpu.h | 15 --------------- 1 file changed, 15 deletions(-)arch/x86/include/asm/trace/fpu.h +0
-15@@ -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)
Steven Rostedt
maintainerQuoted 2 lines · On Sat, 31 May 2025 16:17:23 -0400 Steven Rostedt <[email protected]> wrote:
Can I get an acked-by, and I'll pull this in through my tree (with the other patches that remove unused events)?
Never mind, I just noticed the tip message that this was already merged and going upstream.
Thanks,
-- Steve