diff options
author | Martin Hunt <hunt@redhat.com> | 2008-03-31 11:05:13 -0400 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2008-03-31 11:05:13 -0400 |
commit | b45613ad2a9740217ad3050adc6fcd038286ce88 (patch) | |
tree | 297c4a233db4efa3b9286dac6caca2dc6a547c11 /runtime/runtime.h | |
parent | a18db0a7895c33bb5246a15f715b30fbd006bd9b (diff) | |
download | systemtap-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.h | 5 |
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" |