diff options
author | fche <fche> | 2007-03-12 18:28:47 +0000 |
---|---|---|
committer | fche <fche> | 2007-03-12 18:28:47 +0000 |
commit | b272f21d2a42d44222cfc20f35025c324f6091c4 (patch) | |
tree | d3435c5a9d1576233b4f9a42e785db1908bc6118 /runtime/stpd/librelay.c | |
parent | cb43d90b37a7f9a066d56881b87067ef3254d95d (diff) | |
download | systemtap-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.c | 5 |
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; |