diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-07-24 19:16:50 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-07-30 13:52:47 -0400 |
commit | 9abc291812d784bd4a26c01af4ebdbf9f2dbf0bb (patch) | |
tree | bbe239c5ca25cf1472799a0aa56ef5bafc99dbcd /scripts/gdb/linux/mm.py | |
parent | 730dbb8ddac6b92573658c3cb03555df1bdf95aa (diff) |
batman-adv: tracing: Use the new __vstring() helper
Instead of open coding a __dynamic_array() with a fixed length (which
defeats the purpose of the dynamic array in the first place). Use the new
__vstring() helper that will use a va_list and only write enough of the
string into the ring buffer that is needed.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Marek Lindner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Simon Wunderlich <[email protected]>
Cc: Antonio Quartulli <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Sven Eckelmann <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions