aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/Makefile
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-12-25 07:38:56 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 07:39:03 -0500
commit5d360a75f87f288e9a25d56cca503a7c7939e490 (patch)
tree46d9d0f1c05ac21395d1cc34abbf857a4a69cd6e /arch/s390/kernel/Makefile
parent98df67b324a2a986987ce29986e44ae9156b6698 (diff)
[S390] ftrace: function tracer backend for s390
This implements just the basic function tracer (_mcount) backend for s390. The dynamic variant will come later. 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/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile
index 235b9484a4d..92730cc3cdb 100644
--- a/arch/s390/kernel/Makefile
+++ b/arch/s390/kernel/Makefile
@@ -2,6 +2,11 @@
2# Makefile for the linux kernel. 2# Makefile for the linux kernel.
3# 3#
4 4
5ifdef CONFIG_FUNCTION_TRACER
6# Do not trace early boot code
7CFLAGS_REMOVE_early.o = -pg
8endif
9
5# 10#
6# Passing null pointers is ok for smp code, since we access the lowcore here. 11# Passing null pointers is ok for smp code, since we access the lowcore here.
7# 12#
@@ -34,6 +39,7 @@ obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \
34obj-$(CONFIG_VIRT_TIMER) += vtime.o 39obj-$(CONFIG_VIRT_TIMER) += vtime.o
35obj-$(CONFIG_STACKTRACE) += stacktrace.o 40obj-$(CONFIG_STACKTRACE) += stacktrace.o
36obj-$(CONFIG_KPROBES) += kprobes.o 41obj-$(CONFIG_KPROBES) += kprobes.o
42obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
37 43
38# Kexec part 44# Kexec part
39S390_KEXEC_OBJS := machine_kexec.o crash.o 45S390_KEXEC_OBJS := machine_kexec.o crash.o