[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150624145451.GC17352@kroah.com>
Date: Wed, 24 Jun 2015 07:54:51 -0700
From: Greg KH <greg@...ah.com>
To: Luis Henriques <luis.henriques@...onical.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Vince Weaver <vincent.weaver@...ne.edu>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
stable@...r.kernel.org
Subject: Re: [GIT PULL] tracing: Have filter check for balanced ops
On Mon, Jun 22, 2015 at 03:49:40PM +0100, Luis Henriques wrote:
> On Mon, Jun 22, 2015 at 10:17:28AM -0400, Steven Rostedt wrote:
> ...
> > To make this patch simpler, just move the "cnt--;" above the OP_AND and
> > OP_OR check and remove the "cnt--;" from that if statement.
> >
> > But yeah, this looks fine. You can test it with the example in the
> > change log.
> >
> > echo "((dev==1)blocks==2)" > events/ext4/ext4_truncate_exit/filter
> >
> > And see if it gives an error other than "parse_error: No error".
> >
> > -- Steve
>
> Thanks Steven, I've done a quick test with a 3.16-ckt kernel and I can
> confirm that the modified patch (i.e. including your suggestion) fixes
> the problem.
>
> I'm attaching the patch below and CC'ing stable mailing-list.
>
> Cheers,
> --
> Luís
Thanks, I've used this patch for 3.10 and 3.14.
greg k-h
--
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