Skip to content

Commit cf4db25

Browse files
Steven Rostedtrostedt
authored andcommitted
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>
1 parent c28d507 commit cf4db25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ endif
569569
ifdef CONFIG_FUNCTION_TRACER
570570
KBUILD_CFLAGS += -pg
571571
ifdef CONFIG_DYNAMIC_FTRACE
572-
ifdef CONFIG_HAVE_C_MCOUNT_RECORD
572+
ifdef CONFIG_HAVE_C_RECORDMCOUNT
573573
BUILD_C_RECORDMCOUNT := y
574574
export BUILD_C_RECORDMCOUNT
575575
endif

arch/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ config X86
3333
select HAVE_KRETPROBES
3434
select HAVE_OPTPROBES
3535
select HAVE_FTRACE_MCOUNT_RECORD
36-
select HAVE_C_MCOUNT_RECORD
36+
select HAVE_C_RECORDMCOUNT
3737
select HAVE_DYNAMIC_FTRACE
3838
select HAVE_FUNCTION_TRACER
3939
select HAVE_FUNCTION_GRAPH_TRACER

kernel/trace/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ config HAVE_SYSCALL_TRACEPOINTS
4949
help
5050
See Documentation/trace/ftrace-design.txt
5151

52-
config HAVE_C_MCOUNT_RECORD
52+
config HAVE_C_RECORDMCOUNT
5353
bool
5454
help
5555
C version of recordmcount available?

0 commit comments

Comments
 (0)