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/Kconfig | |
| 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/Kconfig')
| -rw-r--r-- | kernel/trace/Kconfig | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 8b1797c4545b..572992abc71c 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -229,23 +229,6 @@ config FTRACE_SYSCALLS | |||
| 229 | help | 229 | help |
| 230 | Basic tracer to catch the syscall entry and exit events. | 230 | Basic tracer to catch the syscall entry and exit events. |
| 231 | 231 | ||
| 232 | config BOOT_TRACER | ||
| 233 | bool "Trace boot initcalls" | ||
| 234 | select GENERIC_TRACER | ||
| 235 | select CONTEXT_SWITCH_TRACER | ||
| 236 | help | ||
| 237 | This tracer helps developers to optimize boot times: it records | ||
| 238 | the timings of the initcalls and traces key events and the identity | ||
| 239 | of tasks that can cause boot delays, such as context-switches. | ||
| 240 | |||
| 241 | Its aim is to be parsed by the scripts/bootgraph.pl tool to | ||
| 242 | produce pretty graphics about boot inefficiencies, giving a visual | ||
| 243 | representation of the delays during initcalls - but the raw | ||
| 244 | /debug/tracing/trace text output is readable too. | ||
| 245 | |||
| 246 | You must pass in initcall_debug and ftrace=initcall to the kernel | ||
| 247 | command line to enable this on bootup. | ||
| 248 | |||
| 249 | config TRACE_BRANCH_PROFILING | 232 | config TRACE_BRANCH_PROFILING |
| 250 | bool | 233 | bool |
| 251 | select GENERIC_TRACER | 234 | select GENERIC_TRACER |
