Re: [PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-17 Thread Joel Fernandes
On Sat, Jun 16, 2018 at 10:43:29PM +0900, Masami Hiramatsu wrote: > On Thu, 14 Jun 2018 18:01:13 -0700 > Joel Fernandes wrote: > > > From: "Joel Fernandes (Google)" > > > > Currently, trace event triggers are called regardless of if the event > > filter checks pass or fail. Thus if one were to

Re: [PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-16 Thread Masami Hiramatsu
On Thu, 14 Jun 2018 18:01:13 -0700 Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > Currently, trace event triggers are called regardless of if the event > filter checks pass or fail. Thus if one were to enable event triggers > and filters at the same time, then the triggers will alw

Re: [PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-15 Thread Joel Fernandes
On Fri, Jun 15, 2018 at 12:16:03PM -0400, Steven Rostedt wrote: > On Thu, 14 Jun 2018 18:01:13 -0700 > Joel Fernandes wrote: > > > From: "Joel Fernandes (Google)" > > > > Currently, trace event triggers are called regardless of if the event > > filter checks pass or fail. Thus if one were to en

Re: [PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-15 Thread Steven Rostedt
On Thu, 14 Jun 2018 18:01:13 -0700 Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > Currently, trace event triggers are called regardless of if the event > filter checks pass or fail. Thus if one were to enable event triggers > and filters at the same time, then the triggers will alw

[PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-14 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Currently, trace event triggers are called regardless of if the event filter checks pass or fail. Thus if one were to enable event triggers and filters at the same time, then the triggers will always be called even if the filter checks didn't pass. This is a probl