From b272f21d2a42d44222cfc20f35025c324f6091c4 Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 12 Mar 2007 18:28:47 +0000 Subject: 2007-03-12 Frank Ch. Eigler * librelay.c (init_stp): Use /proc/MODULE rather than /proc/systemtap/MODULE. 2007-03-12 Frank Ch. Eigler * procfs.c (_stp_register_procfs): Use /proc/MODULE rather than /proc/systemtap/MODULE. --- runtime/stpd/librelay.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/stpd/librelay.c') 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; -- cgit