| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- From bc21c74b922871588bf6626bff34fa084ed60d71 Mon Sep 17 00:00:00 2001
- From: "Steven Rostedt (VMware)" <[email protected]>
- Date: Thu, 12 Oct 2017 18:06:19 -0400
- Subject: [PATCH 062/231] x86/fpu/debug: Remove unused 'x86_fpu_state' and
- 'x86_fpu_deactivate_state' tracepoints
- MIME-Version: 1.0
- Content-Type: text/plain; charset=UTF-8
- Content-Transfer-Encoding: 8bit
- CVE-2017-5754
- Commit:
- d1898b733619 ("x86/fpu: Add tracepoints to dump FPU state at key points")
- ... added the 'x86_fpu_state' and 'x86_fpu_deactivate_state' trace points,
- 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) <[email protected]>
- Cc: Dave Hansen <[email protected]>
- Cc: Linus Torvalds <[email protected]>
- Cc: Peter Zijlstra <[email protected]>
- Cc: Thomas Gleixner <[email protected]>
- Link: http://lkml.kernel.org/r/[email protected]
- Signed-off-by: Ingo Molnar <[email protected]>
- (cherry picked from commit 127a1bea40f7f2a36bc7207ea4d51bb6b4e936fa)
- Signed-off-by: Andy Whitcroft <[email protected]>
- Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
- (cherry picked from commit c7c367ddb6ffb6af2cfee287960e97c4aefc6548)
- Signed-off-by: Fabian Grünbichler <[email protected]>
- ---
- arch/x86/include/asm/trace/fpu.h | 10 ----------
- 1 file changed, 10 deletions(-)
- diff --git a/arch/x86/include/asm/trace/fpu.h b/arch/x86/include/asm/trace/fpu.h
- index 342e59789fcd..fed7d9ecae60 100644
- --- a/arch/x86/include/asm/trace/fpu.h
- +++ b/arch/x86/include/asm/trace/fpu.h
- @@ -36,11 +36,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)
- @@ -76,11 +71,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_activate_state,
- 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),
- TP_ARGS(fpu)
- --
- 2.14.2
|