projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd3922c
)
x86/fpu: Remove unused trace events
author
Steven Rostedt
<rostedt@goodmis.org>
Thu, 29 May 2025 17:10:24 +0000
(13:10 -0400)
committer
Ingo Molnar
<mingo@kernel.org>
Sat, 31 May 2025 07:40:40 +0000
(09:40 +0200)
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) <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Link:
https://lore.kernel.org/all/20250529130138.544ffec4@gandalf.local.home
Link:
https://lore.kernel.org/r/20250529131024.7c2ef96f@gandalf.local.home
arch/x86/include/asm/trace/fpu.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/trace/fpu.h
b/arch/x86/include/asm/trace/fpu.h
index 0454d5e60e5d75344a9f20e93627fb1955557d9c..721b408d9a6736dc14ca81a090b789aacd88a5a9 100644
(file)
--- a/
arch/x86/include/asm/trace/fpu.h
+++ b/
arch/x86/include/asm/trace/fpu.h
@@
-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)