Messages in this thread | | | Subject | Re: [RFC PATCH v2] trace: Move trace event enable from fs_initcall to early_initcall | From | Steven Rostedt <> | Date | Wed, 05 Sep 2012 22:46:17 -0400 |
| |
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@goodmis.org> 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 :-/
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.
-- Steve
| |