diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-05-06 11:16:48 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-05-06 11:30:17 -0400 |
commit | e3223e1e9a9f7912763e314c9e8a8320c842be72 (patch) | |
tree | 251e546c025a3be92ce7f84e479d23655960bc95 /scripts/lib/kdoc/kdoc_output.py | |
parent | 92a09c47464d040866cf2b4cd052bc60555185fb (diff) |
tracing: Update function trace addresses with module addresses
Now that module addresses are saved in the persistent ring buffer, their
addresses can be used to adjust the address in the persistent ring buffer
to the address of the module that is currently loaded.
Instead of blindly using the text_delta that only works for core kernel
code, call the trace_adjust_address() that will see if the address matches
an address saved in the persistent ring buffer, and then uses that against
the matching module if it is loaded.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/20250506111648.5df7f3ec@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions