diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-10-14 23:32:44 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-14 23:32:44 -0400 |
commit | cf4db2597ae93b60efc0a7a4ec08690b75d629b1 (patch) | |
tree | 12ee3585d7a65291032b3258000523d6386c7d2e | |
parent | c28d5077f8d79bfce1e3f88db2e261cf2b6473dc (diff) |
ftrace: Rename config option HAVE_C_MCOUNT_RECORD to HAVE_C_RECORDMCOUNT
The config option used by archs to let the build system know that
the C version of the recordmcount works for said arch is currently
called HAVE_C_MCOUNT_RECORD which enables BUILD_C_RECORDMCOUNT. To
be more consistent with the name that all archs may use, it has been
renamed to HAVE_C_RECORDMCOUNT. This will be less confusing since
we are building a C recordmcount and not a mcount_record.
Suggested-by: Ingo Molnar <mingo@elte.hu>
Cc: <linux-arch@vger.kernel.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Cc: John Reiser <jreiser@bitwagon.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | arch/x86/Kconfig | 2 | ||||
-rw-r--r-- | kernel/trace/Kconfig | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -569,7 +569,7 @@ endif | |||
569 | ifdef CONFIG_FUNCTION_TRACER | 569 | ifdef CONFIG_FUNCTION_TRACER |
570 | KBUILD_CFLAGS += -pg | 570 | KBUILD_CFLAGS += -pg |
571 | ifdef CONFIG_DYNAMIC_FTRACE | 571 | ifdef CONFIG_DYNAMIC_FTRACE |
572 | ifdef CONFIG_HAVE_C_MCOUNT_RECORD | 572 | ifdef CONFIG_HAVE_C_RECORDMCOUNT |
573 | BUILD_C_RECORDMCOUNT := y | 573 | BUILD_C_RECORDMCOUNT := y |
574 | export BUILD_C_RECORDMCOUNT | 574 | export BUILD_C_RECORDMCOUNT |
575 | endif | 575 | endif |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 788b50ef5fc4..9815221976a7 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -33,7 +33,7 @@ config X86 | |||
33 | select HAVE_KRETPROBES | 33 | select HAVE_KRETPROBES |
34 | select HAVE_OPTPROBES | 34 | select HAVE_OPTPROBES |
35 | select HAVE_FTRACE_MCOUNT_RECORD | 35 | select HAVE_FTRACE_MCOUNT_RECORD |
36 | select HAVE_C_MCOUNT_RECORD | 36 | select HAVE_C_RECORDMCOUNT |
37 | select HAVE_DYNAMIC_FTRACE | 37 | select HAVE_DYNAMIC_FTRACE |
38 | select HAVE_FUNCTION_TRACER | 38 | select HAVE_FUNCTION_TRACER |
39 | select HAVE_FUNCTION_GRAPH_TRACER | 39 | select HAVE_FUNCTION_GRAPH_TRACER |
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index df00fbbaf609..e550d2eda1df 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -49,7 +49,7 @@ config HAVE_SYSCALL_TRACEPOINTS | |||
49 | help | 49 | help |
50 | See Documentation/trace/ftrace-design.txt | 50 | See Documentation/trace/ftrace-design.txt |
51 | 51 | ||
52 | config HAVE_C_MCOUNT_RECORD | 52 | config HAVE_C_RECORDMCOUNT |
53 | bool | 53 | bool |
54 | help | 54 | help |
55 | C version of recordmcount available? | 55 | C version of recordmcount available? |