summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-12-18 10:23:06 -0800
committerBoqun Feng <boqun.feng@gmail.com>2025-02-05 07:14:39 -0800
commit7acc2d90151fe6f5d8409df44e10cd24a0296e9f (patch)
tree4028ea84e0f59c4c95fb4d78380c0baa052b516e /tools/perf/scripts/python/gecko.py
parent65e6ff0f31184bd9ce01c7bfef28558e6b70f96a (diff)
rcutorture: Make cur_ops->format_gp_seqs take buffer length
The Tree and Tiny implementations of rcutorture_format_gp_seqs() use hard-coded constants for the length of the buffer that they format into. This is of course an accident waiting to happen, so this commit therefore makes them take a length argument. The rcutorture calling code uses ARRAY_SIZE() to safely compute this new argument. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions