Re: [PATCH] tracing: Do not allow mmap() of persistent ring buffer

Steven Rostedt
2025-02-18T15:21:31Z

On Wed, 19 Feb 2025 00:14:24 +0900
Masami Hiramatsu (Google) <mhiramat@kernel.org> wrote:

> > As that's what added the BOOT flag and is in the same kernel version
> > that added the persistent ring buffer.
>
> OK, so this fix is for the limitation of the buffer which has
> TRACE_ARRAY_FL_BOOT. When this flag is introduced, it should also
> prohibit the mmap.

Correct.

-- Steve