diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-06-12 04:26:46 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-12 04:27:39 -0400 |
commit | 88dbd2037229bd2ed7543ffd0d8f2d9dec9d31d2 (patch) | |
tree | 60dd9e5ec02fb95872809c7076a4e717fc82dea5 /arch/s390/kernel/Makefile | |
parent | 8b4488f85d619253c9e631ec723368f400106771 (diff) |
[S390] ftrace: add function graph tracer support
Function graph tracer support for s390.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/Makefile')
-rw-r--r-- | arch/s390/kernel/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile index ce172bfaab8a..c75ed43b1a18 100644 --- a/arch/s390/kernel/Makefile +++ b/arch/s390/kernel/Makefile | |||
@@ -3,11 +3,8 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | ifdef CONFIG_FUNCTION_TRACER | 5 | ifdef CONFIG_FUNCTION_TRACER |
6 | # Do not trace early boot code | 6 | # Don't trace early setup code and tracing code |
7 | CFLAGS_REMOVE_early.o = -pg | 7 | CFLAGS_REMOVE_early.o = -pg |
8 | endif | ||
9 | |||
10 | ifdef CONFIG_DYNAMIC_FTRACE | ||
11 | CFLAGS_REMOVE_ftrace.o = -pg | 8 | CFLAGS_REMOVE_ftrace.o = -pg |
12 | endif | 9 | endif |
13 | 10 | ||
@@ -46,6 +43,7 @@ obj-$(CONFIG_STACKTRACE) += stacktrace.o | |||
46 | obj-$(CONFIG_KPROBES) += kprobes.o | 43 | obj-$(CONFIG_KPROBES) += kprobes.o |
47 | obj-$(CONFIG_FUNCTION_TRACER) += mcount.o | 44 | obj-$(CONFIG_FUNCTION_TRACER) += mcount.o |
48 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | 45 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
46 | obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o | ||
49 | 47 | ||
50 | # Kexec part | 48 | # Kexec part |
51 | S390_KEXEC_OBJS := machine_kexec.o crash.o | 49 | S390_KEXEC_OBJS := machine_kexec.o crash.o |