Re: [PATCH] tracing: Have trace_marker writes be just half of TRACE_SEQ_SIZE

From: Steven Rostedt
Date: Mon Mar 04 2024 - 20:58:04 EST


On Mon, 4 Mar 2024 20:42:39 -0500
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote:

> #define TRACE_OUTPUT_META_DATA_MAX_LEN 80
>
> and a runtime check in the code generating this header.
>
> This would avoid adding an unchecked upper limit.

That would be a lot of complex code that is for debugging something that
has never happened in the past 16 years and Linus has already reprimanded
me on doing such things.

-- Steve