diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-05 04:24:48 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 04:24:48 -0500 |
commit | 5e1607a00bd082972629d3d68c95c8bcf902b55a (patch) | |
tree | 2751baf5ee286cdec8f4b1afcb7332f4c1f5f454 /kernel/trace/trace.c | |
parent | 53664738c122bfe8b0e489fddaf2ab265c9133c8 (diff) |
tracing: rename ftrace_printk() => trace_printk()
Impact: cleanup
Use a more generic name - this also allows the prototype to move
to kernel.h and be generally available to kernel developers who
want to do some quick tracing.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index d1ef43999d9e..c0e9c1263393 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -48,7 +48,7 @@ unsigned long __read_mostly tracing_thresh; | |||
48 | * We need to change this state when a selftest is running. | 48 | * We need to change this state when a selftest is running. |
49 | * A selftest will lurk into the ring-buffer to count the | 49 | * A selftest will lurk into the ring-buffer to count the |
50 | * entries inserted during the selftest although some concurrent | 50 | * entries inserted during the selftest although some concurrent |
51 | * insertions into the ring-buffer such as ftrace_printk could occurred | 51 | * insertions into the ring-buffer such as trace_printk could occurred |
52 | * at the same time, giving false positive or negative results. | 52 | * at the same time, giving false positive or negative results. |
53 | */ | 53 | */ |
54 | static bool __read_mostly tracing_selftest_running; | 54 | static bool __read_mostly tracing_selftest_running; |
@@ -291,7 +291,7 @@ static const char *trace_options[] = { | |||
291 | "block", | 291 | "block", |
292 | "stacktrace", | 292 | "stacktrace", |
293 | "sched-tree", | 293 | "sched-tree", |
294 | "ftrace_printk", | 294 | "trace_printk", |
295 | "ftrace_preempt", | 295 | "ftrace_preempt", |
296 | "branch", | 296 | "branch", |
297 | "annotate", | 297 | "annotate", |
@@ -3768,7 +3768,7 @@ int trace_vprintk(unsigned long ip, int depth, const char *fmt, va_list args) | |||
3768 | } | 3768 | } |
3769 | EXPORT_SYMBOL_GPL(trace_vprintk); | 3769 | EXPORT_SYMBOL_GPL(trace_vprintk); |
3770 | 3770 | ||
3771 | int __ftrace_printk(unsigned long ip, const char *fmt, ...) | 3771 | int __trace_printk(unsigned long ip, const char *fmt, ...) |
3772 | { | 3772 | { |
3773 | int ret; | 3773 | int ret; |
3774 | va_list ap; | 3774 | va_list ap; |
@@ -3781,7 +3781,7 @@ int __ftrace_printk(unsigned long ip, const char *fmt, ...) | |||
3781 | va_end(ap); | 3781 | va_end(ap); |
3782 | return ret; | 3782 | return ret; |
3783 | } | 3783 | } |
3784 | EXPORT_SYMBOL_GPL(__ftrace_printk); | 3784 | EXPORT_SYMBOL_GPL(__trace_printk); |
3785 | 3785 | ||
3786 | int __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap) | 3786 | int __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap) |
3787 | { | 3787 | { |