summaryrefslogtreecommitdiffstats
path: root/runtime/unwind/unwind.h
diff options
context:
space:
mode:
authorwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-15 21:32:59 -0400
committerwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-15 21:32:59 -0400
commit7edb09d8ba7689d26aefc0a273f334cec4419539 (patch)
treeef40e55d0be98abe137c6d174b5bdb8c40bb022c /runtime/unwind/unwind.h
parentbd10b81c06a0102ac10617da2f368fcc168fc15e (diff)
parent8a49d1d23c77033bf98fc7b139b37f83e3e0eb49 (diff)
downloadsystemtap-steved-7edb09d8ba7689d26aefc0a273f334cec4419539.tar.gz
systemtap-steved-7edb09d8ba7689d26aefc0a273f334cec4419539.tar.xz
systemtap-steved-7edb09d8ba7689d26aefc0a273f334cec4419539.zip
Merge branch 'master' of ssh://wenji@sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/unwind/unwind.h')
-rw-r--r--runtime/unwind/unwind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/unwind/unwind.h b/runtime/unwind/unwind.h
index 8651cb9e..ae5e75d3 100644
--- a/runtime/unwind/unwind.h
+++ b/runtime/unwind/unwind.h
@@ -13,6 +13,8 @@
#ifndef _STP_UNWIND_H_
#define _STP_UNWIND_H_
+#ifdef STP_USE_DWARF_UNWINDER
+
#if defined (__x86_64__)
#include "x86_64.h"
#elif defined (__i386__)
@@ -139,4 +141,6 @@ static const u32 bad_cie, not_fde;
static const u32 *cie_for_fde(const u32 *fde, const struct _stp_module *);
static signed fde_pointer_type(const u32 *cie);
+
+#endif /* STP_USE_DWARF_UNWINDER */
#endif /*_STP_UNWIND_H_*/