summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTao Cui <cuitao@kylinos.cn>2026-10-14 21:13:24 +0800
committerTejun Heo <tj@kernel.org>2026-10-14 08:16:53 -1000
commitcce3a39cebca074e0994e2fbce7a6062b80e42d8 (patch)
tree62b83448182d2294aa6dbff54535387bc139f693 /tools/perf/scripts/python
parentbb905626a48c0da2268030871b1cb1a1e7cc78fd (diff)
selftests/sched_ext: Bound exit waits
exit, prog_run and hotplug wait for the scheduler under test to exit with no time bound; a scheduler that never exits hangs the runner instead of failing the test. Bound the waits to ~10s (iteration-based) with the new SCX_TIMED_WAIT_UEI() helper, which stretches on a loaded system instead of failing early. exit.c returns straight from its timeout path, which would leave the link and the skeleton alive and the unexited scheduler attached for the rest of the runner run - every later test would then fail to attach with EBUSY and bury the real failure. Destroy both before failing, like prog_run and hotplug already destroy the link. Signed-off-by: Tao Cui <cuitao@kylinos.cn> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions