Thread (15 messages) 15 messages, 5 authors, 2019-10-17

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

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2019-10-16 14:25:09
Also in: linux-kselftest, lkml

On Wed, 16 Oct 2019 09:48:53 -0400
Steven Rostedt [off-list ref] wrote:
quoted hunk ↗ jump to hunk
@@ -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;
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help