]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing: Have persistent trace instances save module addresses
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 5 Mar 2025 16:45:45 +0000 (11:45 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 28 Mar 2025 12:39:27 +0000 (08:39 -0400)
commitfd39e48fe8eddfa84a2dbaf468fde8c2b2679211
tree4bf61b70a50be82740ac733e30b03fcf230c1201
parent966b7d0e524da03a18ba1b111d0fa0d81e840f77
tracing: Have persistent trace instances save module addresses

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.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/20250305164609.129741650@goodmis.org
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c