Skip to contentSkip to conversation

ftrace: separate ftrace from ftrace

PATCH In review Steven Rostedt 2 participants 5 messages Oct 6, 2008 – Oct 20, 2008

Subsystems (11)
Arm (32-bit) x86 PowerPC Kbuild +7 more subsystems
lore
Share & tools
lore

Steven Rostedt

author maintainer
#0 lore raw

cover ftrace: separate ftrace from ftrace

There has been a lot of confusion between ftrace the infrastructure and ftrace the function tracer within ftrace. Developers have added dependencies on HAVE_FTRACE when they did not need to. The HAVE_FTRACE was the architecture supported the function tracer.

This patch series renames the ftrace function tracer to just that, FUNCTION_TRACER. And even renames the tracer shown to users from 'ftrace' to 'function'.

Now, when referring to ftrace, it means the ftrace infrastructure, and when referring to the function trace, it is now called the function tracer.

The second patch cause a lot of files to be touched. Mostly Makefiles and Kconfig files. As well as default configs.

-- Steve

author maintainer
#1 lore raw

PATCH 1/3 ftrace: fix depends

A lot of tracers have HAVE_FTRACE as a dependent config where it really should not. The HAVE_FTRACE is a misnomer (soon to be fixed) and describes if the architecture has the function tracer (mcount) implemented. The ftrace infrastructure is implemented in all archs.

---
 kernel/trace/Kconfig |    5 -----
 1 file changed, 5 deletions(-)
kernel/trace/Kconfig +0 -5
Index: linux-tip.git/kernel/trace/Kconfig
===================================================================
@@ -49,7 +49,6 @@ config IRQSOFF_TRACER
 	default n
 	depends on TRACE_IRQFLAGS_SUPPORT
 	depends on GENERIC_TIME
-	depends on HAVE_FTRACE
 	depends on DEBUG_KERNEL
 	select TRACE_IRQFLAGS
 	select TRACING
@@ -73,7 +72,6 @@ config PREEMPT_TRACER
 	default n
 	depends on GENERIC_TIME
 	depends on PREEMPT
-	depends on HAVE_FTRACE
 	depends on DEBUG_KERNEL
 	select TRACING
 	select TRACER_MAX_TRACE
@@ -101,7 +99,6 @@ config SYSPROF_TRACER
 
 config SCHED_TRACER
 	bool "Scheduling Latency Tracer"
-	depends on HAVE_FTRACE
 	depends on DEBUG_KERNEL
 	select TRACING
 	select CONTEXT_SWITCH_TRACER
@@ -112,7 +109,6 @@ config SCHED_TRACER
 
 config CONTEXT_SWITCH_TRACER
 	bool "Trace process context switches"
-	depends on HAVE_FTRACE
 	depends on DEBUG_KERNEL
 	select TRACING
 	select MARKERS
@@ -122,7 +118,6 @@ config CONTEXT_SWITCH_TRACER
 
 config BOOT_TRACER
 	bool "Trace boot initcalls"
-	depends on HAVE_FTRACE
 	depends on DEBUG_KERNEL
 	select TRACING
 	help
author maintainer
#2 lore raw

PATCH 2/3 ftrace: rename FTRACE to FUNCTION_TRACER

In reply to Steven Rostedt

Due to confusion between the ftrace infrastructure and the gcc profiling tracer "ftrace", this patch renames the config options from FTRACE to FUNCTION_TRACER. The other two names that are offspring from FTRACE DYNAMIC_FTRACE and FTRACE_MCOUNT_RECORD will stay the same.

This patch was generated mostly by script, and partially by hand.

---
 Makefile                                          |    2 +-
 arch/arm/Kconfig                                  |    4 ++--
 arch/arm/boot/compressed/Makefile                 |    2 +-
 arch/arm/configs/eseries_pxa_defconfig            |    4 ++--
 arch/arm/configs/orion5x_defconfig                |    4 ++--
 arch/arm/include/asm/ftrace.h                     |    2 +-
 arch/arm/kernel/armksyms.c                        |    2 +-
 arch/arm/kernel/entry-common.S                    |    4 ++--
 arch/powerpc/Kconfig                              |    2 +-
 arch/powerpc/Makefile                             |    2 +-
 arch/powerpc/configs/40x/ep405_defconfig          |    4 ++--
 arch/powerpc/configs/40x/kilauea_defconfig        |    4 ++--
 arch/powerpc/configs/40x/makalu_defconfig         |    4 ++--
 arch/powerpc/configs/40x/walnut_defconfig         |    4 ++--
 arch/powerpc/configs/44x/bamboo_defconfig         |    4 ++--
 arch/powerpc/configs/44x/canyonlands_defconfig    |    4 ++--
 arch/powerpc/configs/44x/ebony_defconfig          |    4 ++--
 arch/powerpc/configs/44x/katmai_defconfig         |    4 ++--
 arch/powerpc/configs/44x/rainier_defconfig        |    4 ++--
 arch/powerpc/configs/44x/sam440ep_defconfig       |    4 ++--
 arch/powerpc/configs/44x/sequoia_defconfig        |    4 ++--
 arch/powerpc/configs/44x/taishan_defconfig        |    4 ++--
 arch/powerpc/configs/44x/virtex5_defconfig        |    4 ++--
 arch/powerpc/configs/44x/warp_defconfig           |    4 ++--
 arch/powerpc/configs/83xx/asp8347_defconfig       |    4 ++--
 arch/powerpc/configs/83xx/mpc8313_rdb_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc8315_rdb_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc832x_mds_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc832x_rdb_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc834x_itx_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig |    4 ++--
 arch/powerpc/configs/83xx/mpc834x_mds_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc836x_mds_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc836x_rdk_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc837x_mds_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/mpc837x_rdb_defconfig   |    4 ++--
 arch/powerpc/configs/83xx/sbc834x_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/ksi8560_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/mpc8536_ds_defconfig    |    4 ++--
 arch/powerpc/configs/85xx/mpc8540_ads_defconfig   |    4 ++--
 arch/powerpc/configs/85xx/mpc8544_ds_defconfig    |    4 ++--
 arch/powerpc/configs/85xx/mpc8560_ads_defconfig   |    4 ++--
 arch/powerpc/configs/85xx/mpc8568mds_defconfig    |    4 ++--
 arch/powerpc/configs/85xx/mpc8572_ds_defconfig    |    4 ++--
 arch/powerpc/configs/85xx/mpc85xx_cds_defconfig   |    4 ++--
 arch/powerpc/configs/85xx/sbc8548_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/sbc8560_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/stx_gp3_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/tqm8540_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/tqm8541_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/tqm8548_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/tqm8555_defconfig       |    4 ++--
 arch/powerpc/configs/85xx/tqm8560_defconfig       |    4 ++--
 arch/powerpc/configs/adder875_defconfig           |    4 ++--
 arch/powerpc/configs/c2k_defconfig                |    4 ++--
 arch/powerpc/configs/chrp32_defconfig             |    4 ++--
 arch/powerpc/configs/ep8248e_defconfig            |    4 ++--
 arch/powerpc/configs/ep88xc_defconfig             |    4 ++--
 arch/powerpc/configs/g5_defconfig                 |    4 ++--
 arch/powerpc/configs/iseries_defconfig            |    4 ++--
 arch/powerpc/configs/linkstation_defconfig        |    4 ++--
 arch/powerpc/configs/maple_defconfig              |    4 ++--
 arch/powerpc/configs/mpc7448_hpc2_defconfig       |    4 ++--
 arch/powerpc/configs/mpc8272_ads_defconfig        |    4 ++--
 arch/powerpc/configs/mpc83xx_defconfig            |    4 ++--
 arch/powerpc/configs/mpc85xx_defconfig            |    4 ++--
 arch/powerpc/configs/mpc8610_hpcd_defconfig       |    4 ++--
 arch/powerpc/configs/mpc8641_hpcn_defconfig       |    4 ++--
 arch/powerpc/configs/mpc866_ads_defconfig         |    4 ++--
 arch/powerpc/configs/mpc885_ads_defconfig         |    4 ++--
 arch/powerpc/configs/pmac32_defconfig             |    4 ++--
 arch/powerpc/configs/ppc40x_defconfig             |    4 ++--
 arch/powerpc/configs/ppc44x_defconfig             |    4 ++--
 arch/powerpc/configs/ppc64_defconfig              |    4 ++--
 arch/powerpc/configs/ppc6xx_defconfig             |    4 ++--
 arch/powerpc/configs/pq2fads_defconfig            |    4 ++--
 arch/powerpc/configs/prpmc2800_defconfig          |    4 ++--
 arch/powerpc/configs/ps3_defconfig                |    4 ++--
 arch/powerpc/configs/pseries_defconfig            |    4 ++--
 arch/powerpc/configs/sbc8641d_defconfig           |    4 ++--
 arch/powerpc/configs/storcenter_defconfig         |    4 ++--
 arch/powerpc/include/asm/ftrace.h                 |    2 +-
 arch/powerpc/kernel/Makefile                      |    2 +-
 arch/powerpc/kernel/entry_32.S                    |    2 +-
 arch/powerpc/kernel/entry_64.S                    |    2 +-
 arch/powerpc/kernel/ppc_ksyms.c                   |    2 +-
 arch/powerpc/platforms/powermac/Makefile          |    2 +-
 arch/sparc64/Kconfig                              |    2 +-
 arch/sparc64/Kconfig.debug                        |    2 +-
 arch/sparc64/defconfig                            |    4 ++--
 arch/sparc64/lib/mcount.S                         |    4 ++--
 arch/x86/Kconfig                                  |    2 +-
 arch/x86/configs/i386_defconfig                   |    4 ++--
 arch/x86/configs/x86_64_defconfig                 |    4 ++--
 arch/x86/kernel/Makefile                          |    2 +-
 arch/x86/kernel/entry_32.S                        |    4 ++--
 arch/x86/kernel/entry_64.S                        |    4 ++--
 arch/x86/kernel/i386_ksyms_32.c                   |    2 +-
 arch/x86/kernel/x8664_ksyms_64.c                  |    2 +-
 arch/x86/xen/Makefile                             |    2 +-
 include/asm-x86/ftrace.h                          |    4 ++--
 include/linux/ftrace.h                            |   12 ++++++------
 kernel/Makefile                                   |    4 ++--
 kernel/sysctl.c                                   |    2 +-
 kernel/trace/Kconfig                              |   17 +++++++++--------
 kernel/trace/Makefile                             |    6 +++---
 kernel/trace/trace.c                              |    2 +-
 kernel/trace/trace.h                              |    2 +-
 kernel/trace/trace_irqsoff.c                      |    4 ++--
 kernel/trace/trace_sched_wakeup.c                 |    4 ++--
 kernel/trace/trace_selftest.c                     |    4 ++--
 lib/Makefile                                      |    2 +-
 112 files changed, 213 insertions(+), 212 deletions(-)
kernel/trace/Kconfig +9 -8
Index: linux-tip.git/kernel/trace/Kconfig
===================================================================
@@ -1,11 +1,12 @@
 #
-# Architectures that offer an FTRACE implementation should select HAVE_FTRACE:
+# Architectures that offer an FUNCTION_TRACER implementation should
+#  select HAVE_FUNCTION_TRACER:
 #
 
 config NOP_TRACER
 	bool
 
-config HAVE_FTRACE
+config HAVE_FUNCTION_TRACER
 	bool
 	select NOP_TRACER
 
@@ -28,9 +29,9 @@ config TRACING
 	select STACKTRACE
 	select TRACEPOINTS
 
-config FTRACE
+config FUNCTION_TRACER
 	bool "Kernel Function Tracer"
-	depends on HAVE_FTRACE
+	depends on HAVE_FUNCTION_TRACER
 	depends on DEBUG_KERNEL
 	select FRAME_POINTER
 	select TRACING
@@ -131,9 +132,9 @@ config BOOT_TRACER
 
 config STACK_TRACER
 	bool "Trace max stack"
-	depends on HAVE_FTRACE
+	depends on HAVE_FUNCTION_TRACER
 	depends on DEBUG_KERNEL
-	select FTRACE
+	select FUNCTION_TRACER
 	select STACKTRACE
 	help
 	  This tracer records the max stack of the kernel, and displays
@@ -141,7 +142,7 @@ config STACK_TRACER
 
 config DYNAMIC_FTRACE
 	bool "enable/disable ftrace tracepoints dynamically"
-	depends on FTRACE
+	depends on FUNCTION_TRACER
 	depends on HAVE_DYNAMIC_FTRACE
 	depends on DEBUG_KERNEL
 	default y
@@ -151,7 +152,7 @@ config DYNAMIC_FTRACE
 	 with a No-Op instruction) as they are called. A table is
 	 created to dynamically enable them again.
 
-	 This way a CONFIG_FTRACE kernel is slightly larger, but otherwise
+	 This way a CONFIG_FUNCTION_TRACER kernel is slightly larger, but otherwise
 	 has native performance as long as no tracing is active.
 
 	 The changes to the code are done by a kernel thread that
kernel/trace/Makefile +3 -3
Index: linux-tip.git/kernel/trace/Makefile
===================================================================
@@ -1,7 +1,7 @@
 
 # Do not instrument the tracer itself:
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 ORIG_CFLAGS := $(KBUILD_CFLAGS)
 KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
 
@@ -10,13 +10,13 @@ CFLAGS_trace_selftest_dynamic.o = -pg
 obj-y += trace_selftest_dynamic.o
 endif
 
-obj-$(CONFIG_FTRACE) += libftrace.o
+obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o
 obj-$(CONFIG_RING_BUFFER) += ring_buffer.o
 
 obj-$(CONFIG_TRACING) += trace.o
 obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o
 obj-$(CONFIG_SYSPROF_TRACER) += trace_sysprof.o
-obj-$(CONFIG_FTRACE) += trace_functions.o
+obj-$(CONFIG_FUNCTION_TRACER) += trace_functions.o
 obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
 obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
 obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
Makefile +1 -1
Index: linux-tip.git/Makefile
===================================================================
@@ -536,7 +536,7 @@ KBUILD_CFLAGS	+= -g
 KBUILD_AFLAGS	+= -gdwarf-2
 endif
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 KBUILD_CFLAGS	+= -pg
 endif
 
arch/arm/kernel/entry-common.S +2 -2
Index: linux-tip.git/arch/arm/kernel/entry-common.S
===================================================================
@@ -100,7 +100,7 @@ ENTRY(ret_from_fork)
 #undef CALL
 #define CALL(x) .long x
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #ifdef CONFIG_DYNAMIC_FTRACE
 ENTRY(mcount)
 	stmdb sp!, {r0-r3, lr}
@@ -148,7 +148,7 @@ trace:
 ftrace_stub:
 	mov pc, lr
 
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 /*=============================================================================
  * SWI handler
arch/arm/Kconfig +2 -2
Index: linux-tip.git/arch/arm/Kconfig
===================================================================
@@ -15,8 +15,8 @@ config ARM
 	select HAVE_ARCH_KGDB
 	select HAVE_KPROBES if (!XIP_KERNEL)
 	select HAVE_KRETPROBES if (HAVE_KPROBES)
-	select HAVE_FTRACE if (!XIP_KERNEL)
-	select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE)
+	select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
+	select HAVE_DYNAMIC_FTRACE if (HAVE_FUNCTION_TRACER)
 	select HAVE_GENERIC_DMA_COHERENT
 	help
 	  The ARM series is a line of low-power-consumption RISC chip designs
arch/arm/boot/compressed/Makefile +1 -1
Index: linux-tip.git/arch/arm/boot/compressed/Makefile
===================================================================
@@ -70,7 +70,7 @@ SEDFLAGS	= s/TEXT_START/$(ZTEXTADDR)/;s/
 targets       := vmlinux vmlinux.lds piggy.gz piggy.o font.o font.c \
 		 head.o misc.o $(OBJS)
 
-ifeq ($(CONFIG_FTRACE),y)
+ifeq ($(CONFIG_FUNCTION_TRACER),y)
 ORIG_CFLAGS := $(KBUILD_CFLAGS)
 KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
 endif
arch/arm/configs/eseries_pxa_defconfig +2 -2
Index: linux-tip.git/arch/arm/configs/eseries_pxa_defconfig
===================================================================
@@ -1229,9 +1229,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 CONFIG_FRAME_POINTER=y
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/arm/configs/orion5x_defconfig +2 -2
Index: linux-tip.git/arch/arm/configs/orion5x_defconfig
===================================================================
@@ -1417,9 +1417,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_PREEMPT_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
arch/arm/include/asm/ftrace.h +1 -1
Index: linux-tip.git/arch/arm/include/asm/ftrace.h
===================================================================
@@ -1,7 +1,7 @@
 #ifndef _ASM_ARM_FTRACE
 #define _ASM_ARM_FTRACE
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #define MCOUNT_ADDR		((long)(mcount))
 #define MCOUNT_INSN_SIZE	4 /* sizeof mcount call */
 
arch/arm/kernel/armksyms.c +1 -1
Index: linux-tip.git/arch/arm/kernel/armksyms.c
===================================================================
@@ -183,6 +183,6 @@ EXPORT_SYMBOL(_find_next_bit_be);
 
 EXPORT_SYMBOL(copy_page);
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 EXPORT_SYMBOL(mcount);
 #endif
arch/powerpc/kernel/entry_32.S +1 -1
Index: linux-tip.git/arch/powerpc/kernel/entry_32.S
===================================================================
@@ -1158,7 +1158,7 @@ machine_check_in_rtas:
 
 #endif /* CONFIG_PPC_RTAS */
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #ifdef CONFIG_DYNAMIC_FTRACE
 _GLOBAL(mcount)
 _GLOBAL(_mcount)
arch/powerpc/kernel/entry_64.S +1 -1
Index: linux-tip.git/arch/powerpc/kernel/entry_64.S
===================================================================
@@ -881,7 +881,7 @@ _GLOBAL(enter_prom)
 	mtlr    r0
         blr
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #ifdef CONFIG_DYNAMIC_FTRACE
 _GLOBAL(mcount)
 _GLOBAL(_mcount)
arch/powerpc/Kconfig +1 -1
Index: linux-tip.git/arch/powerpc/Kconfig
===================================================================
@@ -112,7 +112,7 @@ config PPC
 	bool
 	default y
 	select HAVE_DYNAMIC_FTRACE
-	select HAVE_FTRACE
+	select HAVE_FUNCTION_TRACER
 	select ARCH_WANT_OPTIONAL_GPIOLIB
 	select HAVE_IDE
 	select HAVE_IOREMAP_PROT
arch/powerpc/configs/40x/ep405_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/40x/ep405_defconfig
===================================================================
@@ -941,9 +941,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/40x/kilauea_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/40x/kilauea_defconfig
===================================================================
@@ -805,9 +805,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/40x/makalu_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/40x/makalu_defconfig
===================================================================
@@ -805,9 +805,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/40x/walnut_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/40x/walnut_defconfig
===================================================================
@@ -856,9 +856,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/bamboo_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/bamboo_defconfig
===================================================================
@@ -785,9 +785,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/canyonlands_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/canyonlands_defconfig
===================================================================
@@ -733,9 +733,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/ebony_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/ebony_defconfig
===================================================================
@@ -872,9 +872,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/katmai_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/katmai_defconfig
===================================================================
@@ -782,9 +782,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/rainier_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/rainier_defconfig
===================================================================
@@ -857,9 +857,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/sam440ep_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/sam440ep_defconfig
===================================================================
@@ -1228,9 +1228,9 @@ CONFIG_MAGIC_SYSRQ=y
 # CONFIG_DEBUG_BUGVERBOSE is not set
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/sequoia_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/sequoia_defconfig
===================================================================
@@ -874,9 +874,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/taishan_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/taishan_defconfig
===================================================================
@@ -864,9 +864,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/44x/virtex5_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/virtex5_defconfig
===================================================================
@@ -1053,9 +1053,9 @@ CONFIG_FRAME_WARN=1024
 CONFIG_DEBUG_BUGVERBOSE=y
 CONFIG_DEBUG_MEMORY_INIT=y
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_PREEMPT_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/powerpc/configs/44x/warp_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/44x/warp_defconfig
===================================================================
@@ -1099,9 +1099,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/asp8347_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/asp8347_defconfig
===================================================================
@@ -1231,9 +1231,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 # CONFIG_SYSCTL_SYSCALL_CHECK is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc8313_rdb_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig
===================================================================
@@ -1431,9 +1431,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc8315_rdb_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc8315_rdb_defconfig
===================================================================
@@ -1492,9 +1492,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc832x_mds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc832x_mds_defconfig
===================================================================
@@ -1109,9 +1109,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc832x_rdb_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc832x_rdb_defconfig
===================================================================
@@ -1265,9 +1265,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc834x_itx_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc834x_itx_defconfig
===================================================================
@@ -1324,9 +1324,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc834x_itxgp_defconfig
===================================================================
@@ -1251,9 +1251,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc834x_mds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc834x_mds_defconfig
===================================================================
@@ -1046,9 +1046,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc836x_mds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc836x_mds_defconfig
===================================================================
@@ -1107,9 +1107,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc836x_rdk_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc836x_rdk_defconfig
===================================================================
@@ -1104,9 +1104,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc837x_mds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc837x_mds_defconfig
===================================================================
@@ -1115,9 +1115,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/mpc837x_rdb_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig
===================================================================
@@ -1203,9 +1203,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/83xx/sbc834x_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/83xx/sbc834x_defconfig
===================================================================
@@ -932,9 +932,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/ksi8560_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/ksi8560_defconfig
===================================================================
@@ -886,9 +886,9 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc8536_ds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc8536_ds_defconfig
===================================================================
@@ -1541,9 +1541,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc8540_ads_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc8540_ads_defconfig
===================================================================
@@ -768,9 +768,9 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc8544_ds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc8544_ds_defconfig
===================================================================
@@ -1542,9 +1542,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc8560_ads_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc8560_ads_defconfig
===================================================================
@@ -876,9 +876,9 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc8568mds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc8568mds_defconfig
===================================================================
@@ -1098,9 +1098,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc8572_ds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc8572_ds_defconfig
===================================================================
@@ -1530,9 +1530,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/mpc85xx_cds_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/mpc85xx_cds_defconfig
===================================================================
@@ -906,9 +906,9 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/sbc8548_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/sbc8548_defconfig
===================================================================
@@ -783,9 +783,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/sbc8560_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/sbc8560_defconfig
===================================================================
@@ -791,9 +791,9 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/stx_gp3_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/stx_gp3_defconfig
===================================================================
@@ -1257,9 +1257,9 @@ CONFIG_SCHED_DEBUG=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/tqm8540_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/tqm8540_defconfig
===================================================================
@@ -1085,9 +1085,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/tqm8541_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/tqm8541_defconfig
===================================================================
@@ -1118,9 +1118,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/tqm8548_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/tqm8548_defconfig
===================================================================
@@ -1166,9 +1166,9 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/tqm8555_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/tqm8555_defconfig
===================================================================
@@ -1118,9 +1118,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/85xx/tqm8560_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/85xx/tqm8560_defconfig
===================================================================
@@ -1118,9 +1118,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/adder875_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/adder875_defconfig
===================================================================
@@ -815,9 +815,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/c2k_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/c2k_defconfig
===================================================================
@@ -1713,9 +1713,9 @@ CONFIG_DEBUG_MEMORY_INIT=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/chrp32_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/chrp32_defconfig
===================================================================
@@ -1408,9 +1408,9 @@ CONFIG_DEBUG_MEMORY_INIT=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/ep8248e_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ep8248e_defconfig
===================================================================
@@ -928,9 +928,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/ep88xc_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ep88xc_defconfig
===================================================================
@@ -771,9 +771,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/g5_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/g5_defconfig
===================================================================
@@ -1664,9 +1664,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/powerpc/configs/iseries_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/iseries_defconfig
===================================================================
@@ -1134,9 +1134,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/powerpc/configs/linkstation_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/linkstation_defconfig
===================================================================
@@ -1577,9 +1577,9 @@ CONFIG_DEBUG_MEMORY_INIT=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/maple_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/maple_defconfig
===================================================================
@@ -1324,9 +1324,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 # CONFIG_SYSCTL_SYSCALL_CHECK is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/powerpc/configs/mpc7448_hpc2_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc7448_hpc2_defconfig
===================================================================
@@ -974,9 +974,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc8272_ads_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc8272_ads_defconfig
===================================================================
@@ -993,9 +993,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc83xx_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc83xx_defconfig
===================================================================
@@ -1337,9 +1337,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc85xx_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc85xx_defconfig
===================================================================
@@ -1583,9 +1583,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc8610_hpcd_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc8610_hpcd_defconfig
===================================================================
@@ -1387,9 +1387,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc8641_hpcn_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc8641_hpcn_defconfig
===================================================================
@@ -1554,9 +1554,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc866_ads_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc866_ads_defconfig
===================================================================
@@ -770,9 +770,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_SLUB_STATS is not set
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/mpc885_ads_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/mpc885_ads_defconfig
===================================================================
@@ -782,9 +782,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/pmac32_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/pmac32_defconfig
===================================================================
@@ -1934,9 +1934,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/ppc40x_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ppc40x_defconfig
===================================================================
@@ -1026,9 +1026,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/ppc44x_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ppc44x_defconfig
===================================================================
@@ -1176,9 +1176,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/ppc64_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ppc64_defconfig
===================================================================
@@ -1936,11 +1936,11 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
 CONFIG_TRACER_MAX_TRACE=y
 CONFIG_TRACING=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 CONFIG_IRQSOFF_TRACER=y
 CONFIG_SCHED_TRACER=y
 CONFIG_CONTEXT_SWITCH_TRACER=y
arch/powerpc/configs/ppc6xx_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ppc6xx_defconfig
===================================================================
@@ -3168,11 +3168,11 @@ CONFIG_FAULT_INJECTION_DEBUG_FS=y
 CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
 CONFIG_TRACER_MAX_TRACE=y
 CONFIG_TRACING=y
-CONFIG_FTRACE=y
+CONFIG_FUNCTION_TRACER=y
 CONFIG_SCHED_TRACER=y
 CONFIG_CONTEXT_SWITCH_TRACER=y
 CONFIG_DYNAMIC_FTRACE=y
arch/powerpc/configs/pq2fads_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/pq2fads_defconfig
===================================================================
@@ -1088,9 +1088,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/prpmc2800_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/prpmc2800_defconfig
===================================================================
@@ -1372,9 +1372,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 CONFIG_DEBUG_MEMORY_INIT=y
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/powerpc/configs/ps3_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/ps3_defconfig
===================================================================
@@ -1257,9 +1257,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/powerpc/configs/pseries_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/pseries_defconfig
===================================================================
@@ -1586,11 +1586,11 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
 CONFIG_TRACER_MAX_TRACE=y
 CONFIG_TRACING=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 CONFIG_IRQSOFF_TRACER=y
 CONFIG_SCHED_TRACER=y
 CONFIG_CONTEXT_SWITCH_TRACER=y
arch/powerpc/configs/sbc8641d_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/sbc8641d_defconfig
===================================================================
@@ -1362,9 +1362,9 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_PREEMPT_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/powerpc/configs/storcenter_defconfig +2 -2
Index: linux-tip.git/arch/powerpc/configs/storcenter_defconfig
===================================================================
@@ -1211,9 +1211,9 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_DEBUG_MEMORY_INIT is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_SAMPLES is not set
arch/sparc64/Kconfig +1 -1
Index: linux-tip.git/arch/sparc64/Kconfig
===================================================================
@@ -12,7 +12,7 @@ config SPARC64
 	bool
 	default y
 	select HAVE_DYNAMIC_FTRACE
-	select HAVE_FTRACE
+	select HAVE_FUNCTION_TRACER
 	select HAVE_IDE
 	select HAVE_LMB
 	select HAVE_ARCH_KGDB
arch/sparc64/defconfig +2 -2
Index: linux-tip.git/arch/sparc64/defconfig
===================================================================
@@ -1416,9 +1416,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_LKDTM is not set
 # CONFIG_FAULT_INJECTION is not set
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
arch/x86/Kconfig +1 -1
Index: linux-tip.git/arch/x86/Kconfig
===================================================================
@@ -27,7 +27,7 @@ config X86
 	select HAVE_KRETPROBES
 	select HAVE_FTRACE_MCOUNT_RECORD
 	select HAVE_DYNAMIC_FTRACE
-	select HAVE_FTRACE
+	select HAVE_FUNCTION_TRACER
 	select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
 	select HAVE_ARCH_KGDB if !X86_VOYAGER
 	select HAVE_ARCH_TRACEHOOK
arch/x86/configs/i386_defconfig +2 -2
Index: linux-tip.git/arch/x86/configs/i386_defconfig
===================================================================
@@ -2079,9 +2079,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SYSPROF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
arch/x86/configs/x86_64_defconfig +2 -2
Index: linux-tip.git/arch/x86/configs/x86_64_defconfig
===================================================================
@@ -2048,9 +2048,9 @@ CONFIG_FRAME_POINTER=y
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_HAVE_FTRACE=y
+CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_DYNAMIC_FTRACE=y
-# CONFIG_FTRACE is not set
+# CONFIG_FUNCTION_TRACER is not set
 # CONFIG_IRQSOFF_TRACER is not set
 # CONFIG_SYSPROF_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
arch/powerpc/include/asm/ftrace.h +1 -1
Index: linux-tip.git/arch/powerpc/include/asm/ftrace.h
===================================================================
@@ -1,7 +1,7 @@
 #ifndef _ASM_POWERPC_FTRACE
 #define _ASM_POWERPC_FTRACE
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #define MCOUNT_ADDR		((long)(_mcount))
 #define MCOUNT_INSN_SIZE	4 /* sizeof mcount call */
 
arch/powerpc/kernel/Makefile +1 -1
Index: linux-tip.git/arch/powerpc/kernel/Makefile
===================================================================
@@ -12,7 +12,7 @@ CFLAGS_prom_init.o      += -fPIC
 CFLAGS_btext.o		+= -fPIC
 endif
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 # Do not trace early boot code
 CFLAGS_REMOVE_cputable.o = -pg -mno-sched-epilog
 CFLAGS_REMOVE_prom_init.o = -pg -mno-sched-epilog
arch/sparc64/lib/mcount.S +2 -2
Index: linux-tip.git/arch/sparc64/lib/mcount.S
===================================================================
@@ -93,7 +93,7 @@ mcount:
 	 nop
 1:
 #endif
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #ifdef CONFIG_DYNAMIC_FTRACE
 	mov		%o7, %o0
 	.globl		mcount_call
@@ -119,7 +119,7 @@ mcount_call:
 	.size		_mcount,.-_mcount
 	.size		mcount,.-mcount
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 	.globl		ftrace_stub
 	.type		ftrace_stub,#function
 ftrace_stub:
arch/x86/kernel/Makefile +1 -1
Index: linux-tip.git/arch/x86/kernel/Makefile
===================================================================
@@ -6,7 +6,7 @@ extra-y                := head_$(BITS).o
 
 CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 # Do not profile debug and lowlevel utilities
 CFLAGS_REMOVE_tsc.o = -pg
 CFLAGS_REMOVE_rtc.o = -pg
arch/x86/kernel/entry_32.S +2 -2
Index: linux-tip.git/arch/x86/kernel/entry_32.S
===================================================================
@@ -1179,7 +1179,7 @@ ENDPROC(xen_failsafe_callback)
 
 #endif	/* CONFIG_XEN */
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #ifdef CONFIG_DYNAMIC_FTRACE
 
 ENTRY(mcount)
@@ -1240,7 +1240,7 @@ trace:
 	jmp ftrace_stub
 END(mcount)
 #endif /* CONFIG_DYNAMIC_FTRACE */
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 .section .rodata,"a"
 #include "syscall_table_32.S"
arch/x86/kernel/entry_64.S +2 -2
Index: linux-tip.git/arch/x86/kernel/entry_64.S
===================================================================
@@ -61,7 +61,7 @@
 
 	.code64
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #ifdef CONFIG_DYNAMIC_FTRACE
 ENTRY(mcount)
 	retq
@@ -143,7 +143,7 @@ trace:
 	jmp ftrace_stub
 END(mcount)
 #endif /* CONFIG_DYNAMIC_FTRACE */
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 #define HARDNMI_MASK 0x40000000
 
arch/x86/kernel/i386_ksyms_32.c +1 -1
Index: linux-tip.git/arch/x86/kernel/i386_ksyms_32.c
===================================================================
@@ -5,7 +5,7 @@
 #include <asm/desc.h>
 #include <asm/ftrace.h>
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 /* mcount is defined in assembly */
 EXPORT_SYMBOL(mcount);
 #endif
arch/x86/kernel/x8664_ksyms_64.c +1 -1
Index: linux-tip.git/arch/x86/kernel/x8664_ksyms_64.c
===================================================================
@@ -12,7 +12,7 @@
 #include <asm/desc.h>
 #include <asm/ftrace.h>
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 /* mcount is defined in assembly */
 EXPORT_SYMBOL(mcount);
 #endif
arch/x86/xen/Makefile +1 -1
Index: linux-tip.git/arch/x86/xen/Makefile
===================================================================
@@ -1,4 +1,4 @@
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 # Do not profile debug and lowlevel utilities
 CFLAGS_REMOVE_spinlock.o = -pg
 CFLAGS_REMOVE_time.o = -pg
include/asm-x86/ftrace.h +2 -2
Index: linux-tip.git/include/asm-x86/ftrace.h
===================================================================
@@ -1,7 +1,7 @@
 #ifndef ASM_X86__FTRACE_H
 #define ASM_X86__FTRACE_H
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 #define MCOUNT_ADDR		((long)(mcount))
 #define MCOUNT_INSN_SIZE	5 /* sizeof mcount call */
 
@@ -19,6 +19,6 @@ static inline unsigned long ftrace_call_
 }
 #endif
 
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 #endif /* ASM_X86__FTRACE_H */
include/linux/ftrace.h +6 -6
Index: linux-tip.git/include/linux/ftrace.h
===================================================================
@@ -8,7 +8,7 @@
 #include <linux/types.h>
 #include <linux/kallsyms.h>
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 
 extern int ftrace_enabled;
 extern int
@@ -64,12 +64,12 @@ void clear_ftrace_function(void);
 
 extern void ftrace_stub(unsigned long a0, unsigned long a1);
 
-#else /* !CONFIG_FTRACE */
+#else /* !CONFIG_FUNCTION_TRACER */
 # define register_ftrace_function(ops) do { } while (0)
 # define unregister_ftrace_function(ops) do { } while (0)
 # define clear_ftrace_function(ops) do { } while (0)
 static inline void ftrace_kill_atomic(void) { }
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 #ifdef CONFIG_DYNAMIC_FTRACE
 # define FTRACE_HASHBITS	10
@@ -129,7 +129,7 @@ void ftrace_kill_atomic(void);
 
 static inline void tracer_disable(void)
 {
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 	ftrace_enabled = 0;
 #endif
 }
@@ -141,7 +141,7 @@ static inline void tracer_disable(void)
  */
 static inline int __ftrace_enabled_save(void)
 {
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 	int saved_ftrace_enabled = ftrace_enabled;
 	ftrace_enabled = 0;
 	return saved_ftrace_enabled;
@@ -152,7 +152,7 @@ static inline int __ftrace_enabled_save(
 
 static inline void __ftrace_enabled_restore(int enabled)
 {
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 	ftrace_enabled = enabled;
 #endif
 }
kernel/Makefile +2 -2
Index: linux-tip.git/kernel/Makefile
===================================================================
@@ -13,7 +13,7 @@ obj-y     = sched.o fork.o exec_domain.o
 
 CFLAGS_REMOVE_sched.o = -mno-spe
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 # Do not trace debug files and internal ftrace files
 CFLAGS_REMOVE_lockdep.o = -pg
 CFLAGS_REMOVE_lockdep_proc.o = -pg
@@ -86,7 +86,7 @@ obj-$(CONFIG_MARKERS) += marker.o
 obj-$(CONFIG_TRACEPOINTS) += tracepoint.o
 obj-$(CONFIG_LATENCYTOP) += latencytop.o
 obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
-obj-$(CONFIG_FTRACE) += trace/
+obj-$(CONFIG_FUNCTION_TRACER) += trace/
 obj-$(CONFIG_TRACING) += trace/
 obj-$(CONFIG_SMP) += sched_cpupri.o
 
kernel/sysctl.c +1 -1
Index: linux-tip.git/kernel/sysctl.c
===================================================================
@@ -469,7 +469,7 @@ static struct ctl_table kern_table[] = {
 		.mode		= 0644,
 		.proc_handler	= &proc_dointvec,
 	},
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 	{
 		.ctl_name	= CTL_UNNUMBERED,
 		.procname	= "ftrace_enabled",
kernel/trace/trace.c +1 -1
Index: linux-tip.git/kernel/trace/trace.c
===================================================================
@@ -856,7 +856,7 @@ ftrace_special(unsigned long arg1, unsig
 	preempt_enable_notrace();
 }
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 static void
 function_trace_call(unsigned long ip, unsigned long parent_ip)
 {
kernel/trace/trace.h +1 -1
Index: linux-tip.git/kernel/trace/trace.h
===================================================================
@@ -335,7 +335,7 @@ void update_max_tr_single(struct trace_a
 
 extern cycle_t ftrace_now(int cpu);
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 void tracing_start_function_trace(void);
 void tracing_stop_function_trace(void);
 #else
kernel/trace/trace_irqsoff.c +2 -2
Index: linux-tip.git/kernel/trace/trace_irqsoff.c
===================================================================
@@ -63,7 +63,7 @@ irq_trace(void)
  */
 static __cacheline_aligned_in_smp	unsigned long max_sequence;
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 /*
  * irqsoff uses its own tracer function to keep the overhead down:
  */
@@ -104,7 +104,7 @@ static struct ftrace_ops trace_ops __rea
 {
 	.func = irqsoff_tracer_call,
 };
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 /*
  * Should this new latency be reported/recorded?
kernel/trace/trace_sched_wakeup.c +2 -2
Index: linux-tip.git/kernel/trace/trace_sched_wakeup.c
===================================================================
@@ -31,7 +31,7 @@ static raw_spinlock_t wakeup_lock =
 
 static void __wakeup_reset(struct trace_array *tr);
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 /*
  * irqsoff uses its own tracer function to keep the overhead down:
  */
@@ -96,7 +96,7 @@ static struct ftrace_ops trace_ops __rea
 {
 	.func = wakeup_tracer_call,
 };
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 /*
  * Should this new latency be reported/recorded?
kernel/trace/trace_selftest.c +2 -2
Index: linux-tip.git/kernel/trace/trace_selftest.c
===================================================================
@@ -70,7 +70,7 @@ static int trace_test_buffer(struct trac
 	return ret;
 }
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 
 #ifdef CONFIG_DYNAMIC_FTRACE
 
@@ -226,7 +226,7 @@ trace_selftest_startup_function(struct t
 
 	return ret;
 }
-#endif /* CONFIG_FTRACE */
+#endif /* CONFIG_FUNCTION_TRACER */
 
 #ifdef CONFIG_IRQSOFF_TRACER
 int
lib/Makefile +1 -1
Index: linux-tip.git/lib/Makefile
===================================================================
@@ -2,7 +2,7 @@
 # Makefile for some libs needed in the kernel.
 #
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 ORIG_CFLAGS := $(KBUILD_CFLAGS)
 KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
 endif
arch/sparc64/Kconfig.debug +1 -1
Index: linux-tip.git/arch/sparc64/Kconfig.debug
===================================================================
@@ -33,7 +33,7 @@ config DEBUG_PAGEALLOC
 
 config MCOUNT
 	bool
-	depends on STACK_DEBUG || FTRACE
+	depends on STACK_DEBUG || FUNCTION_TRACER
 	default y
 
 config FRAME_POINTER
arch/powerpc/Makefile +1 -1
Index: linux-tip.git/arch/powerpc/Makefile
===================================================================
@@ -117,7 +117,7 @@ KBUILD_CFLAGS		+= -mcpu=powerpc
 endif
 
 # Work around a gcc code-gen bug with -fno-omit-frame-pointer.
-ifeq ($(CONFIG_FTRACE),y)
+ifeq ($(CONFIG_FUNCTION_TRACER),y)
 KBUILD_CFLAGS		+= -mno-sched-epilog
 endif
 
arch/powerpc/kernel/ppc_ksyms.c +1 -1
Index: linux-tip.git/arch/powerpc/kernel/ppc_ksyms.c
===================================================================
@@ -68,7 +68,7 @@ EXPORT_SYMBOL(single_step_exception);
 EXPORT_SYMBOL(sys_sigreturn);
 #endif
 
-#ifdef CONFIG_FTRACE
+#ifdef CONFIG_FUNCTION_TRACER
 EXPORT_SYMBOL(_mcount);
 #endif
 
arch/powerpc/platforms/powermac/Makefile +1 -1
Index: linux-tip.git/arch/powerpc/platforms/powermac/Makefile
===================================================================
@@ -1,6 +1,6 @@
 CFLAGS_bootx_init.o  		+= -fPIC
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 # Do not trace early boot code
 CFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog
 endif
author maintainer
#3 lore raw

PATCH 3/3 ftrace: rename the ftrace tracer to function

In reply to Steven Rostedt

To avoid further confusion between the ftrace infrastructure and the function tracer. This patch renames the "ftrace" function tracer to "function".

Now in available_tracers, instead of "ftrace" there will be "function".

This makes more sense, since people will not know exactly what the "ftrace" tracer does.

---
 kernel/trace/trace_functions.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_functions.c +1 -1
Index: linux-tip.git/kernel/trace/trace_functions.c
===================================================================
@@ -64,7 +64,7 @@ static void function_trace_ctrl_update(s
 
 static struct tracer function_trace __read_mostly =
 {
-	.name	     = "ftrace",
+	.name	     = "function",
 	.init	     = function_trace_init,
 	.reset	     = function_trace_reset,
 	.ctrl_update = function_trace_ctrl_update,
#4 lore raw
In reply to Steven Rostedt
Quoted 9 lines · Steven Rostedt

There has been a lot of confusion between ftrace the infrastructure and ftrace the function tracer within ftrace. Developers have added dependencies on HAVE_FTRACE when they did not need to. The HAVE_FTRACE was the architecture supported the function tracer.

This patch series renames the ftrace function tracer to just that, FUNCTION_TRACER. And even renames the tracer shown to users from 'ftrace' to 'function'.

Quoted 6 lines

Now, when referring to ftrace, it means the ftrace infrastructure, and when referring to the function trace, it is now called the function tracer.

The second patch cause a lot of files to be touched. Mostly Makefiles and Kconfig files. As well as default configs.

applied the following bits to tip/tracing/ftrace:

3ce83ae: ftrace: rename the ftrace tracer to function 606576c: ftrace: rename FTRACE to FUNCTION_TRACER
c2db805: ftrace: fix depends
bd95b88: ftrace: release functions from hash
c513867: ftrace: do not enclose logic in WARN_ON

thanks Steve! I left out the defconfig bits - out of sync symbol names there do not hurt, and those files are high-flux anyway and generally updated by the arch maintainers regularly.

Ingo