public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: FTRACE_WARN_ON((rec->flags & ~FTRACE_FL_MASK) == 0))
Date: Wed, 28 Aug 2013 14:27:10 -0400	[thread overview]
Message-ID: <20130828182710.GA14103@redhat.com> (raw)
In-Reply-To: <20130828111746.35369b84@gandalf.local.home>

On Wed, Aug 28, 2013 at 11:17:46AM -0400, Steven Rostedt wrote:
 
 > Dave, can you add this patch to your kernels you test, and that way,
 > the next time you hit this error, I want to see if this warning was
 > triggered too.
 > 
 > If we did not unregister the ftrace ops but free the filters, it will
 > cause the accounting to get out of whack.
 > 
 > Thanks!
 > 
 > -- Steve
 > 
 > diff --git a/kernel/trace/trace_event_perf.c b/kernel/trace/trace_event_perf.c
 > index 80c36bc..05167bb 100644
 > --- a/kernel/trace/trace_event_perf.c
 > +++ b/kernel/trace/trace_event_perf.c
 > @@ -306,6 +306,7 @@ static int perf_ftrace_function_unregister(struct perf_event *event)
 >  {
 >  	struct ftrace_ops *ops = &event->ftrace_ops;
 >  	int ret = unregister_ftrace_function(ops);
 > +	WARN_ON(ret);
 >  	ftrace_free_filter(ops);
 >  	return ret;
 >  }

I hit the WARN in the subject, and then this new one immediately afterwards.

	Dave.


  reply	other threads:[~2013-08-28 18:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28  3:46 FTRACE_WARN_ON((rec->flags & ~FTRACE_FL_MASK) == 0)) Dave Jones
2013-08-28 13:54 ` Steven Rostedt
2013-08-28 13:58   ` Steven Rostedt
2013-08-28 15:17     ` Steven Rostedt
2013-08-28 18:27       ` Dave Jones [this message]
2013-08-28 18:29         ` Dave Jones
2013-08-28 19:27           ` Steven Rostedt
2013-09-30 17:12             ` Dave Jones
2013-10-01  3:56               ` Steven Rostedt
2013-10-01  4:20                 ` Dave Jones
2013-10-01 12:28                   ` Steven Rostedt
2013-10-02 14:16                     ` Dave Jones
2013-10-02 16:43                       ` Steven Rostedt
2013-10-02 16:53                         ` Dave Jones
2013-08-28 14:31 ` Steven Rostedt
2013-08-28 16:23   ` Dave Jones
2013-08-28 16:50     ` Vince Weaver
2013-08-28 16:57       ` Steven Rostedt
2013-08-28 17:33         ` Dave Jones
  -- strict thread matches above, loose matches on Subject: below --
2014-01-30  4:16 Dave Jones
2014-01-30  4:50 ` Steven Rostedt
2014-01-30  5:32   ` Dave Jones
2014-01-30 13:55     ` Steven Rostedt

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=20130828182710.GA14103@redhat.com \
    --to=davej@redhat.com \
    --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