diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-13 03:31:08 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-13 03:31:08 -0400 |
commit | c8afde7f40577b80d30aa8abcdee74c76a4b800a (patch) | |
tree | 01e329c30ab0da816afb9c93a86e1689b4d16396 | |
parent | 5a3abba77dc0eb0b00332c21899123cdfa3b19e5 (diff) |
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>
-rw-r--r-- | arch/sh/kernel/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 18a1e279b430..f8791203cfe3 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile | |||
@@ -9,6 +9,8 @@ ifdef CONFIG_FUNCTION_TRACER | |||
9 | CFLAGS_REMOVE_ftrace.o = -pg | 9 | CFLAGS_REMOVE_ftrace.o = -pg |
10 | endif | 10 | endif |
11 | 11 | ||
12 | CFLAGS_REMOVE_return_address.o = -pg | ||
13 | |||
12 | obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \ | 14 | obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \ |
13 | machvec.o nmi_debug.o process_$(BITS).o ptrace_$(BITS).o \ | 15 | machvec.o nmi_debug.o process_$(BITS).o ptrace_$(BITS).o \ |
14 | return_address.o \ | 16 | return_address.o \ |