diff options
author | Martin Hunt <hunt@redhat.com> | 2008-03-30 19:47:51 -0400 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2008-03-30 19:47:51 -0400 |
commit | 20d2c2c26b42b27a4881a46364a33330b2a6ea31 (patch) | |
tree | 8c2c94a65276d7815314eea72fa6ac30964c4cf1 /runtime/runtime.h | |
parent | 6567250495117bfa4eb8b58c805897133c0d3ff2 (diff) | |
download | systemtap-steved-20d2c2c26b42b27a4881a46364a33330b2a6ea31.tar.gz systemtap-steved-20d2c2c26b42b27a4881a46364a33330b2a6ea31.tar.xz systemtap-steved-20d2c2c26b42b27a4881a46364a33330b2a6ea31.zip |
Support for kernels built with CONFIG_FRAME_POINTER
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index b9a9c778..6d8d9dc9 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -70,6 +70,13 @@ static struct #define MAXSTRINGLEN 128 #endif +#ifdef CONFIG_FRAME_POINTER +/* Just because frame pointers are available does not mean we can trust them. */ +#if defined (__i386__) || defined (__arm__) +#define STP_USE_FRAME_POINTER +#endif +#endif + #include "alloc.c" #include "print.c" #include "string.c" |