diff options
| author | Tejun Heo <tj@kernel.org> | 2026-09-19 04:08:20 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-09-19 04:09:37 -1000 |
| commit | d781d1b78acf547bafeb1592e8ba4020dce515c6 (patch) | |
| tree | cd005293ea0d08446b48a5763d4ca0dcb14b9a8a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3bd46666cfe51e2bd333fb46a0234694ca594230 (diff) | |
| download | linux-d781d1b78acf547bafeb1592e8ba4020dce515c6.tar.gz linux-d781d1b78acf547bafeb1592e8ba4020dce515c6.zip | |
selftests/sched_ext: Check the cmask cid-form ops.enable() receives
cid-form ops.enable() now hands the task's cmask to the scheduler and
set_cmask() repeats it right after. Add a cid-form selftest that checks both
against p->cpus_ptr, that they match each other, that the initial
set_cmask() lands before set_weight() and before the task first becomes
runnable, and that set_cmask() never precedes enable(), across class-switch
enables, fork-path enables and live affinity changes.
v2: Mismatch details returned through a caller-local struct instead of
globals, alloc_words validated in the header check, loop bounded by nr_cids
directly (Andrea Righi).
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
