Re: [RFC PATCH v2] trace: Move trace event enable from fs_initcall to early_initcall

From: Ezequiel Garcia
Date: Fri Sep 07 2012 - 12:36:21 EST


Hi Steven,

On Wed, Sep 5, 2012 at 11:46 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Wed, 2012-09-05 at 13:53 -0400, Steven Rostedt wrote:
>> On Tue, 2012-09-04 at 22:18 -0300, Ezequiel Garcia wrote:
>> > Hi Steven,
>> >
>> > On 8/17/12, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>> > > On Fri, 2012-08-17 at 09:03 -0300, Ezequiel Garcia wrote:
>> > >> This patch splits trace event initialization in two stages:
>> > >> * ftrace enable
>> > >> * sysfs event entry creation
>> > >>
>> > >> This allows to capture trace events from an earlier point
>> > >> by using 'trace_event' kernel parameter and is important
>> > >> to trace boot-up allocations.
>> > >>
>> > >
>> > > This is much better, I'll give it some tests and add it to my 3.7 queue.
>> > >
>> >
>> > Ping? Will you add this to your tree?
>>
>> Yeah, I haven't been able to test it yet. I've been stuck trying to
>> figure out bugs on other patches I have queued. I'll let you know when I
>> do apply it though.
>
> Just tested it and it failed :-/
>

Damn!

> Enable CONFIG_FTRACE_SELFTEST and CONFIG_FTRACE_STARTUP_TEST, along with
> events and syscall events. The syscall event self test fails with this
> patch applied.
>

Ok, I'll resend a v3.

Sorry for not testing this myself and thanks,
Ezequiel.
--
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/