فهرست منبع

tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST

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>
Steven Rostedt (Red Hat) 11 سال پیش
والد
کامیت
3a636388ba
3فایلهای تغییر یافته به همراه0 افزوده شده و 10 حذف شده
  1. 0 2
      include/linux/ftrace.h
  2. 0 5
      kernel/trace/Kconfig
  3. 0 3
      kernel/trace/ftrace.c

+ 0 - 2
include/linux/ftrace.h

@@ -129,8 +129,6 @@ struct ftrace_ops {
 #endif
 #endif
 };
 };
 
 
-extern int function_trace_stop;
-
 /*
 /*
  * Type of the current tracing.
  * Type of the current tracing.
  */
  */

+ 0 - 5
kernel/trace/Kconfig

@@ -29,11 +29,6 @@ config HAVE_FUNCTION_GRAPH_FP_TEST
 	help
 	help
 	  See Documentation/trace/ftrace-design.txt
 	  See Documentation/trace/ftrace-design.txt
 
 
-config HAVE_FUNCTION_TRACE_MCOUNT_TEST
-	bool
-	help
-	  See Documentation/trace/ftrace-design.txt
-
 config HAVE_DYNAMIC_FTRACE
 config HAVE_DYNAMIC_FTRACE
 	bool
 	bool
 	help
 	help

+ 0 - 3
kernel/trace/ftrace.c

@@ -80,9 +80,6 @@ static struct ftrace_ops ftrace_list_end __read_mostly = {
 int ftrace_enabled __read_mostly;
 int ftrace_enabled __read_mostly;
 static int last_ftrace_enabled;
 static int last_ftrace_enabled;
 
 
-/* Quick disabling of function tracer. */
-int function_trace_stop __read_mostly;
-
 /* Current function tracing op */
 /* Current function tracing op */
 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end;
 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end;
 /* What to set function_trace_op to */
 /* What to set function_trace_op to */