summaryrefslogtreecommitdiffstats
path: root/runtime/transport/control.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-29 15:59:28 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-29 15:59:28 -0400
commit3c02e16c39aa0fd5b291faf610d9d71023392a2e (patch)
tree8767662d634bfa2334809cafddb3f00b103aaacb /runtime/transport/control.c
parent37ddf6e5fa1530adc3a7236379a3a88dfef33d53 (diff)
downloadsystemtap-steved-3c02e16c39aa0fd5b291faf610d9d71023392a2e.tar.gz
systemtap-steved-3c02e16c39aa0fd5b291faf610d9d71023392a2e.tar.xz
systemtap-steved-3c02e16c39aa0fd5b291faf610d9d71023392a2e.zip
transport/symbol rework: kernel-only probes working
Diffstat (limited to 'runtime/transport/control.c')
-rw-r--r--runtime/transport/control.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index b366ccef..09506bb1 100644
--- a/runtime/transport/control.c
+++ b/runtime/transport/control.c
@@ -30,7 +30,9 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz
count -= sizeof(u32);
buf += sizeof(u32);
+
#ifdef DEBUG_TRANS
+ printk (KERN_INFO " control write_cmd: Got %s. len=%d\n", _stp_command_name[type], (int)count);
if (type < STP_MAX_CMD)
_dbug("Got %s. len=%d\n", _stp_command_name[type], (int)count);
#endif
@@ -57,7 +59,8 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz
return -1;
#endif
case STP_RELOCATION:
- _stp_do_relocation (buf, count);
+ _stp_do_relocation (buf, count);
+ break;
case STP_READY:
break;