]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ftrace: rebuild everything on change to FTRACE_MCOUNT_RECORD
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Aug 2008 19:45:10 +0000 (15:45 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:34:51 +0000 (10:34 +0200)
When enabling or disabling CONFIG_FTRACE_MCOUNT_RECORD, we want a full
kernel compile to handle the adding of the __mcount_loc sections.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/kernel.h

index 75d81f157d2edbd7a8aec39ce3cb7cc3bd69a758..ecce4a4ccd5fd19df012ca363cd6e0de2beae9ec 100644 (file)
@@ -486,4 +486,9 @@ struct sysinfo {
 #define NUMA_BUILD 0
 #endif
 
+/* Rebuild everything on CONFIG_FTRACE_MCOUNT_RECORD */
+#ifdef CONFIG_FTRACE_MCOUNT_RECORD
+# define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD
+#endif
+
 #endif