diff options
| author | Tao Cui <cuitao@kylinos.cn> | 2026-10-14 21:13:23 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-14 08:15:59 -1000 |
| commit | bb905626a48c0da2268030871b1cb1a1e7cc78fd (patch) | |
| tree | 1a4712f301829112ee9a163786763483957c281f /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 0aeb67fee3cae416fa200d458a3010516ed426e9 (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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
