diff options
| author | Cheng-Yang Chou <yphbchou0911@gmail.com> | 2026-03-26 09:48:27 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-25 16:32:01 -1000 |
| commit | 3eb8f022919187e2fe786f677569d2bd5a0b1915 (patch) | |
| tree | 14ddf06f838af16c2f1d236ba46588b55a21d385 /tools/perf/scripts/python | |
| parent | 3d6379196d5fc9698b683ec40ffd9452d2183c4a (diff) | |
sched_ext: Fix missing SCX_EV_SUB_BYPASS_DISPATCH aggregation in scx_read_events()
025b1bd41965 introduced SCX_EV_SUB_BYPASS_DISPATCH to track scheduling
of bypassed descendant tasks, and correctly increments it per-CPU and
displays it in sysfs and dump output. However, scx_read_events() which
aggregates per-CPU counters into a summary was not updated to include
this event, causing it to always read as zero in sysfs, in debug dumps,
and via the scx_bpf_events() kfunc.
Add the missing scx_agg_event() call for SCX_EV_SUB_BYPASS_DISPATCH.
Fixes: 025b1bd41965 ("sched_ext: Implement hierarchical bypass mode")
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
