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

From: Google

Date: Thu Jan 08 2026 - 00:33:27 EST


On Wed, 7 Jan 2026 22:05:42 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Thu, 8 Jan 2026 11:51:25 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > > We may need to make sure they can't be changed to write as well. But that
> > > will require a change to tracefs (and eventfs).
> >
> > Ah, you mean the permission check is not correctly done in tracefs/eventfs yet?
>
> Actually, i think we could use a different fops for read only instances
> that do not have a write callback. And for eventfs we could have it for
> read only instances to only create the id and format files.

Ah, OK. Let me update it.

Thanks,

>
> -- Steve


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