summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2023-05-28 08:17:42 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-05-29 04:15:46 +0300
commita2d910f02231f33118647fc438157ae69c073f89 (patch)
tree0fa929835374eb979fd7da76241a027d50455e9d /Documentation
parentac9d2cb1d5f8e22235c399338504dadc87d14e74 (diff)
downloadlinux-a2d910f02231f33118647fc438157ae69c073f89.tar.xz
tracing: Have function_graph selftest call cond_resched()
When all kernel debugging is enabled (lockdep, KSAN, etc), the function graph enabling and disabling can take several seconds to complete. The function_graph selftest enables and disables function graph tracing several times. With full debugging enabled, the soft lockup watchdog was triggering because the selftest was running without ever scheduling. Add cond_resched() throughout the test to make sure it does not trigger the soft lockup detector. Link: https://lkml.kernel.org/r/20230528051742.1325503-6-rostedt@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions