[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171012180619.670b68b6@gandalf.local.home>
Date: Thu, 12 Oct 2017 18:06:19 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>,
x86@...nel.org, Dave Hansen <dave.hansen@...ux.intel.com>
Subject: [PATCH] tracing: x86/fpu: Remove unused tracepoints x86_fpu_state
and x86_fpu_deactivate_state
From: Steven Rostedt (VMware) <rostedt@...dmis.org>
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@...dmis.org>
---
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),
;
Powered by blists - more mailing lists