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/stack-i386.c | |
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/stack-i386.c')
-rw-r--r-- | runtime/stack-i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stack-i386.c b/runtime/stack-i386.c index 11919b29..20c8eda5 100644 --- a/runtime/stack-i386.c +++ b/runtime/stack-i386.c @@ -32,7 +32,7 @@ static void __stp_stack_print (struct pt_regs *regs, int verbose, int levels) unsigned long *stack = (unsigned long *)®_SP(regs); unsigned long context = (unsigned long)stack & ~(THREAD_SIZE - 1); -#ifdef CONFIG_FRAME_POINTER +#ifdef STP_USE_FRAME_POINTER /* FIXME: need to use _stp_func_print() and safe copy */ unsigned long addr; @@ -72,5 +72,5 @@ static void __stp_stack_print (struct pt_regs *regs, int verbose, int levels) _stp_stack_print_fallback(context, UNW_SP(&info), verbose); break; } -#endif /* CONFIG_FRAME_POINTER */ +#endif /* STP_USE_FRAME_POINTER */ } |