summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/s390_ksyms.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-12-25 13:38:56 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:39:03 +0100
commit5d360a75f87f288e9a25d56cca503a7c7939e490 (patch)
tree46d9d0f1c05ac21395d1cc34abbf857a4a69cd6e /arch/s390/kernel/s390_ksyms.c
parent98df67b324a2a986987ce29986e44ae9156b6698 (diff)
downloadtalos-obmc-linux-5d360a75f87f288e9a25d56cca503a7c7939e490.tar.gz
talos-obmc-linux-5d360a75f87f288e9a25d56cca503a7c7939e490.zip
[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/s390_ksyms.c')
-rw-r--r--arch/s390/kernel/s390_ksyms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kernel/s390_ksyms.c b/arch/s390/kernel/s390_ksyms.c
index 48238a114ce9..46b90cb03707 100644
--- a/arch/s390/kernel/s390_ksyms.c
+++ b/arch/s390/kernel/s390_ksyms.c
@@ -14,6 +14,7 @@
#include <asm/delay.h>
#include <asm/pgalloc.h>
#include <asm/setup.h>
+#include <asm/ftrace.h>
#ifdef CONFIG_IP_MULTICAST
#include <net/arp.h>
#endif
@@ -43,3 +44,7 @@ EXPORT_SYMBOL(csum_fold);
EXPORT_SYMBOL(console_mode);
EXPORT_SYMBOL(console_devno);
EXPORT_SYMBOL(console_irq);
+
+#ifdef CONFIG_FUNCTION_TRACER
+EXPORT_SYMBOL(_mcount);
+#endif
OpenPOWER on IntegriCloud