]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 e90eb0c2c56ca78d917f4e353dd099fd51c29172..0f85a64003d3980d1002d1877712808703f25cb9 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,