[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081028181614.GB11275@elte.hu>
Date: Tue, 28 Oct 2008 19:16:14 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ftrace: perform an initialization for ftrace to enable
it
* Frederic Weisbecker <fweisbec@...il.com> wrote:
> Impact: Corrects a bug which made the function tracer not functionnal
>
> With latest git, the function tracer didn't get any trace. The
> problem was the fact that ftrace_enabled wasn't initialized to 1
> because ftrace hasn't any init function when DYNAMIC_FTRACE is
> disabled. So when a tracer tries to register an ftrace_ops struct,
> __register_ftrace_function failed to set the hook.
>
> This patch corrects it by setting an init function to initialize
> ftrace during the boot.
>
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
applied to tip/tracing/urgent, thanks Frederic!
Ingo
--
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