aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2024-03-04 22:34:33 -0500
committerSteven Rostedt (Google) <[email protected]>2024-03-06 13:27:26 -0500
commit095fe4891282be510af0db1b03587b512c0de31d (patch)
treee1acce266710a4ae05b849543af2ca4e0c8dd56e /tools/perf/scripts/python/export-to-postgresql.py
parent6f42249fecb94dfb6514ed241475f748c03d62fb (diff)
tracing: Limit trace_marker writes to just 4K
Limit the max print event of trace_marker to just 4K string size. This must also be less than the amount that can be held by a trace_seq along with the text that is before the output (like the task name, PID, CPU, state, etc). As trace_seq is made to handle large events (some greater than 4K). Make the max size of a trace_marker write event be 4K which is guaranteed to fit in the trace_seq buffer. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Suggested-by: Linus Torvalds <[email protected]> Reviewed-by: Mathieu Desnoyers <[email protected]> Reviewed-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions