Steven Rostedt (Google) a2d910f022 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>
2023-05-28 21:15:46 -04:00
..
2023-04-28 16:11:26 -07:00
2023-04-28 15:57:53 -07:00
2022-06-03 14:05:34 -07:00
2023-05-05 13:11:02 -07:00
2023-03-29 06:52:09 -04:00
2023-04-28 15:57:53 -07:00
2021-06-25 19:57:24 -04:00