[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250129094202.0d8deb73@gandalf.local.home>
Date: Wed, 29 Jan 2025 09:42:02 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Luis Chamberlain
<mcgrof@...nel.org>, Petr Pavlu <petr.pavlu@...e.com>, Sami Tolvanen
<samitolvanen@...gle.com>, Daniel Gomez <da.gomez@...sung.com>,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
linux-modules@...r.kernel.org
Subject: Re: [RFC PATCH 0/3] tracing: Introduce relative stacktrace
On Wed, 29 Jan 2025 16:25:38 +0900
Masami Hiramatsu (Google) <mhiramat@...nel.org> 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
Powered by blists - more mailing lists