We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6d032 commit f00c920Copy full SHA for f00c920
kernel/trace/trace.c
@@ -6001,6 +6001,7 @@ struct trace_scratch {
6001
6002
static DEFINE_MUTEX(scratch_mutex);
6003
6004
+#ifdef CONFIG_MODULES
6005
static int save_mod(struct module *mod, void *data)
6006
{
6007
struct trace_array *tr = data;
@@ -6025,6 +6026,12 @@ static int save_mod(struct module *mod, void *data)
6025
6026
6027
return 0;
6028
}
6029
+#else
6030
+static int save_mod(struct module *mod, void *data)
6031
+{
6032
+ return 0;
6033
+}
6034
+#endif
6035
6036
static void update_last_data(struct trace_array *tr)
6037
0 commit comments