[PATCH -tip v10 7/7] ftrace: Introduce FTRACE_OPS_FL_SELF_FILTER for ftrace-kprobe

Steven Rostedt rostedt@goodmis.org
Fri May 9 03:44:00 GMT 2014


On Fri, 09 May 2014 12:11:29 +0900
Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> wrote:

> > Hmm, I wonder if I should add the check for:
> > 
> > 	!(op->flags & FTRACE_OPS_FL_STUB)
> > 
> > here too? But that's another change that I'll do.
> 
> Indeed. BTW, should I change ftrace_ops_control_func() too?
> 

Currently there's no users of it, so I guess it could wait. Otherwise
we are adding a check that will never be true in an extreme hot path.

-- Steve



More information about the Systemtap mailing list