diff options
author | 2025-04-29 08:40:10 -1000 | |
---|---|---|
committer | 2025-04-29 08:40:10 -1000 | |
commit | c201ea1578d3b9eed29494ba3dc2abbccf62c4c8 (patch) | |
tree | b984dcf28548461c7bad7b92917a5ae7b28807cf /scripts/lib/kdoc/kdoc_re.py | |
parent | sched_ext: Factor out scx_read_events() (diff) | |
download | wireguard-linux-c201ea1578d3b9eed29494ba3dc2abbccf62c4c8.tar.xz wireguard-linux-c201ea1578d3b9eed29494ba3dc2abbccf62c4c8.zip |
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/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions