summaryrefslogtreecommitdiffstats
path: root/runtime/transport/control.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-29 10:14:19 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-29 10:14:19 -0400
commit37ddf6e5fa1530adc3a7236379a3a88dfef33d53 (patch)
treead7c05df8b0ebeafa75cfee1ed569bf2722091e2 /runtime/transport/control.c
parent53ca410a6a6032c2cde6aac6e95b57c68585e48a (diff)
downloadsystemtap-steved-37ddf6e5fa1530adc3a7236379a3a88dfef33d53.tar.gz
systemtap-steved-37ddf6e5fa1530adc3a7236379a3a88dfef33d53.tar.xz
systemtap-steved-37ddf6e5fa1530adc3a7236379a3a88dfef33d53.zip
STP_RELOCATE message for kernel relocatability (re)adaption, starting implementation
Diffstat (limited to 'runtime/transport/control.c')
-rw-r--r--runtime/transport/control.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index 9319b9ca..b366ccef 100644
--- a/runtime/transport/control.c
+++ b/runtime/transport/control.c
@@ -56,9 +56,10 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz
#else
return -1;
#endif
+ case STP_RELOCATION:
+ _stp_do_relocation (buf, count);
+
case STP_READY:
- /* request symbolic information */
- /* _stp_ask_for_symbols(); */
break;
default:
@@ -66,7 +67,7 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz
return -EINVAL;
}
- return count;
+ return count; /* Pretend that we absorbed the entire message. */
}
struct _stp_buffer {