tracing: Fix double free when function profile init failed
[pandora-kernel.git] / kernel / trace / trace_syscalls.c
index ee7b5a0..cb65454 100644 (file)
@@ -2,6 +2,7 @@
 #include <trace/events/syscalls.h>
 #include <linux/slab.h>
 #include <linux/kernel.h>
+#include <linux/module.h>      /* for MODULE_NAME_LEN via KSYM_SYMBOL_LEN */
 #include <linux/ftrace.h>
 #include <linux/perf_event.h>
 #include <asm/syscall.h>