aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYun Zhou <[email protected]>2021-06-26 11:21:56 +0800
committerSteven Rostedt (VMware) <[email protected]>2021-06-26 09:19:16 -0400
commit6a2cbc58d6c9d90cd74288cc497c2b45815bc064 (patch)
tree9d63849121552177318f26887699da1feedcc902 /tools/perf/scripts/python/export-to-sqlite.py
parentd3b16034a24a112bb83aeb669ac5b9b01f744bb7 (diff)
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/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: 6d2289f3faa7 ("tracing: Make trace_seq_putmem_hex() more robust") Signed-off-by: Yun Zhou <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions