diff options
| author | Paul E. McKenney <[email protected]> | 2024-12-18 18:23:06 +0000 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2025-02-05 15:14:39 +0000 |
| commit | 7acc2d90151fe6f5d8409df44e10cd24a0296e9f (patch) | |
| tree | 4028ea84e0f59c4c95fb4d78380c0baa052b516e /tools/perf/scripts/python/check-perf-trace.py | |
| parent | rcutorture: Add ftrace-compatible timestamp to GP# failure/close-call output (diff) | |
| download | kernel-7acc2d90151fe6f5d8409df44e10cd24a0296e9f.tar.gz kernel-7acc2d90151fe6f5d8409df44e10cd24a0296e9f.zip | |
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 <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
