public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2 v2] tracing/x86_32: Remove non DYNAMIC_FTRACE and mcount support
@ 2019-05-10 16:35 Steven Rostedt
  2019-05-10 16:35 ` [RFC][PATCH 1/2 v2] ftrace/x86_32: Remove support for non DYNAMIC_FTRACE Steven Rostedt
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Steven Rostedt @ 2019-05-10 16:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: Linus Torvalds, Peter Zijlstra, Josh Poimboeuf, Ingo Molnar,
	Thomas Gleixner, H. Peter Anvin, Jiri Kosina, Miroslav Benes,
	Petr Mladek, Joe Lawrence, live-patching, x86, Borislav Petkov

There's no need to support either DYNAMIC_FTRACE=n or mcount (non fentry)
in x86_32. As the static tracing (DYNAMIC_FTRACE=n) does not support
fentry, we can just remove it, as the static tracing is only around to
test the static tracing in generic code as other architectures have it
but not DYNAMIC_FTRACE.

This will allow also allow us to remove klp_check_compiler_support()
in later patches.

Steven Rostedt (VMware) (2):
      ftrace/x86_32: Remove support for non DYNAMIC_FTRACE
      ftrace/x86: Remove mcount support

----
 arch/x86/Kconfig                 | 11 ++++++
 arch/x86/include/asm/ftrace.h    |  8 ++---
 arch/x86/include/asm/livepatch.h |  3 --
 arch/x86/kernel/ftrace_32.S      | 75 +++-------------------------------------
 arch/x86/kernel/ftrace_64.S      | 28 +--------------
 5 files changed, 20 insertions(+), 105 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-10 21:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-10 16:35 [RFC][PATCH 0/2 v2] tracing/x86_32: Remove non DYNAMIC_FTRACE and mcount support Steven Rostedt
2019-05-10 16:35 ` [RFC][PATCH 1/2 v2] ftrace/x86_32: Remove support for non DYNAMIC_FTRACE Steven Rostedt
2019-05-10 16:35 ` [RFC][PATCH 2/2 v2] ftrace/x86: Remove mcount support Steven Rostedt
2019-05-10 16:43 ` [RFC][PATCH 0/2 v2] tracing/x86_32: Remove non DYNAMIC_FTRACE and " Steven Rostedt
2019-05-10 21:47 ` [RFC][PATCH 3/2] livepatch: remove klp_check_compiler_support() Jiri Kosina
2019-05-10 21:54   ` Steven Rostedt
2019-05-10 21:58   ` Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox