diff options
author | Américo Wang <xiyou.wangcong@gmail.com> | 2010-05-26 06:57:53 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-06-08 17:31:28 -0400 |
commit | 30dbb20e68e6f7df974b77d2350ebad5eb6f6c9e (patch) | |
tree | b28f8232756e0de57ded858d6584724317b405ef /kernel/trace/trace.c | |
parent | b0f82b81fe6bbcf78d478071f33e44554726bc81 (diff) |
tracing: Remove boot tracer
The boot tracer is useless. It simply logs the initcalls
but in fact these initcalls are also logged through printk
while using the initcall_debug kernel parameter.
Nobody seem to be using it so far. Then just remove it.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Chase Douglas <chase.douglas@canonical.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <20100526105753.GA5677@cr0.nay.redhat.com>
[ remove the hooks in main.c, and the headers ]
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 55e48511d7c8..036fbc22858b 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -4603,9 +4603,6 @@ __init static int tracer_alloc_buffers(void) | |||
4603 | 4603 | ||
4604 | register_tracer(&nop_trace); | 4604 | register_tracer(&nop_trace); |
4605 | current_trace = &nop_trace; | 4605 | current_trace = &nop_trace; |
4606 | #ifdef CONFIG_BOOT_TRACER | ||
4607 | register_tracer(&boot_tracer); | ||
4608 | #endif | ||
4609 | /* All seems OK, enable tracing */ | 4606 | /* All seems OK, enable tracing */ |
4610 | tracing_disabled = 0; | 4607 | tracing_disabled = 0; |
4611 | 4608 | ||