Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Don't profile return_address().

This adds return_address.c to the -pg exclusion list, as this is the
building block for CALLER_ADDRx we do not want to profile this.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+2
+2
arch/sh/kernel/Makefile
··· 9 9 CFLAGS_REMOVE_ftrace.o = -pg 10 10 endif 11 11 12 + CFLAGS_REMOVE_return_address.o = -pg 13 + 12 14 obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \ 13 15 machvec.o nmi_debug.o process_$(BITS).o ptrace_$(BITS).o \ 14 16 return_address.o \