[PATCH] tracing: x86/fpu: Remove unused tracepoints x86_fpu_state and x86_fpu_deactivate_state

From: Steven Rostedt
Date: Thu Oct 12 2017 - 18:06:26 EST


From: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

Commit d1898b73 ("x86/fpu: Add tracepoints to dump FPU state at key
points") added trace points x86_fpu_state and x86_fpu_deactivate_state,
but never used them. Today they are still not used. As they take up
and waste memory, remove them.

Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
---
Index: linux-trace.git/arch/x86/include/asm/trace/fpu.h
===================================================================
--- linux-trace.git.orig/arch/x86/include/asm/trace/fpu.h
+++ linux-trace.git/arch/x86/include/asm/trace/fpu.h
@@ -33,11 +33,6 @@ DECLARE_EVENT_CLASS(x86_fpu,
)
);

-DEFINE_EVENT(x86_fpu, x86_fpu_state,
- TP_PROTO(struct fpu *fpu),
- TP_ARGS(fpu)
-);
-
DEFINE_EVENT(x86_fpu, x86_fpu_before_save,
TP_PROTO(struct fpu *fpu),
TP_ARGS(fpu)
@@ -72,11 +67,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_activate_s
TP_PROTO(struct fpu *fpu),
TP_ARGS(fpu)
);
-
-DEFINE_EVENT(x86_fpu, x86_fpu_deactivate_state,
- TP_PROTO(struct fpu *fpu),
- TP_ARGS(fpu)
-);

DEFINE_EVENT(x86_fpu, x86_fpu_init_state,
TP_PROTO(struct fpu *fpu),
;