ftrace: Rename config option HAVE_C_MCOUNT_RECORD to HAVE_C_RECORDMCOUNT
authorSteven Rostedt <srostedt@redhat.com>
Fri, 15 Oct 2010 03:32:44 +0000 (23:32 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Oct 2010 03:32:44 +0000 (23:32 -0400)
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>
Makefile
arch/x86/Kconfig
kernel/trace/Kconfig

index 0dd3a8d931329092248f40c8dceaaddd1d887305..c2362c2730064480aedbd9bdf8b5dfbe67223969 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -569,7 +569,7 @@ endif
 ifdef CONFIG_FUNCTION_TRACER
 KBUILD_CFLAGS  += -pg
 ifdef CONFIG_DYNAMIC_FTRACE
-       ifdef CONFIG_HAVE_C_MCOUNT_RECORD
+       ifdef CONFIG_HAVE_C_RECORDMCOUNT
                BUILD_C_RECORDMCOUNT := y
                export BUILD_C_RECORDMCOUNT
        endif
index 788b50ef5fc40a08c6f18b7146901d0570160ffc..9815221976a74bbc2d70191a69c3ccda03188ca6 100644 (file)
@@ -33,7 +33,7 @@ config X86
        select HAVE_KRETPROBES
        select HAVE_OPTPROBES
        select HAVE_FTRACE_MCOUNT_RECORD
-       select HAVE_C_MCOUNT_RECORD
+       select HAVE_C_RECORDMCOUNT
        select HAVE_DYNAMIC_FTRACE
        select HAVE_FUNCTION_TRACER
        select HAVE_FUNCTION_GRAPH_TRACER
index df00fbbaf60904c1b073d44b6040309c42b70e51..e550d2eda1dfdbf843e60c170d1fff3ec4e4eaf9 100644 (file)
@@ -49,7 +49,7 @@ config HAVE_SYSCALL_TRACEPOINTS
        help
          See Documentation/trace/ftrace-design.txt
 
-config HAVE_C_MCOUNT_RECORD
+config HAVE_C_RECORDMCOUNT
        bool
        help
          C version of recordmcount available?