summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-03 13:31:05 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-03 13:31:05 -0400
commit4776796a9a0c30189aeef056ec9b050e4a029bf8 (patch)
treee36a80d188099585fd5c6d463038a732f4894ffc /runtime
parentfc2edb49d9638e1c64c581ed61d94d3bf9aec28f (diff)
downloadsystemtap-steved-4776796a9a0c30189aeef056ec9b050e4a029bf8.tar.gz
systemtap-steved-4776796a9a0c30189aeef056ec9b050e4a029bf8.tar.xz
systemtap-steved-4776796a9a0c30189aeef056ec9b050e4a029bf8.zip
PR6429: remove stapio STP_UNWIND support and associated elfutils dependency
Diffstat (limited to 'runtime')
-rw-r--r--runtime/staprun/ChangeLog5
-rw-r--r--runtime/staprun/mainloop.c12
-rw-r--r--runtime/transport/ChangeLog7
-rw-r--r--runtime/transport/control.c3
-rw-r--r--runtime/transport/symbols.c2
-rw-r--r--runtime/transport/transport_msgs.h2
6 files changed, 13 insertions, 18 deletions
diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog
index 969c299d..27f4d8c8 100644
--- a/runtime/staprun/ChangeLog
+++ b/runtime/staprun/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-03 Frank Ch. Eigler <fche@elastic.org>
+
+ PR 6429.
+ * mainloop.c (stp_main_loop): Remove STP_UNWIND message support.
+
2008-05-05 Martin Hunt <hunt@redhat.com>
* mainloop.c (child_proc): Handle sig_chld
diff --git a/runtime/staprun/mainloop.c b/runtime/staprun/mainloop.c
index 61963743..2bbadbc9 100644
--- a/runtime/staprun/mainloop.c
+++ b/runtime/staprun/mainloop.c
@@ -387,18 +387,6 @@ int stp_main_loop(void)
cleanup_and_exit(1);
break;
}
- case STP_UNWIND:
- {
- int len;
- char *ptr = (char *)data;
- while (nb > 0) {
- send_unwind_data(ptr);
- len = strlen(ptr) + 1;
- ptr += len;
- nb -= len;
- }
- break;
- }
default:
err("WARNING: ignored message of type %d\n", (type));
}
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog
index 9d0ba162..92d3c589 100644
--- a/runtime/transport/ChangeLog
+++ b/runtime/transport/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-03 Frank Ch. Eigler <fche@elastic.org>
+
+ PR 6429
+ * symbols.c (_stp_init_modules): Don't ask stapio for unwind data.
+ * control.c (_stp_ctl_write_cmd): Remove STP_UNWIND support.
+ * transport_msgs.h (STP_UNWIND): Remove declaration.
+
2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
PR 5645
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index ca7edf79..4b476ee1 100644
--- a/runtime/transport/control.c
+++ b/runtime/transport/control.c
@@ -36,9 +36,6 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz
#endif
switch (type) {
- case STP_UNWIND:
- _stp_do_unwind_data(buf, count);
- break;
case STP_START:
if (started == 0) {
struct _stp_msg_start st;
diff --git a/runtime/transport/symbols.c b/runtime/transport/symbols.c
index ec047922..4a3c4e17 100644
--- a/runtime/transport/symbols.c
+++ b/runtime/transport/symbols.c
@@ -629,7 +629,7 @@ static int _stp_init_modules(void)
/* unlocks the list */
modules_op->stop(NULL, NULL);
-#ifdef STP_USE_DWARF_UNWINDER
+#if 0 /* def STP_USE_DWARF_UNWINDER */
/* now that we have all the modules, ask for their unwind info */
{
unsigned long flags;
diff --git a/runtime/transport/transport_msgs.h b/runtime/transport/transport_msgs.h
index 5f385565..27476e76 100644
--- a/runtime/transport/transport_msgs.h
+++ b/runtime/transport/transport_msgs.h
@@ -23,7 +23,6 @@ enum
STP_EXIT,
STP_OOB_DATA,
STP_SYSTEM,
- STP_UNWIND,
STP_TRANSPORT,
STP_CONNECT,
STP_DISCONNECT,
@@ -44,7 +43,6 @@ static const char *_stp_command_name[] = {
"STP_EXIT",
"STP_OOB_DATA",
"STP_SYSTEM",
- "STP_UNWIND",
"STP_TRANSPORT",
"STP_CONNECT",
"STP_DISCONNECT",