mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 0/3] ftrace updates to tip/core/urgent
Date: Wed, 19 Nov 2008 09:01:24 +0100	[thread overview]
Message-ID: <20081119080124.GB1078@elte.hu> (raw)
In-Reply-To: <20081119053449.282336740@goodmis.org>


* Steven Rostedt <rostedt@goodmis.org> wrote:

> Ingo,
> 
> I ported the following patches to tip/core/urgent since they are 
> candidates for 2.6.28.
> 
> The first two are trivial, short, and should not be an issue. The 
> first two handle the printing of the set_ftrace_filter file 
> correctly.
> 
> The third is a bigger patch "108 lines changed" and is actually a 
> clean up and fix.  The difference is that the current logic to 
> determine if a function should be enabled or not is incorrect. With 
> different combinations of using set_ftrace_filter and 
> set_ftrace_notrace, incorrect functions may be traced, or not 
> traced.
> 
> But this bug that the patch fixes is not a critical bug. It should 
> not cause any stability problems with the kernel. The bug will only 
> produce undesirable traces.
> 
> But on the other hand, adding that last patch should not cause any 
> stability issues as well. And it makes the complex function cleaner 
> and more importantly, by coupling the ENABLED flag of the record 
> with the enabling (or disabling) of the tracing of the function the 
> record represents, makes the code more robust.

ok, agreed.

> The following patches are in:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
> 
>       branch: tip/urgent
> 
> 
> Steven Rostedt (3):
>       ftrace: fix set_ftrace_filter
>       ftrace: make filtered functions effective on setting
>       ftrace: fix dyn ftrace filter selection
> 
> ----
>  kernel/trace/ftrace.c |  113 +++++++++++++++++++++++-------------------------
>  1 files changed, 54 insertions(+), 59 deletions(-)

pulled into tip/tracing/urgent, thanks Steve!

	Ingo

      parent reply	other threads:[~2008-11-19  8:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19  5:34 Steven Rostedt
2008-11-19  5:34 ` [PATCH 1/3] ftrace: fix set_ftrace_filter Steven Rostedt
2008-11-19  5:34 ` [PATCH 2/3] ftrace: make filtered functions effective on setting Steven Rostedt
2008-11-19  5:34 ` [PATCH 3/3] ftrace: fix dyn ftrace filter selection Steven Rostedt
2008-11-19  8:01 ` 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=20081119080124.GB1078@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®