aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-04-03 12:10:28 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-04-27 11:03:53 -0700
commite5a971d76d701dbff9e5dbaa84dc9e8c3081a867 (patch)
tree90c379f06273b82cee257aab6ac20848e3a45e62 /kernel/trace/Kconfig
parentrcu-tasks: Allow standalone use of TASKS_{TRACE_,}RCU (diff)
downloadlinux-dev-e5a971d76d701dbff9e5dbaa84dc9e8c3081a867.tar.xz
linux-dev-e5a971d76d701dbff9e5dbaa84dc9e8c3081a867.zip
ftrace: Use synchronize_rcu_tasks_rude() instead of ftrace_sync()
This commit replaces the schedule_on_each_cpu(ftrace_sync) instances with synchronize_rcu_tasks_rude(). Suggested-by: Steven Rostedt <rostedt@goodmis.org> Cc: Ingo Molnar <mingo@redhat.com> [ paulmck: Make Kconfig adjustments noted by kbuild test robot. ] Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 402eef84c859..ae69010d521a 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -158,6 +158,7 @@ config FUNCTION_TRACER
select CONTEXT_SWITCH_TRACER
select GLOB
select TASKS_RCU if PREEMPTION
+ select TASKS_RUDE_RCU
help
Enable the kernel to trace every kernel function. This is done
by using a compiler feature to insert a small, 5-byte No-Operation