Re: [PATCH 4/8] tracing: Have persistent trace instances save KASLR offset

From: Google
Date: Thu Feb 06 2025 - 21:15:11 EST


On Thu, 6 Feb 2025 20:03:16 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Fri, 7 Feb 2025 09:58:44 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > > Which would make sure that the scratch size contains enough memory to hold
> > > 128 modules.
> >
> > Yeah, this idea looks godd to me. BTW, the scratch size will be aligned to
> > the subbuffer size (or page size?)
>
> I don't think it needs to be. I think it just needs to be aligned to word
> size.

Ah, OK. The first cpu_meta data is not need to be aligned.

Thank you,

>
> -- Steve


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