diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-18 00:04:25 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-19 21:11:04 -1000 |
| commit | d327796bd05d60500951edf5560a10bbff978d5b (patch) | |
| tree | 853fe227ab2878727434bfda0d5d82e5ac14bddc /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 01cad830436468bb9bdc900a64ac2c38d152c917 (diff) | |
tools/sched_ext: Add SCX_OPS_CID_OPEN for cid-form schedulers
SCX_OPS_OPEN() clears compat-gated ops fields which the running kernel
lacks. The clears dereference cpu-form member names and compile for
cid-form skeletons only because both ops structs currently name their
cgroup ops identically, which an upcoming rename will end. No load-time
fix-up can apply to a cid-form scheduler anyway as the cid form postdates
every compat-gated op.
Factor the skeleton open path out of SCX_OPS_OPEN() and add
SCX_OPS_CID_OPEN() which uses only that shared part. Switch scx_qmap, the
only cid-form scheduler, over.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
