tracing: Show last module text symbols in the stacktrace
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 24 Mar 2025 14:34:52 +0000 (23:34 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 28 Mar 2025 12:39:56 +0000 (08:39 -0400)
commit35a380ddbc653c07ee64e2a74c274b9835b0efc2
tree33611bb879bc79336b72ec2f54923da62fc2f959
parentde48d7fff7b4668a61c3c1d13ca0f6a6b3995519
tracing: Show last module text symbols in the stacktrace

Since the previous boot trace buffer can include module text address in
the stacktrace. As same as the kernel text address, convert the module
text address using the module address information.

Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/174282689201.356346.17647540360450727687.stgit@mhiramat.tok.corp.google.com
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_output.c