]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf96520b5e545ac8b28d5a954f6df7ebaa5233584
tree7315ec5390bd4977ecf5d0b25d7ec5cf0440236a
parentadd066ea2c25d78e61dea4bff54d12af272f69fc
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]