summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKuba Piecuch <jpiecuch@google.com>2026-11-23 13:55:25 +0000
committerTejun Heo <tj@kernel.org>2026-11-24 09:47:29 -1000
commited42314d3e76b3142a2bb656e53e5b1d68c4a6ae (patch)
treee122389fcd723718361cbf773355519e02261059 /tools/perf/scripts/python/stackcollapse.py
parent4fec59cdc2f3cdcdbb71d665b53daf384b36d60d (diff)
selftests/sched_ext: Add unlocked_kfunc test
Add the unlocked_kfunc test to verify verifier-time restrictions on the SCX_KF_ALLOW_UNLOCKED kfuncs. The valid cpu-form and cid-form schedulers verify that ops.init() and ops.exit() can call scx_bpf_create_dsq(), scx_bpf_dsq_move(), scx_bpf_dsq_reenq_task(), and scx_bpf_select_cpu_dfl(). They also verify that ops.dump() can call scx_bpf_dump() and that ops.init_cids() can call scx_bpf_cid_override(). The two negative schedulers verify that the verifier rejects scx_bpf_dsq_move() from ops.dump() and scx_bpf_create_dsq() from ops.init_cids() with -EACCES. Signed-off-by: Kuba Piecuch <jpiecuch@google.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions