Re: [PATCH v2 1/2] tracing: Make the backup instance readonly

From: Google

Date: Tue Jan 13 2026 - 01:05:00 EST


On Mon, 12 Jan 2026 19:47:22 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Mon, 12 Jan 2026 19:45:51 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > Let's not add any flags to the eventfs_entry. That is created for every
> > event, and events are already too big in size. I don't want to increase the
> > size of each event for this feature.
>
> Actually, there's not many of these. But they are all static variables. How
> are you going to differentiate them?

Since the format/id files are always readonly, so we can put a mode flag on
each entry.

Anyway, I will just share the readonly entries in the same array, but
put them at the beginning of it.

Let me update it to v3.

Thanks,

>
> -- Steve
>


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>