From 2f48661013167974881f651ab5703fa4bfc96c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Weisbecker?= Date: Tue, 23 Sep 2008 11:36:20 +0100 Subject: [PATCH] --- yaml --- r: 116647 b: refs/heads/master c: 1f5c2abbdeb2bb07b20c6a66bfecefe6c867b1ee h: refs/heads/master i: 116645: e20c8e3ecda6cbc3f6c1a26d5fa793c1a4269202 116643: 3000a53ca6b0edad4da43f03587053a83565de44 116639: e9579acdade2d8b44fa2fd956b4cdb99ef2f2972 v: v3 --- [refs] | 2 +- trunk/kernel/trace/Kconfig | 12 ++++++++++++ trunk/kernel/trace/Makefile | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ee252e118be8..a8153fc3cec5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5ad384e79add1d87fff54070000dadcf218ffab +refs/heads/master: 1f5c2abbdeb2bb07b20c6a66bfecefe6c867b1ee diff --git a/trunk/kernel/trace/Kconfig b/trunk/kernel/trace/Kconfig index 254328dec672..81a17ef6b942 100644 --- a/trunk/kernel/trace/Kconfig +++ b/trunk/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 diff --git a/trunk/kernel/trace/Makefile b/trunk/kernel/trace/Makefile index 73ba13f5a461..35a07f7cfa86 100644 --- a/trunk/kernel/trace/Makefile +++ b/trunk/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_BOOT_TRACER) += trace_boot.o libftrace-y := ftrace.o