Re: [PATCH -tip 2/2] Tracing/fastboot: Get the initcall name before it disappears

From: Frédéric Weisbecker
Date: Thu Oct 02 2008 - 08:18:20 EST


2008/10/2 Ingo Molnar <mingo@xxxxxxx>:
>
> * Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
>> 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@xxxxxxxxx>
>
> applied to tip/tracing/fastboot, thanks Frederic,
>
> Ingo
>

BTW I forgot to cc Arjan.
Arjan if you have some time to test it, I would be interested by your
feeling about it since
the boot tracer has now an output which is parsable by bootgraph.pl.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/