summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.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/staprun/staprun.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/staprun/staprun.c')
-rw-r--r--runtime/staprun/staprun.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c
index daebe705..6eb6d8b5 100644
--- a/runtime/staprun/staprun.c
+++ b/runtime/staprun/staprun.c
@@ -385,8 +385,13 @@ void send_relocation_modules ()
int send_relocations ()
{
- int rc = send_relocation_kernel ();
+ int rc;
+ rc = init_ctl_channel (modname, 0);
+ if (rc < 0) goto out;
+ rc = send_relocation_kernel ();
send_relocation_modules ();
+ close_ctl_channel ();
+ out:
return rc;
}