diff options
author | Tejun Heo <tj@kernel.org> | 2025-04-29 08:40:10 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-04-29 08:40:10 -1000 |
commit | c201ea1578d3b9eed29494ba3dc2abbccf62c4c8 (patch) | |
tree | b984dcf28548461c7bad7b92917a5ae7b28807cf /scripts/generate_rust_analyzer.py | |
parent | 3a8facc42415a35a514037656815dbe63e2de33e (diff) |
sched_ext: Move event_stats_cpu into scx_sched
The event counters are going to become per scheduler instance. Move
event_stats_cpu into scx_sched.
- [__]scx_add_event() are updated to take @sch. While at it, add missing
parentheses around @cnt expansions.
- scx_read_events() is updated to take @sch.
- scx_bpf_events() accesses scx_root under RCU read lock.
v2: - Replace stale scx_bpf_get_event_stat() reference in a comment with
scx_bpf_events().
- Trivial goto label rename.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Acked-by: Changwoo Min <changwoo@igalia.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions