tracing: Add missing spaces in trace_print_hex_seq()
authorKen Lin <lyenting@google.com>
Wed, 26 Apr 2023 03:22:57 +0000 (03:22 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 26 Apr 2023 13:10:02 +0000 (09:10 -0400)
commitadace4408252cc1c9913958d71e81a688af90a30
treeade7d7361676812a4b56adbc9c7f180d51c4c4c2
parent7c339fb4d8577792378136c15fde773cfb863cb8
tracing: Add missing spaces in trace_print_hex_seq()

If the buffer length is larger than 16 and concatenate is set to false,
there would be missing spaces every 16 bytes.
Example:
  Before: c5 11 10 50 05 4d 31 40 00 40 00 40 00 4d 31 4000 40 00
  After:  c5 11 10 50 05 4d 31 40 00 40 00 40 00 4d 31 40 00 40 00

Link: https://lore.kernel.org/linux-trace-kernel/20230426032257.3157247-1-lyenting@google.com
Signed-off-by: Ken Lin <lyenting@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_output.c