]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing: Fix a compilation error without CONFIG_MODULES
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 18 Mar 2025 13:39:13 +0000 (22:39 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 28 Mar 2025 12:39:56 +0000 (08:39 -0400)
commitf00c9201f942dddb58617c881ffd4e4a1a1c49ab
tree6699d164209dac427fa4ccdfb0ae6cff8cb30d82
parentfb6d03238e35f96cc1d6a5411ee1d684221d1c39
tracing: Fix a compilation error without CONFIG_MODULES

There are some code which depends on CONFIG_MODULES. #ifdef
to enclose it.

Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/174230515367.2909896.8132122175220657625.stgit@mhiramat.tok.corp.google.com
Fixes: dca91c1c5468 ("tracing: Have persistent trace instances save module addresses")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c