summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/xtensa_ksyms.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-05-24 07:02:25 +0400
committerChris Zankel <chris@zankel.net>2013-07-08 01:18:57 -0700
commit478ba61afccd3a4d7ca662cadff1d35d183fe67d (patch)
tree9458a98aa39dba5e195241a48a4c31435a4c92e3 /arch/xtensa/kernel/xtensa_ksyms.c
parent220f5354089b27e8eeaa8658806dabc59ce55729 (diff)
downloadop-kernel-dev-478ba61afccd3a4d7ca662cadff1d35d183fe67d.zip
op-kernel-dev-478ba61afccd3a4d7ca662cadff1d35d183fe67d.tar.gz
xtensa: add static function tracer support
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel/xtensa_ksyms.c')
-rw-r--r--arch/xtensa/kernel/xtensa_ksyms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c
index 42c53c87..d8507f8 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -124,3 +124,7 @@ extern long common_exception_return;
extern long _spill_registers;
EXPORT_SYMBOL(common_exception_return);
EXPORT_SYMBOL(_spill_registers);
+
+#ifdef CONFIG_FUNCTION_TRACER
+EXPORT_SYMBOL(_mcount);
+#endif
OpenPOWER on IntegriCloud