From 3c02e16c39aa0fd5b291faf610d9d71023392a2e Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Sun, 29 Jun 2008 15:59:28 -0400 Subject: transport/symbol rework: kernel-only probes working --- runtime/staprun/staprun.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'runtime/staprun/staprun.c') 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; } -- cgit