Skip to content

Commit 99850a1

Browse files
rostedtIngo Molnar
authored andcommitted
x86/fpu: Remove unused trace events
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. Signed-off-by: Steven Rostedt (Google) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Linux Trace Kernel <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Oleg Nesterov <[email protected]> Link: https://lore.kernel.org/all/[email protected] # background Link: https://lore.kernel.org/r/[email protected] # x86 submission
1 parent dd3922c commit 99850a1

File tree

1 file changed

+0
-15
lines changed
  • arch/x86/include/asm/trace

1 file changed

+0
-15
lines changed

arch/x86/include/asm/trace/fpu.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_after_save,
4444
TP_ARGS(fpu)
4545
);
4646

47-
DEFINE_EVENT(x86_fpu, x86_fpu_before_restore,
48-
TP_PROTO(struct fpu *fpu),
49-
TP_ARGS(fpu)
50-
);
51-
52-
DEFINE_EVENT(x86_fpu, x86_fpu_after_restore,
53-
TP_PROTO(struct fpu *fpu),
54-
TP_ARGS(fpu)
55-
);
56-
5747
DEFINE_EVENT(x86_fpu, x86_fpu_regs_activated,
5848
TP_PROTO(struct fpu *fpu),
5949
TP_ARGS(fpu)
@@ -64,11 +54,6 @@ DEFINE_EVENT(x86_fpu, x86_fpu_regs_deactivated,
6454
TP_ARGS(fpu)
6555
);
6656

67-
DEFINE_EVENT(x86_fpu, x86_fpu_init_state,
68-
TP_PROTO(struct fpu *fpu),
69-
TP_ARGS(fpu)
70-
);
71-
7257
DEFINE_EVENT(x86_fpu, x86_fpu_dropped,
7358
TP_PROTO(struct fpu *fpu),
7459
TP_ARGS(fpu)

0 commit comments

Comments
 (0)