diff options
| author | Pat Somaru <patso@likewhatevs.io> | 2026-07-10 01:59:11 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-10 06:25:24 -1000 |
| commit | cbcda14b12fbc8c89546bfe4568df9b984238687 (patch) | |
| tree | 093b9be3a03351d9b183856629a16a1efd79674a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3d1519011e395ea96c7fbc5ced35b49cfe60d93e (diff) | |
sched_ext: Add tracepoint for scheduler exit
sched_ext schedulers have state in BPF programs and kernel. scx_dump
provides kernel state and BPF program state on error, but this is static
in what it can provide.
Add a sched_ext_exit tracepoint in scx_claim_exit() so that BPF programs
can dynamically inspect scheduler specific state at the moment of exit.
Pass the exiting scx_sched so attached programs can read its state, and,
since exits propagate through a hierarchy of sub-schedulers, identify
which scheduler each event belongs to.
Signed-off-by: Pat Somaru <patso@likewhatevs.io>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
