summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2008-03-31 11:05:13 -0400
committerMartin Hunt <hunt@redhat.com>2008-03-31 11:05:13 -0400
commitb45613ad2a9740217ad3050adc6fcd038286ce88 (patch)
tree297c4a233db4efa3b9286dac6caca2dc6a547c11 /runtime/runtime.h
parenta18db0a7895c33bb5246a15f715b30fbd006bd9b (diff)
downloadsystemtap-steved-b45613ad2a9740217ad3050adc6fcd038286ce88.tar.gz
systemtap-steved-b45613ad2a9740217ad3050adc6fcd038286ce88.tar.xz
systemtap-steved-b45613ad2a9740217ad3050adc6fcd038286ce88.zip
Add new define STP_USE_DWARF_UNWINDER which is set based on which archs
work with the unwinder.
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 6d8d9dc9..8d267173 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -77,6 +77,11 @@ static struct
#endif
#endif
+/* dwarf unwinder only tested so far on i386 and x86_64 */
+#if !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"