Loading kernel/trace/ftrace.c +2 −2 Original line number Diff line number Diff line Loading @@ -3104,8 +3104,8 @@ __unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, continue; } hlist_del(&entry->node); call_rcu(&entry->rcu, ftrace_free_entry_rcu); hlist_del_rcu(&entry->node); call_rcu_sched(&entry->rcu, ftrace_free_entry_rcu); } } __disable_ftrace_function_probe(); Loading kernel/trace/trace.c +2 −1 Original line number Diff line number Diff line Loading @@ -704,7 +704,7 @@ __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) { struct ring_buffer *buf = tr->buffer; struct ring_buffer *buf; if (trace_stop_count) return; Loading @@ -719,6 +719,7 @@ update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) arch_spin_lock(&ftrace_max_lock); buf = tr->buffer; tr->buffer = max_tr.buffer; max_tr.buffer = buf; Loading Loading
kernel/trace/ftrace.c +2 −2 Original line number Diff line number Diff line Loading @@ -3104,8 +3104,8 @@ __unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, continue; } hlist_del(&entry->node); call_rcu(&entry->rcu, ftrace_free_entry_rcu); hlist_del_rcu(&entry->node); call_rcu_sched(&entry->rcu, ftrace_free_entry_rcu); } } __disable_ftrace_function_probe(); Loading
kernel/trace/trace.c +2 −1 Original line number Diff line number Diff line Loading @@ -704,7 +704,7 @@ __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) { struct ring_buffer *buf = tr->buffer; struct ring_buffer *buf; if (trace_stop_count) return; Loading @@ -719,6 +719,7 @@ update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) arch_spin_lock(&ftrace_max_lock); buf = tr->buffer; tr->buffer = max_tr.buffer; max_tr.buffer = buf; Loading