tracing: Rename set_ftrace to set_bootup_ftrace
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 12 Oct 2009 20:23:24 +0000 (22:23 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 13 Oct 2009 07:32:57 +0000 (09:32 +0200)
Do this rename because set_ftrace is too much generic and not enough
self-explainable as a name.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
kernel/trace/trace.c

index 45068269ebb1746673f23c20b146ca9104a0b325..866daf8497f1e79b1271cdf3d2af1ad62cb284f1 100644 (file)
@@ -129,7 +129,7 @@ static int tracing_set_tracer(const char *buf);
 static char bootup_tracer_buf[MAX_TRACER_SIZE] __initdata;
 static char *default_bootup_tracer;
 
-static int __init set_ftrace(char *str)
+static int __init set_bootup_ftrace(char *str)
 {
        strncpy(bootup_tracer_buf, str, MAX_TRACER_SIZE);
        default_bootup_tracer = bootup_tracer_buf;
@@ -137,7 +137,7 @@ static int __init set_ftrace(char *str)
        ring_buffer_expanded = 1;
        return 1;
 }
-__setup("ftrace=", set_ftrace);
+__setup("ftrace=", set_bootup_ftrace);
 
 static int __init set_ftrace_dump_on_oops(char *str)
 {