summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.c
diff options
context:
space:
mode:
authorfche <fche>2007-03-12 18:28:47 +0000
committerfche <fche>2007-03-12 18:28:47 +0000
commitb272f21d2a42d44222cfc20f35025c324f6091c4 (patch)
treed3435c5a9d1576233b4f9a42e785db1908bc6118 /runtime/stpd/librelay.c
parentcb43d90b37a7f9a066d56881b87067ef3254d95d (diff)
downloadsystemtap-steved-b272f21d2a42d44222cfc20f35025c324f6091c4.tar.gz
systemtap-steved-b272f21d2a42d44222cfc20f35025c324f6091c4.tar.xz
systemtap-steved-b272f21d2a42d44222cfc20f35025c324f6091c4.zip
2007-03-12 Frank Ch. Eigler <fche@elastic.org>
* librelay.c (init_stp): Use /proc/MODULE rather than /proc/systemtap/MODULE. 2007-03-12 Frank Ch. Eigler <fche@elastic.org> * procfs.c (_stp_register_procfs): Use /proc/MODULE rather than /proc/systemtap/MODULE.
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r--runtime/stpd/librelay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c
index 04ea7285..6acbe7f8 100644
--- a/runtime/stpd/librelay.c
+++ b/runtime/stpd/librelay.c
@@ -516,8 +516,9 @@ int init_stp(int print_summary)
fprintf(stderr, "ERROR, couldn't insmod probe module %s\n", modpath);
return -1;
}
-
- sprintf (proc_filebase, "/proc/systemtap/%s", modname);
+
+ /* We no longer use /proc/systemtap/, just /proc. */
+ sprintf (proc_filebase, "/proc/%s", modname);
char *ptr = index(proc_filebase,'.');
if (ptr)
*ptr = 0;