summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-11-04 10:45:23 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-11-07 11:02:33 -0500
commit8ee3c92b7f2751c392be2d8fc360a410480b8757 (patch)
tree60ebbd1d3dc66eda28f73cc08d19c0ccbd082cbf /kernel/trace/ftrace.c
parente5e78d08f3ab3094783b8df08a5b6d1d1a56a58f (diff)
downloadblackbird-op-linux-8ee3c92b7f2751c392be2d8fc360a410480b8757.tar.gz
blackbird-op-linux-8ee3c92b7f2751c392be2d8fc360a410480b8757.zip
ftrace: Remove force undef config value left for testing
A forced undef of a config value was used for testing and was accidently left in during the final commit. This causes x86 to run slower than needed while running function tracing as well as causes the function graph selftest to fail when DYNMAIC_FTRACE is not set. This is because the code in MCOUNT expects the ftrace code to be processed with the config value set that happened to be forced not set. The forced config option was left in by: commit 6331c28c962561aee59e5a493b7556a4bb585957 ftrace: Fix dynamic selftest failure on some archs Link: http://lkml.kernel.org/r/20111102150255.GA6973@debian Cc: stable@vger.kernel.org Reported-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 077d85387908..0fcc6caead1c 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -151,7 +151,6 @@ void clear_ftrace_function(void)
ftrace_pid_function = ftrace_stub;
}
-#undef CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST
#ifndef CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST
/*
* For those archs that do not test ftrace_trace_stop in their
OpenPOWER on IntegriCloud