diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-12-12 19:04:22 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-12-18 23:14:16 -0500 |
commit | 9482341d9bdaf194552673b6c1c81a824e985e7f (patch) | |
tree | 1b567caf21944953eb41927326f77754bdc986e9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 40fc60e36c60ba85b2974e507b67df40c94e9578 (diff) |
tracing: Have trace_marker break up by lines by size of trace_seq
If a trace_marker write is bigger than what trace_seq can hold, then it
will print "LINE TOO BIG" message and not what was written.
Instead, check if the write is bigger than the trace_seq and break it
up by that size.
Ideally, we could make the trace_seq dynamic that could hold this. But
that's for another time.
Link: https://lore.kernel.org/linux-trace-kernel/20231212190422.1eaf224f@gandalf.local.home
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions