Message ID | 20240605205337.6115e9a5@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 24311962484385fa3a06c4fc1f2864b613df5af6 |
Headers | show |
Series | ftrace: Add back ftrace_update_trampoline() to ftrace_update_pid_func() | expand |
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index da7e6abf48b4..897d7541041c 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -402,6 +402,7 @@ static void ftrace_update_pid_func(void) if (op->flags & FTRACE_OPS_FL_PID) { op->func = ftrace_pids_enabled(op) ? ftrace_pid_func : op->saved_func; + ftrace_update_trampoline(op); } } while_for_each_ftrace_op(op);