ftrace: rename the ftrace tracer to function
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 6 Oct 2008 23:06:13 +0000 (19:06 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 20 Oct 2008 16:27:04 +0000 (18:27 +0200)
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>
kernel/trace/trace_functions.c

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