linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] tracing: Have persistent trace instances save module addresses
@ 2025-03-21 15:54 Theodore Ts'o
  2025-03-21 16:36 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Theodore Ts'o @ 2025-03-21 15:54 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Mark Rutland, Mathieu Desnoyers, Andrew Morton, Masami Hiramatsu,
	linux-trace-kernel

On Wed, Mar 05, 2025 at 11:45:45AM -0500, Steven Rostedt wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tracing: Have persistent trace instances save module addresses
  2025-03-21 15:54 [PATCH] tracing: Have persistent trace instances save module addresses Theodore Ts'o
@ 2025-03-21 16:36 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2025-03-21 16:36 UTC (permalink / raw)
  To: Theodore Ts'o
  Cc: Mark Rutland, Mathieu Desnoyers, Andrew Morton, Masami Hiramatsu,
	linux-trace-kernel

On Fri, 21 Mar 2025 11:54:22 -0400
"Theodore Ts'o" <tytso@mit.edu> wrote:

> On Wed, Mar 05, 2025 at 11:45:45AM -0500, Steven Rostedt wrote:
> > 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!!
>

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-21 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 15:54 [PATCH] tracing: Have persistent trace instances save module addresses Theodore Ts'o
2025-03-21 16:36 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).