summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-16 12:01:52 -0400
committerDave Brolley <brolley@redhat.com>2009-04-16 12:01:52 -0400
commitae0430755d1605d934e9655d6f7206487fe6fc68 (patch)
tree2f48fb31a10334192b63ed19ac99d5e118306849 /runtime/runtime.h
parent44602d5b700d547cb1d560e90c0187c3fe66d613 (diff)
parentbc33c23b2953b923446ea059e9991913d8b2cc3c (diff)
downloadsystemtap-steved-ae0430755d1605d934e9655d6f7206487fe6fc68.tar.gz
systemtap-steved-ae0430755d1605d934e9655d6f7206487fe6fc68.tar.xz
systemtap-steved-ae0430755d1605d934e9655d6f7206487fe6fc68.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 0a656b78..c2e927cc 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -66,6 +66,13 @@ static struct
#define MAXTRACE 20
#endif
+/* dwarf unwinder only tested so far on i386 and x86_64. */
+#if (defined(__i386__) || defined(__x86_64__))
+#ifndef STP_USE_DWARF_UNWINDER
+#define STP_USE_DWARF_UNWINDER
+#endif
+#endif
+
#ifdef CONFIG_FRAME_POINTER
/* Just because frame pointers are available does not mean we can trust them. */
#ifndef STP_USE_DWARF_UNWINDER
@@ -73,13 +80,6 @@ static struct
#endif
#endif
-/* dwarf unwinder only tested so far on i386 and x86_64,
- but globally disabled for now */
-#if 0
-// !defined(STP_USE_FRAME_BUFFER) && (defined(__i386__) || defined(__x86_64__))
-#define STP_USE_DWARF_UNWINDER
-#endif
-
#include "alloc.c"
#include "print.c"
#include "string.c"