summaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorFrédéric Weisbecker <fweisbec@gmail.com>2008-09-23 11:36:20 +0100
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:38:49 +0200
commit1f5c2abbdeb2bb07b20c6a66bfecefe6c867b1ee (patch)
tree0ba861c8817994f3c46446368b806f54c037b09d /kernel/trace/Kconfig
parentb5ad384e79add1d87fff54070000dadcf218ffab (diff)
tracing/ftrace: give an entry on the config for boot tracer
Bring the entry to choose the boot tracer on the kernel config. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 254328dec67..81a17ef6b94 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -116,6 +116,18 @@ config CONTEXT_SWITCH_TRACER
This tracer gets called from the context switch and records
all switching of tasks.
+config BOOT_TRACER
+ bool "Trace boot initcalls"
+ depends on HAVE_FTRACE
+ depends on DEBUG_KERNEL
+ select TRACING
+ help
+ This tracer helps developers to optimize boot times: it records
+ the timings of the initcalls. Its aim is to be parsed by the
+ /scripts/bootgraph.pl tool to produce pretty graphics about
+ boot inefficiencies, giving a visual representation of the
+ delays during initcalls.
+
config STACK_TRACER
bool "Trace max stack"
depends on HAVE_FTRACE