diff options
author | Steven Rostedt (Google) <[email protected]> | 2023-05-28 01:17:39 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-05-28 21:15:17 -0400 |
commit | 9da705d432a07927526005a0688d81fbbf30e349 (patch) | |
tree | 73abdfa23b84c1c414fcec0ecbfbbf3cfcaa5893 /tools/perf/scripts/python/netdev-times.py | |
parent | e8352cf5778c53b80fdcee086278b2048ddb8f98 (diff) |
tracing: Have tracer selftests call cond_resched() before running
As there are more and more internal selftests being added to the Linux
kernel (KSAN, lockdep, etc) the selftests are taking longer to run when
these are enabled. Add a cond_resched() to the calling of
do_run_tracer_selftest() to force a schedule if NEED_RESCHED is set,
otherwise the soft lockup watchdog may trigger on boot up.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions