Re: [PATCHv2] tracing: let user specify tracing_thresh after selecting function_graph

From: Steven Rostedt
Date: Tue Jul 15 2014 - 09:04:55 EST


On Tue, 15 Jul 2014 13:27:19 +0400
Stanislav Fomichev <stfomichev@xxxxxxxxxxxxxx> wrote:

> Hi Steven,
>
> Did you have some spare time to check why I'm getting triple fault with the
> jump labels inside function tracers? Or will you just pull my another
> patch without them?

No, I don't want the overhead of that check if it isn't needed. You
don't need to put a jump label in there either.

Just create another ftrace_ops function that we can update that does
the check when the function is needed. Look at what happens when
someone sets the set_ftrace_pid file.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/