summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorCheng-Yang Chou <yphbchou0911@gmail.com>2026-09-22 23:50:00 +0800
committerTejun Heo <tj@kernel.org>2026-09-22 11:29:57 -1000
commit6b8d2bc44fbb6d232382141ae70d4ecc28a9dc36 (patch)
tree1b42171ed18d123a6ac83c473ba85af92ba9e6fd /tools/perf/scripts/python/task-analyzer.py
parentb9e602f30bea2847a0c0319c5a6e0bb73d96cd7b (diff)
selftests/sched_ext: Fix rt_stall runner abort
rt_stall uses ksft_exit_fail() and friends, which call exit(), so a single rt_stall failure or a fork() error kills the runner and skips the remaining tests. Drop the ksft_* usage, report the handshake failure back from wait_ready(), and let run() return SCX_TEST_FAIL so the runner records the failure and moves on. Since the test now returns rather than exiting, route every path after the forks through one cleanup label, so a failure cannot leave the SCHED_FIFO task spinning on CORE_ID for the tests that follow. Also destroy the struct_ops link before checking the exit kind, so the link is released when that check fails. Fixes: be621a76341c ("selftests/sched_ext: Add test for sched_ext dl_server") Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions