On Wed, 16 Oct 2019 09:48:53 -0400 Steven Rostedt rostedt@goodmis.org 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;