tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 26 Jun 2014 15:24:52 +0000 (11:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 18 Jul 2014 17:58:12 +0000 (13:58 -0400)
All users of function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST have
been removed. We can safely remove them from the kernel.

Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/Kconfig
kernel/trace/ftrace.c

index c800906235e1dc29db330ca50672ff29ceead735..7a5b7b97e539ec32254f667db07cb424ef1b0514 100644 (file)
@@ -129,8 +129,6 @@ struct ftrace_ops {
 #endif
 };
 
-extern int function_trace_stop;
-
 /*
  * Type of the current tracing.
  */
index d4409356f40d5660c0da16f4cd41a76c0315e519..a5da09c899dd69fde9dce7f783d5a0fdc27a41c1 100644 (file)
@@ -29,11 +29,6 @@ config HAVE_FUNCTION_GRAPH_FP_TEST
        help
          See Documentation/trace/ftrace-design.txt
 
-config HAVE_FUNCTION_TRACE_MCOUNT_TEST
-       bool
-       help
-         See Documentation/trace/ftrace-design.txt
-
 config HAVE_DYNAMIC_FTRACE
        bool
        help
index 70abf97d6e844eca96b6c52a57de286340e2439f..4c61f28a08e051108f1794d1ad0fc78631d7e5a2 100644 (file)
@@ -80,9 +80,6 @@ static struct ftrace_ops ftrace_list_end __read_mostly = {
 int ftrace_enabled __read_mostly;
 static int last_ftrace_enabled;
 
-/* Quick disabling of function tracer. */
-int function_trace_stop __read_mostly;
-
 /* Current function tracing op */
 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end;
 /* What to set function_trace_op to */