summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorZicheng Qu <quzicheng315@gmail.com>2026-05-27 12:38:50 +0300
committerTejun Heo <tj@kernel.org>2026-05-27 22:12:38 +0300
commitb565a73baec275a3f4b49c1300ab396daf4a748e (patch)
treeb18f3196df6fd43f483a9ff5e343014113119189 /include/uapi
parent0c1a9dce208b4dc265925898e5da98934f7f9266 (diff)
downloadlinux-b565a73baec275a3f4b49c1300ab396daf4a748e.tar.xz
tools/sched_ext: Fix scx_show_state per-scheduler state reads
scx_show_state.py still reads scx_aborting and scx_bypass_depth as global symbols. Those symbols no longer exist after the state was moved into struct scx_sched, so the drgn script fails when it reaches either field. Read aborting and bypass_depth from scx_root instead. This preserves the script's current root-scheduler view: with sub-scheduler support, the reported values are for the root scheduler and sub-schedulers are not enumerated. Fixes: 5c8d98a1b4de ("sched_ext: Move bypass state into scx_sched") Fixes: c1743da43cf5 ("sched_ext: Move aborting flag to per-scheduler field") Signed-off-by: Zicheng Qu <quzicheng@huawei.com> Reviewed-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions