Browse Source

ftrace: rename the ftrace tracer to function

To avoid further confusion between the ftrace infrastructure and the
function tracer. This patch renames the "ftrace" function tracer
to "function".

Now in available_tracers, instead of "ftrace" there will be "function".

This makes more sense, since people will not know exactly what the
"ftrace" tracer does.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Steven Rostedt 16 years ago
parent
commit
3ce83aea86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/trace/trace_functions.c

+ 1 - 1
kernel/trace/trace_functions.c

@@ -64,7 +64,7 @@ static void function_trace_ctrl_update(struct trace_array *tr)
 
 
 static struct tracer function_trace __read_mostly =
 static struct tracer function_trace __read_mostly =
 {
 {
-	.name	     = "ftrace",
+	.name	     = "function",
 	.init	     = function_trace_init,
 	.init	     = function_trace_init,
 	.reset	     = function_trace_reset,
 	.reset	     = function_trace_reset,
 	.ctrl_update = function_trace_ctrl_update,
 	.ctrl_update = function_trace_ctrl_update,