]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
tracing/fastboot: get the initcall name before it disappears
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 2 Oct 2008 11:26:05 +0000 (13:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:12 +0000 (10:39 +0200)
commit5601020feb0c3010e9e3e0131e9697ac6a06777b
tree99d1a70dbf3bba2b5ae1007c4828c28e6480214a
parentcb5ab74204a6e2579d1119bf1348eb806526b12b
tracing/fastboot: get the initcall name before it disappears

After some initcall traces, some initcall names may be inconsistent.
That's because these functions will disappear from the .init section
and also their name from the symbols table.

So we have to copy the name of the function in a buffer large enough
during the trace appending. It is not costly for the ring_buffer because
the number of initcall entries is commonly not really large.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
init/main.c
kernel/trace/trace_boot.c