This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-261-g0a567f6
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 26 Sep 2012 22:53:50 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-261-g0a567f6
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 0a567f6da24d22ce3cd90d8f521712100817d977 (commit)
from c2f776fb5e59e8baae480cc5244d76e7c9d3e18c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0a567f6da24d22ce3cd90d8f521712100817d977
Author: Josh Stone <jistone@redhat.com>
Date: Wed Sep 26 15:17:10 2012 -0700
stapdyn: Resolve the target executable from the PATH
BPatch::processCreate needs a full path for the process argument, so we
need to walk the PATH to figure that out. We already did this in
dynsdt, but using a private function. Now both use find_executable from
util.h, in a new form that doesn't care about sysroots.
* util.cxx (find_executable): Add a name-only version that just wraps
the full sysroot version, for convenience. Also let a few more things
be const in the implementation.
* hash.cxx (get_base_hash): Use the wrapper function for finding gcc,
instead of having a "dummy" sysenv itself.
* stapdyn/stapdyn.cxx (main): Resolve the target with find_executable.
* stapdyn/dynsdt.cxx (resolve_path): Removed.
(main): Use find_executable instead.
-----------------------------------------------------------------------
Summary of changes:
hash.cxx | 3 +--
stapdyn/dynsdt.cxx | 28 ++--------------------------
stapdyn/stapdyn.cxx | 4 +++-
util.cxx | 12 +++++++++---
util.h | 3 ++-
5 files changed, 17 insertions(+), 33 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool