aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-04-29 08:40:10 -1000
committerTejun Heo <tj@kernel.org>2025-04-29 08:40:10 -1000
commitc201ea1578d3b9eed29494ba3dc2abbccf62c4c8 (patch)
treeb984dcf28548461c7bad7b92917a5ae7b28807cf /scripts/lib/kdoc/kdoc_files.py
parentsched_ext: Factor out scx_read_events() (diff)
downloadwireguard-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_files.py')
0 files changed, 0 insertions, 0 deletions