diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-03-11 04:30:03 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-03-28 15:39:56 +0300 |
commit | 486fbcb3806c0c7a5dbeea326c4a146fd4ed4eff (patch) | |
tree | c7c22dfcc95ff0ec996a2ca682d2a96f05b000ec /rust/helpers/helpers.c | |
parent | 5dbeb56bb9589e1051f6af6877cd375f3a901afb (diff) | |
download | linux-486fbcb3806c0c7a5dbeea326c4a146fd4ed4eff.tar.xz |
tracing: Skip update_last_data() if cleared and remove active check for save_mod()
If the last boot data is already cleared, there is no reason to update it
again. Skip if the TRACE_ARRAY_FL_LAST_BOOT is cleared.
Also, for calling save_mod() when module loading, we don't need to check
the trace is active or not because any module address can be on the
stacktrace.
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/174165660328.1173316.15529357882704817499.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions