Re: [RFC PATCH 0/3] tracing: Introduce relative stacktrace
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-01-29 14:41:41
Also in:
linux-modules, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-01-29 14:41:41
Also in:
linux-modules, lkml
On Wed, 29 Jan 2025 16:25:38 +0900 Masami Hiramatsu (Google) [off-list ref] wrote:
quoted
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