Skip to content

Commit debfcaf

Browse files
author
Ingo Molnar
committed
Merge branch 'tracing/ftrace' into tracing/urgent
2 parents 2515ddc + 81520a1 commit debfcaf

40 files changed

Lines changed: 113 additions & 68 deletions

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ KBUILD_CFLAGS += -g
536536
KBUILD_AFLAGS += -gdwarf-2
537537
endif
538538

539-
ifdef CONFIG_FTRACE
539+
ifdef CONFIG_FUNCTION_TRACER
540540
KBUILD_CFLAGS += -pg
541541
endif
542542

‎arch/arm/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ config ARM
1616
select HAVE_ARCH_KGDB
1717
select HAVE_KPROBES if (!XIP_KERNEL)
1818
select HAVE_KRETPROBES if (HAVE_KPROBES)
19-
select HAVE_FTRACE if (!XIP_KERNEL)
20-
select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE)
19+
select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
20+
select HAVE_DYNAMIC_FTRACE if (HAVE_FUNCTION_TRACER)
2121
select HAVE_GENERIC_DMA_COHERENT
2222
help
2323
The ARM series is a line of low-power-consumption RISC chip designs

‎arch/arm/boot/compressed/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
7070
targets := vmlinux vmlinux.lds piggy.gz piggy.o font.o font.c \
7171
head.o misc.o $(OBJS)
7272

73-
ifeq ($(CONFIG_FTRACE),y)
73+
ifeq ($(CONFIG_FUNCTION_TRACER),y)
7474
ORIG_CFLAGS := $(KBUILD_CFLAGS)
7575
KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
7676
endif

‎arch/arm/include/asm/ftrace.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _ASM_ARM_FTRACE
22
#define _ASM_ARM_FTRACE
33

4-
#ifdef CONFIG_FTRACE
4+
#ifdef CONFIG_FUNCTION_TRACER
55
#define MCOUNT_ADDR ((long)(mcount))
66
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
77

‎arch/arm/kernel/armksyms.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@ EXPORT_SYMBOL(_find_next_bit_be);
183183

184184
EXPORT_SYMBOL(copy_page);
185185

186-
#ifdef CONFIG_FTRACE
186+
#ifdef CONFIG_FUNCTION_TRACER
187187
EXPORT_SYMBOL(mcount);
188188
#endif

‎arch/arm/kernel/entry-common.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ ENDPROC(ret_from_fork)
101101
#undef CALL
102102
#define CALL(x) .long x
103103

104-
#ifdef CONFIG_FTRACE
104+
#ifdef CONFIG_FUNCTION_TRACER
105105
#ifdef CONFIG_DYNAMIC_FTRACE
106106
ENTRY(mcount)
107107
stmdb sp!, {r0-r3, lr}
@@ -149,7 +149,7 @@ trace:
149149
ftrace_stub:
150150
mov pc, lr
151151

152-
#endif /* CONFIG_FTRACE */
152+
#endif /* CONFIG_FUNCTION_TRACER */
153153

154154
/*=============================================================================
155155
* SWI handler

‎arch/powerpc/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ config PPC
112112
bool
113113
default y
114114
select HAVE_DYNAMIC_FTRACE
115-
select HAVE_FTRACE
115+
select HAVE_FUNCTION_TRACER
116116
select ARCH_WANT_OPTIONAL_GPIOLIB
117117
select HAVE_IDE
118118
select HAVE_IOREMAP_PROT

‎arch/powerpc/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ KBUILD_CFLAGS += -mcpu=powerpc
122122
endif
123123

124124
# Work around a gcc code-gen bug with -fno-omit-frame-pointer.
125-
ifeq ($(CONFIG_FTRACE),y)
125+
ifeq ($(CONFIG_FUNCTION_TRACER),y)
126126
KBUILD_CFLAGS += -mno-sched-epilog
127127
endif
128128

‎arch/powerpc/include/asm/ftrace.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _ASM_POWERPC_FTRACE
22
#define _ASM_POWERPC_FTRACE
33

4-
#ifdef CONFIG_FTRACE
4+
#ifdef CONFIG_FUNCTION_TRACER
55
#define MCOUNT_ADDR ((long)(_mcount))
66
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
77

‎arch/powerpc/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CFLAGS_prom_init.o += -fPIC
1212
CFLAGS_btext.o += -fPIC
1313
endif
1414

15-
ifdef CONFIG_FTRACE
15+
ifdef CONFIG_FUNCTION_TRACER
1616
# Do not trace early boot code
1717
CFLAGS_REMOVE_cputable.o = -pg -mno-sched-epilog
1818
CFLAGS_REMOVE_prom_init.o = -pg -mno-sched-epilog

0 commit comments

Comments
 (0)