summaryrefslogtreecommitdiffstats
path: root/runtime/transport/symbols.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/transport/symbols.c')
-rw-r--r--runtime/transport/symbols.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/transport/symbols.c b/runtime/transport/symbols.c
index 118d5693..8bab1e70 100644
--- a/runtime/transport/symbols.c
+++ b/runtime/transport/symbols.c
@@ -581,10 +581,7 @@ static int _stp_init_modules(void)
/* unlocks the list */
modules_op->stop(NULL, NULL);
-#ifdef STP_USE_FRAME_POINTER
- /* done with modules, now go */
- _stp_ctl_send(STP_TRANSPORT, NULL, 0);
-#else
+#ifdef STP_USE_DWARF_UNWINDER
/* now that we have all the modules, ask for their unwind info */
{
unsigned long flags;
@@ -616,7 +613,11 @@ static int _stp_init_modules(void)
left -= 2;
_stp_ctl_send(STP_UNWIND, buf, sizeof(buf) - left);
}
-#endif
+#else
+ /* done with modules, now go */
+ _stp_ctl_send(STP_TRANSPORT, NULL, 0);
+#endif /* STP_USE_DWARF_UNWINDER */
+
return 0;
}