Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit debfcaf9 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

Merge branch 'tracing/ftrace' into tracing/urgent

parents 2515ddc6 81520a1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ KBUILD_CFLAGS += -g
KBUILD_AFLAGS	+= -gdwarf-2
endif

ifdef CONFIG_FTRACE
ifdef CONFIG_FUNCTION_TRACER
KBUILD_CFLAGS	+= -pg
endif

+2 −2
Original line number Diff line number Diff line
@@ -16,8 +16,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
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
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
+1 −1
Original line number Diff line number Diff line
#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 */

+1 −1
Original line number Diff line number Diff line
@@ -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
Loading