[PATCH v2 0/4] tracing: Have function tracing and events handle module addresses
From: Steven Rostedt
Date: Tue Mar 25 2025 - 17:39:15 EST
This is based on top of Masami's patch:
https://lore.kernel.org/linux-trace-kernel/174282689201.356346.17647540360450727687.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/
As it requires the function trace_adjust_address() for both kernel text
and modules.
This updates the function tracer as well as the pointers used in events
to be updated via the trace_adjust_address() function.
Changes since v1: https://lore.kernel.org/linux-trace-kernel/20250304231545.708806702@xxxxxxxxxxx/
- Rebased on the latest code
- Some minor updates to the trace_adjust_address() to print original
address if not in kernel proper.
Steven Rostedt (4):
tracing: Update function trace addresses with module addresses
tracing: Show function names when possible when listing fields
tracing: Only return an adjusted address if it matches the kernel address
tracing: Adjust addresses for printing out fields
----
kernel/trace/trace.c | 8 ++++++--
kernel/trace/trace_output.c | 46 +++++++++++++++++++++++++++++----------------
2 files changed, 36 insertions(+), 18 deletions(-)