summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2021-03-02 09:49:28 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-03-04 15:45:17 +0100
commit69268094a1c16f3f44b369f9da78ce98bab5f244 (patch)
tree34e4db4f9a63fd88ed956b28ba343f87d820863a /kernel/trace
parenttracing: Remove duplicate declaration from trace.h (diff)
downloadlinux-69268094a1c16f3f44b369f9da78ce98bab5f244.tar.xz
linux-69268094a1c16f3f44b369f9da78ce98bab5f244.zip
tracing: Fix help text of TRACEPOINT_BENCHMARK in Kconfig
It's "cond_resched()" not "cond_sched()". Link: https://lkml.kernel.org/r/1863065.aFVDpXsuPd@devpool47 Signed-off-by: Rolf Eike Beer <eb@emlix.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 9c266b93cbc0..7fa82778c3e6 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -694,7 +694,7 @@ config TRACEPOINT_BENCHMARK
help
This option creates the tracepoint "benchmark:benchmark_event".
When the tracepoint is enabled, it kicks off a kernel thread that
- goes into an infinite loop (calling cond_sched() to let other tasks
+ goes into an infinite loop (calling cond_resched() to let other tasks
run), and calls the tracepoint. Each iteration will record the time
it took to write to the tracepoint and the next iteration that
data will be passed to the tracepoint itself. That is, the tracepoint