+MODULE_PARM_DESC(filename_template, "Template for boot trace name, where trace will be saved and read from. %s will be replaced with name of phase. The default is: " DEFAULT_BOOT_TRACE_FILENAME_TEMPLATE);
+
+///maximum size of phase name, not including trailing NULL
+#define PHASE_NAME_MAX 10
+///maximum size as string, keep in sync with PHASE_NAME_MAX
+#define PHASE_NAME_MAX_S "10"
+
+///maximum size of command name, not including trailing NULL
+#define CMD_NAME_MAX 10
+///maximum size as string, keep in sync with CMD_NAME_MAX
+#define CMD_NAME_MAX_S "10"
+
+///Enables/disables whole functionality of the module
+static int enabled = 1;
+module_param(enabled, bool, 0);
+MODULE_PARM_DESC(enabled, "Enables or disables whole boot prefetching module functionality (tracing and prefetching)");
+
+///Controls whether prefetching should be done along with tracing.
+static int prefetch_enabled = 1;
+module_param(prefetch_enabled, bool, 0);
+MODULE_PARM_DESC(prefetch_enabled, "Enables or disables prefetching during boot. If disabled, only tracing will be done");
+
+static struct mutex boot_prefetch_mutex;
+/**
+ * Phase start marker, protected by boot_prefetch_mutex.