Re: [PATCH] tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing

From: Mathieu Desnoyers
Date: Sun Dec 10 2023 - 09:11:51 EST


On 2023-12-09 17:10, Steven Rostedt wrote:
[...]
<...>-852 [001] ..... 121.550551: tracing_mark_write[LINE TOO BIG]
<...>-852 [001] ..... 121.550581: tracing_mark_write: 78901234

Failing to print an entire message because it does not fit in the
buffer size is rather inconvenient.

It would be better to print the partial line, and end the line with
a <TRUNCATED LINE> tag.

Thanks,

Mathieu

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com