summaryrefslogtreecommitdiffstats
path: root/runtime/transport/symbols.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2008-03-30 19:47:51 -0400
committerMartin Hunt <hunt@redhat.com>2008-03-30 19:47:51 -0400
commit20d2c2c26b42b27a4881a46364a33330b2a6ea31 (patch)
tree8c2c94a65276d7815314eea72fa6ac30964c4cf1 /runtime/transport/symbols.c
parent6567250495117bfa4eb8b58c805897133c0d3ff2 (diff)
downloadsystemtap-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/transport/symbols.c')
-rw-r--r--runtime/transport/symbols.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/transport/symbols.c b/runtime/transport/symbols.c
index 83a3a635..118d5693 100644
--- a/runtime/transport/symbols.c
+++ b/runtime/transport/symbols.c
@@ -581,7 +581,10 @@ static int _stp_init_modules(void)
/* unlocks the list */
modules_op->stop(NULL, NULL);
-#ifndef CONFIG_FRAME_POINTER
+#ifdef STP_USE_FRAME_POINTER
+ /* done with modules, now go */
+ _stp_ctl_send(STP_TRANSPORT, NULL, 0);
+#else
/* now that we have all the modules, ask for their unwind info */
{
unsigned long flags;