+2008-12-08 Frank Ch. Eigler <fche@elastic.org>
+
+ PR7062
+ * buildrun.cxx (uprobes_home): Make local, based on
+ session.runtime_path.
+
2008-12-05 Frank Ch. Eigler <fche@elastic.org>
* tapsets.cxx, translate.cxx: Set default elfutils debuginfo_path
return rc;
}
-static const string uprobes_home = string(PKGDATADIR "/runtime/uprobes");
-
/*
* If uprobes was built as part of the kernel build (either built-in
* or as a module), the uprobes exports should show up in either
<< "verifying that SystemTap's version of uprobes is up to date."
<< endl;
+ string uprobes_home = s.runtime_path + "/uprobes";
string make_cmd = string("make -q -C ") + uprobes_home
+ string(" uprobes.ko");
int rc = run_make_cmd(s, make_cmd);
<< "(re)building SystemTap's version of uprobes."
<< endl;
+ string uprobes_home = s.runtime_path + "/uprobes";
string make_cmd = string("make -C ") + uprobes_home;
int rc = run_make_cmd(s, make_cmd);
if (s.verbose > 1)
static int
copy_uprobes_symbols (systemtap_session& s)
{
+ string uprobes_home = s.runtime_path + "/uprobes";
string cp_cmd = string("/bin/cp ") + uprobes_home +
string("/Module.symvers ") + s.tmpdir;
int rc = system (cp_cmd.c_str());