diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-07-05 18:44:55 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-07-15 17:44:40 -0400 |
commit | 8d7f5df0fb4eaaef85c6b80caeafd5bd544159a5 (patch) | |
tree | 74ecd0679e987961b21403a5489b537a0856b5fa /scripts/gdb/linux/mm.py | |
parent | 0563231f93c6d1f582b168a47753b345c1e20d81 (diff) |
tracing/IB/hfi1: 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: Dennis Dalessandro <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Leon Romanovsky <[email protected]>
Cc: [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