summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-07-01 10:28:48 -1000
committerTejun Heo <tj@kernel.org>2026-07-01 10:40:51 -1000
commitdaf8e166ba59ddf1dacb080228cb42e5d1de30ae (patch)
tree54e409ccec98c68d4a0d9c5fe3e97aa62c5caab7 /tools/perf/scripts/python/export-to-sqlite.py
parent305f86e8a730a850bf6fd3fb88a6ae7386e0d5df (diff)
sched_ext: Split sub-scheduler implementation into sub.c
The sub-scheduler implementation has grown and will continue to expand. Move the sub-scheduler functions from ext.c into a new kernel/sched/ext/sub.c. sub.h holds the prototypes and the !CONFIG_EXT_SUB_SCHED no-op stubs. scx_dispatch_sched() is shared: balance_one() in ext.c and the scx_bpf_sub_dispatch() kfunc in sub.c both call it, and the latter re-enters it as sub-scheduler dispatch nests. It moves into sub.h as a static __always_inline so both callers keep it inlined and per-level stack stays bounded across the recursion. The event macros it uses move to internal.h. No functional change. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions