Messages in this thread | | | Date | Fri, 24 Aug 2012 08:53:39 -0300 | Subject | Re: [RFC PATCH 1/1] trace: Move trace event enable from fs_initcall to early_initcall | From | Ezequiel Garcia <> |
| |
Hi Steven,
On Fri, Aug 17, 2012 at 11:39 AM, Steven Rostedt <rostedt@goodmis.org> wrote: > > I don't think kmalloc is the issue. The big problem in front of you is > jump labels. That's what enables and disables trace points, and it gets > initialized just after memory is set up. You may have to force jump > labels off when doing early tracing :-/ Although I'm not sure it > requires allocations. >
Well, I wasn't thinking *that* early actually. So, I'm trying to enable tracing at some point after jump_labels (could be near perf_event_init).
Right now, the static ring buffer part is done and I'm having some problems copying this ring buffer into the *real* one.
Mind giving me another hint?
Thanks a lot for your help so far, Ezequiel.
| |