All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch -tip 3/4] Tracing/ftrace: Give an entry on the config for initcall tracer
@ 2008-09-23 10:36 Frédéric Weisbecker
  0 siblings, 0 replies; only message in thread
From: Frédéric Weisbecker @ 2008-09-23 10:36 UTC (permalink / raw)
  To: Arjan van de Ven
  Cc: linux-kernel, Steven Rostedt, Steven Noonan, Arjan van de Ven

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

Bring the entry to choose the initcall tracer on the kernel config.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---

[-- Attachment #2: patch3.diff --]
[-- Type: text/plain, Size: 1157 bytes --]

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 254328d..53952b7 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -126,6 +126,16 @@ config STACK_TRACER
 	  This tracer records the max stack of the kernel, and displays
 	  it in debugfs/tracing/stack_trace
 
+config INITCALL_TRACER
+	bool "Trace initcalls"
+	depends on HAVE_FTRACE
+	depends on DEBUG_KERNEL
+	select TRACING
+	help
+	  This tracer records the initcalls which occur after SMP initialization. 
+	  Its aim is to be parsed by the /scripts/bootgraph.pl to produce a graph,
+	  giving a visual representation of the delays during initcalls.
+
 config DYNAMIC_FTRACE
 	bool "enable/disable ftrace tracepoints dynamically"
 	depends on FTRACE
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile
index 73ba13f..1d7cc74 100644
--- a/kernel/trace/Makefile
+++ b/kernel/trace/Makefile
@@ -22,5 +22,6 @@ obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
 obj-$(CONFIG_NOP_TRACER) += trace_nop.o
 obj-$(CONFIG_STACK_TRACER) += trace_stack.o
 obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
+obj-$(CONFIG_INITCALL_TRACER) += trace_initcall.o
 
 libftrace-y := ftrace.o

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-23  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-23 10:36 [Patch -tip 3/4] Tracing/ftrace: Give an entry on the config for initcall tracer Frédéric Weisbecker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.