summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-09-19 04:08:20 -1000
committerTejun Heo <tj@kernel.org>2026-09-19 04:09:37 -1000
commitd781d1b78acf547bafeb1592e8ba4020dce515c6 (patch)
treecd005293ea0d08446b48a5763d4ca0dcb14b9a8a /tools/perf/scripts/python/bin/stackcollapse-record
parent3bd46666cfe51e2bd333fb46a0234694ca594230 (diff)
downloadlinux-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