diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-08-14 15:45:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:34:51 -0400 |
commit | 29e71abf56cebc5c5a4e184a6eb4360cc58554ad (patch) | |
tree | 2e86f88ce888e15c3d5aa007795092194a0f24c8 /include | |
parent | 90d595fe5ca4b685465c068907e6e554760abea8 (diff) |
ftrace: rebuild everything on change to FTRACE_MCOUNT_RECORD
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kernel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 75d81f157d2e..ecce4a4ccd5f 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -486,4 +486,9 @@ struct sysinfo { | |||
486 | #define NUMA_BUILD 0 | 486 | #define NUMA_BUILD 0 |
487 | #endif | 487 | #endif |
488 | 488 | ||
489 | /* Rebuild everything on CONFIG_FTRACE_MCOUNT_RECORD */ | ||
490 | #ifdef CONFIG_FTRACE_MCOUNT_RECORD | ||
491 | # define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD | ||
492 | #endif | ||
493 | |||
489 | #endif | 494 | #endif |