diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-07-05 18:45:00 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-07-15 17:44:41 -0400 |
commit | 0ba4c9dede106c3e7ad2bb7e23eaa1393adc43a0 (patch) | |
tree | a84631bfc6984a2e9f87928f2c7ef53f46a02336 /scripts/gdb/linux/mm.py | |
parent | 1b756b372fbf6ae5bcbbb4a5b7aa271483902fa5 (diff) |
xhci: 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: Mathias Nyman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg Kroah-Hartman <[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