diff options
| author | David Carlier <devnexen@gmail.com> | 2026-02-11 21:52:13 +0000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-12 07:28:02 -1000 |
| commit | 11fece49e956ef97318177f5af15a84317594244 (patch) | |
| tree | b3aada00b45f8e8144c444c46c5995bb609ebecf /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 37a93dd5c49b5fda807fd204edf2547c3493319c (diff) | |
tools/sched_ext: scx_flatcg: zero-initialize stats counter array
The local cnts array in read_stats() is not initialized before being
accumulated into per-CPU stats, which may lead to reading garbage
values. Zero it out with memset alongside the existing stats array
initialization.
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
