summaryrefslogtreecommitdiffstats
path: root/runtime/stpd
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stpd')
-rw-r--r--runtime/stpd/ChangeLog5
-rw-r--r--runtime/stpd/librelay.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog
index 858f4e66..7b60957e 100644
--- a/runtime/stpd/ChangeLog
+++ b/runtime/stpd/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-12 Frank Ch. Eigler <fche@elastic.org>
+
+ * librelay.c (init_stp): Use /proc/MODULE rather than
+ /proc/systemtap/MODULE.
+
2006-12-11 Martin Hunt <hunt@redhat.com>
* symbols.c (get_sections): Set buffer sizes to large enough
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;