[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALF0-+XiJBVLRA2ja-JreDgfcrzgzcQJX+JjfB4kiHBgn2-M-g@mail.gmail.com>
Date: Fri, 24 Aug 2012 08:53:39 -0300
From: Ezequiel Garcia <elezegarcia@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, Pekka Enberg <penberg@...nel.org>,
tim.bird@...sony.com, lizefan@...wei.com,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...hat.com>, Jason Baron <jbaron@...hat.com>
Subject: Re: [RFC PATCH 1/1] trace: Move trace event enable from fs_initcall
to early_initcall
Hi Steven,
On Fri, Aug 17, 2012 at 11:39 AM, Steven Rostedt <rostedt@...dmis.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists