diff options
| author | Josh Poimboeuf <jpoimboe@redhat.com> | 2016-08-19 07:52:55 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2016-08-24 06:15:13 -0400 |
| commit | e4a744ef2fef5c803348b650a3a2d01da7797a9b (patch) | |
| tree | 7b08bac6a90229df28234ccb5566b7d7fbaac780 /kernel/trace | |
| parent | e37e43a497d5a8b7c0cc1736d56986f432c394c9 (diff) | |
ftrace: Remove CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST from config
Make HAVE_FUNCTION_GRAPH_FP_TEST a normal define, independent from
kconfig. This removes some config file pollution and simplifies the
checking for the fp test.
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Byungchul Park <byungchul.park@lge.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nilay Vaish <nilayvaish@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/2c4e5f05054d6d367f702fd153af7a0109dd5c81.1471607358.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/trace')
| -rw-r--r-- | kernel/trace/Kconfig | 5 | ||||
| -rw-r--r-- | kernel/trace/trace_functions_graph.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index f4b86e8ca1e7..ba3326785ca4 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -24,11 +24,6 @@ config HAVE_FUNCTION_GRAPH_TRACER | |||
| 24 | help | 24 | help |
| 25 | See Documentation/trace/ftrace-design.txt | 25 | See Documentation/trace/ftrace-design.txt |
| 26 | 26 | ||
| 27 | config HAVE_FUNCTION_GRAPH_FP_TEST | ||
| 28 | bool | ||
| 29 | help | ||
| 30 | See Documentation/trace/ftrace-design.txt | ||
| 31 | |||
| 32 | config HAVE_DYNAMIC_FTRACE | 27 | config HAVE_DYNAMIC_FTRACE |
| 33 | bool | 28 | bool |
| 34 | help | 29 | help |
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index 7363ccf79512..fc173cd9fbfd 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c | |||
| @@ -204,7 +204,7 @@ ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret, | |||
| 204 | return; | 204 | return; |
| 205 | } | 205 | } |
| 206 | 206 | ||
| 207 | #if defined(CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST) && !defined(CC_USING_FENTRY) | 207 | #ifdef HAVE_FUNCTION_GRAPH_FP_TEST |
| 208 | /* | 208 | /* |
| 209 | * The arch may choose to record the frame pointer used | 209 | * The arch may choose to record the frame pointer used |
| 210 | * and check it here to make sure that it is what we expect it | 210 | * and check it here to make sure that it is what we expect it |
