LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ftrace: perform an initialization for ftrace to enable it
Date: Tue, 28 Oct 2008 19:16:14 +0100	[thread overview]
Message-ID: <20081028181614.GB11275@elte.hu> (raw)
In-Reply-To: <49076552.2090500@gmail.com>


* Frederic Weisbecker <fweisbec@gmail.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@gmail.com>

applied to tip/tracing/urgent, thanks Frederic!

	Ingo

      reply	other threads:[~2008-10-28 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 19:17 Frederic Weisbecker
2008-10-28 18:16 ` Ingo Molnar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081028181614.GB11275@elte.hu \
    --to=mingo@elte.hu \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --subject='Re: [PATCH] ftrace: perform an initialization for ftrace to enable it' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).