Skip to content
Commit 6a2cbc58 authored by Yun Zhou's avatar Yun Zhou Committed by Steven Rostedt (VMware)
Browse files

seq_buf: Make trace_seq_putmem_hex() support data longer than 8

Since the raw memory 'data' does not go forward, it will dump repeated
data if the data length is more than 8. If we want to dump longer data
blocks, we need to repeatedly call macro SEQ_PUT_HEX_FIELD. I think it
is a bit redundant, and multiple function calls also affect the performance.

Link: https://lore.kernel.org/lkml/20210625122453.5e2fe304@oasis.local.home/
Link: https://lkml.kernel.org/r/20210626032156.47889-2-yun.zhou@windriver.com



Cc: stable@vger.kernel.org
Fixes: 6d2289f3 ("tracing: Make trace_seq_putmem_hex() more robust")
Signed-off-by: default avatarYun Zhou <yun.zhou@windriver.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent d3b16034
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment