summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTao Cui <cuitao@kylinos.cn>2026-10-14 21:13:23 +0800
committerTejun Heo <tj@kernel.org>2026-10-14 08:15:59 -1000
commitbb905626a48c0da2268030871b1cb1a1e7cc78fd (patch)
tree1a4712f301829112ee9a163786763483957c281f /tools/perf/scripts/python
parent0aeb67fee3cae416fa200d458a3010516ed426e9 (diff)
selftests/sched_ext: Add SCX_ASSERT_ALIVE and adopt it
A scheduler that dies mid-test freezes the state that the test is about to assert on, so the assertions can pass vacuously. Add SCX_ASSERT_ALIVE(), which fails the test with the recorded exit kind, exit code and message, and use it in maximal, create_dsq and init_enable_count. Existing open-coded checks keep their goto-based cleanup and are not converted. init_enable_count also clears the uei between its two attach cycles, since the clean unregister of the first cycle would otherwise trip the check of the second. 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