Re: [RFC PATCH 0/3] tracing: Introduce relative stacktrace
From: Steven Rostedt
Date: Wed Jan 29 2025 - 09:41:53 EST
On Wed, 29 Jan 2025 16:25:38 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> > Actually, if we save the addresses of where the modules are in the
> > persistent ring buffer, and expose the addresses only if they are from
> > the previous boot (if it's the current boot, it just says "current"),
> > then we can decipher the modules from the previous boot.
>
> OK, but when would we save it? it is OK to do it in panic()?
It would be saved in the persistent memory region, and added when a module
is loaded. That is, it will already be recorded when a panic() occurs.
-- Steve