tracing/ftrace: add the boot tracer
authorFrédéric Weisbecker <fweisbec@gmail.com>
Tue, 23 Sep 2008 10:32:08 +0000 (11:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:47 +0000 (10:38 +0200)
commitd13744cd6e3fef373a3fe656ac349b4e7c49ff79
tree7315ec5390bd4977ecf5d0b25d7ec5cf0440236a
parentaa5d9151f745b6ee6a236a1f109118034277eb92
tracing/ftrace: add the boot tracer

Add the boot/initcall tracer.

It's primary purpose is to be able to trace the initcalls.

It is intended to be used with scripts/bootgraph.pl after some small
improvements.

Note that it is not active after its init. To avoid tracing (and so
crashing) before the whole tracing engine init, you have to explicitly
call start_boot_trace() after do_pre_smp_initcalls() to enable it.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
kernel/trace/trace.h
kernel/trace/trace_boot.c [new file with mode: 0644]