Re: [PATCH v3 1/3] ftrace: Introduce PERMANENT ftrace_ops flag

From: Steven Rostedt
Date: Wed Oct 16 2019 - 10:25:09 EST


On Wed, 16 Oct 2019 09:48:53 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> @@ -6796,10 +6798,12 @@ ftrace_enable_sysctl(struct ctl_table *table, int write,
>
> ret = proc_dointvec(table, write, buffer, lenp, ppos);

As you just stated on IRC, the update to ftrace_enabled gets updated in
the above routine.

I forgot about this :-/ (Senior moment)

I guess there's nothing to worry about here.

-- Steve



>
> - if (ret || !write || (last_ftrace_enabled == !!ftrace_enabled))
> + if (ret || !write || (ftrace_enabled == !!sysctl_ftrace_enabled))
> goto out;
>