diff options
author | Frédéric Weisbecker <fweisbec@gmail.com> | 2008-09-23 06:36:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:38:49 -0400 |
commit | 1f5c2abbdeb2bb07b20c6a66bfecefe6c867b1ee (patch) | |
tree | 0ba861c8817994f3c46446368b806f54c037b09d /kernel/trace | |
parent | b5ad384e79add1d87fff54070000dadcf218ffab (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')
-rw-r--r-- | kernel/trace/Kconfig | 12 | ||||
-rw-r--r-- | kernel/trace/Makefile | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 254328dec672..81a17ef6b942 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -116,6 +116,18 @@ config CONTEXT_SWITCH_TRACER | |||
116 | This tracer gets called from the context switch and records | 116 | This tracer gets called from the context switch and records |
117 | all switching of tasks. | 117 | all switching of tasks. |
118 | 118 | ||
119 | config BOOT_TRACER | ||
120 | bool "Trace boot initcalls" | ||
121 | depends on HAVE_FTRACE | ||
122 | depends on DEBUG_KERNEL | ||
123 | select TRACING | ||
124 | help | ||
125 | This tracer helps developers to optimize boot times: it records | ||
126 | the timings of the initcalls. Its aim is to be parsed by the | ||
127 | /scripts/bootgraph.pl tool to produce pretty graphics about | ||
128 | boot inefficiencies, giving a visual representation of the | ||
129 | delays during initcalls. | ||
130 | |||
119 | config STACK_TRACER | 131 | config STACK_TRACER |
120 | bool "Trace max stack" | 132 | bool "Trace max stack" |
121 | depends on HAVE_FTRACE | 133 | depends on HAVE_FTRACE |
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile index 73ba13f5a461..35a07f7cfa86 100644 --- a/kernel/trace/Makefile +++ b/kernel/trace/Makefile | |||
@@ -22,5 +22,6 @@ obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o | |||
22 | obj-$(CONFIG_NOP_TRACER) += trace_nop.o | 22 | obj-$(CONFIG_NOP_TRACER) += trace_nop.o |
23 | obj-$(CONFIG_STACK_TRACER) += trace_stack.o | 23 | obj-$(CONFIG_STACK_TRACER) += trace_stack.o |
24 | obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o | 24 | obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o |
25 | obj-$(CONFIG_BOOT_TRACER) += trace_boot.o | ||
25 | 26 | ||
26 | libftrace-y := ftrace.o | 27 | libftrace-y := ftrace.o |