]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing: Use _text and the kernel offset in last_boot_info
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 27 Mar 2025 02:03:04 +0000 (22:03 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 28 Mar 2025 12:39:56 +0000 (08:39 -0400)
commit028a58ec154257e618c27fb0eba8d9e30379bc3d
tree83236be184c6fef447d01d2b9805d8db72047dec
parent35a380ddbc653c07ee64e2a74c274b9835b0efc2
tracing: Use _text and the kernel offset in last_boot_info

Instead of using kaslr_offset() just record the location of "_text". This
makes it possible for user space to use either the System.map or
/proc/kallsyms as what to map all addresses to functions with.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20250326220304.38dbedcd@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c