Commit f00c920
tracing: Fix a compilation error without CONFIG_MODULES
There are some code which depends on CONFIG_MODULES. #ifdef
to enclose it.
Cc: Mathieu Desnoyers <[email protected]>
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) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent fb6d032 commit f00c920
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6001 | 6001 | | |
6002 | 6002 | | |
6003 | 6003 | | |
| 6004 | + | |
6004 | 6005 | | |
6005 | 6006 | | |
6006 | 6007 | | |
| |||
6025 | 6026 | | |
6026 | 6027 | | |
6027 | 6028 | | |
| 6029 | + | |
| 6030 | + | |
| 6031 | + | |
| 6032 | + | |
| 6033 | + | |
| 6034 | + | |
6028 | 6035 | | |
6029 | 6036 | | |
6030 | 6037 | | |
| |||
0 commit comments