[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190510163519.794235443@goodmis.org>
Date: Fri, 10 May 2019 12:35:19 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>, Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
live-patching@...r.kernel.org, x86@...nel.org,
Borislav Petkov <bp@...en8.de>
Subject: [RFC][PATCH 0/2 v2] tracing/x86_32: Remove non DYNAMIC_FTRACE and mcount support
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(-)
Powered by blists - more mailing lists