Skip to content

Commit

Permalink
sh: Don't profile return_address().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pmundt committed Oct 13, 2009
1 parent 5a3abba commit c8afde7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sh/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_ftrace.o = -pg
endif

CFLAGS_REMOVE_return_address.o = -pg

obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \
machvec.o nmi_debug.o process_$(BITS).o ptrace_$(BITS).o \
return_address.o \
Expand Down

0 comments on commit c8afde7

Please sign in to comment.