diff options
| author | 2026-02-11 21:52:13 +0000 | |
|---|---|---|
| committer | 2026-02-12 07:28:02 -1000 | |
| commit | 11fece49e956ef97318177f5af15a84317594244 (patch) | |
| tree | b3aada00b45f8e8144c444c46c5995bb609ebecf /tools/perf/scripts/python/stackcollapse.py | |
| parent | Merge tag 'net-next-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (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/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
