Skip to contentSkip to conversation

tracing: Have persistent trace instances save module addresses

PATCH Theodore Ts'o 2 participants 2 messages Mar 21, 2025 Tracing

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Steven Rostedt

For trace instances that are mapped to persistent memory, have them use the scratch area to save the currently loaded modules. This will allow where the modules have been loaded on the next boot so that their addresses can be deciphered by using where they were loaded previously.

Hi,

When building against linux-next today, I found that this commit breaks builds when the kernel hasn't enabled CONFIG_MODULES. Could you please take a look?

Many thanks!!

- Ted

maintainer
#1 lore raw
Quoted 6 lines · On Fri, 21 Mar 2025 11:54:22 -0400 "Theodore Ts'o" <[email protected]> wrote:
Quoted 4 lines · Steven Rostedt

For trace instances that are mapped to persistent memory, have them use the scratch area to save the currently loaded modules. This will allow where the modules have been loaded on the next boot so that their addresses can be deciphered by using where they were loaded previously.

Quoted 8 lines

Hi,

When building against linux-next today, I found that this commit breaks builds when the kernel hasn't enabled CONFIG_MODULES. Could you please take a look?

Many thanks!!

Yeah, Masami has a fix already. I've been traveling for OSPM and haven't had the time to apply and test it.

-- Steve

https://lore.kernel.org/all/174230515367.2909896.8132122175220657625.stgit@mhiramat.tok.corp.google.com/