Commit 028a58e
committed
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>1 parent 35a380d commit 028a58e
1 file changed
+6
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
5995 | 5995 | | |
5996 | 5996 | | |
5997 | 5997 | | |
5998 | | - | |
| 5998 | + | |
5999 | 5999 | | |
6000 | 6000 | | |
6001 | 6001 | | |
| |||
6133 | 6133 | | |
6134 | 6134 | | |
6135 | 6135 | | |
6136 | | - | |
6137 | | - | |
6138 | | - | |
6139 | | - | |
6140 | | - | |
| 6136 | + | |
6141 | 6137 | | |
6142 | 6138 | | |
6143 | 6139 | | |
| |||
6996 | 6992 | | |
6997 | 6993 | | |
6998 | 6994 | | |
6999 | | - | |
| 6995 | + | |
7000 | 6996 | | |
7001 | 6997 | | |
7002 | 6998 | | |
| |||
9465 | 9461 | | |
9466 | 9462 | | |
9467 | 9463 | | |
9468 | | - | |
9469 | | - | |
9470 | | - | |
9471 | | - | |
| 9464 | + | |
| 9465 | + | |
9472 | 9466 | | |
9473 | 9467 | | |
9474 | 9468 | | |
| |||
0 commit comments