]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Add error logging for dsq creation failures
authorGeorge Guo <guodongtai@kylinos.cn>
Fri, 9 Jan 2026 16:12:14 +0000 (00:12 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 12 Jan 2026 18:44:11 +0000 (08:44 -1000)
commit2f8d489897ae7183b535b1881478b2c6b66d520b
treea752c44ded5e367988ab4fa8edee4abd1cdecf94
parent714d81423e9948fcdb4e3eb948ec188ffd2ac131
sched_ext: Add error logging for dsq creation failures

Add scx_bpf_error() calls when scx_bpf_create_dsq() fails in multiple
schedulers to improve debuggability:

- scx_central.bpf.c: central_init()
- scx_flatcg.bpf.c: fcg_cgroup_init() and fcg_init()
- scx_qmap.bpf.c: qmap_init()

Signed-off-by: George Guo <guodongtai@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/scx_central.bpf.c
tools/sched_ext/scx_flatcg.bpf.c
tools/sched_ext/scx_qmap.bpf.c