LKML Archive on
help / color / mirror / Atom feed
From: Ingo Molnar <>
To: Frederic Weisbecker <>
Cc: Steven Rostedt <>,
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: <> (raw)
In-Reply-To: <>

* Frederic Weisbecker <> 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 <>

applied to tip/tracing/urgent, thanks Frederic!


      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:

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

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] ftrace: perform an initialization for ftrace to enable it' \

* 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).