From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3949 invoked by alias); 26 Sep 2012 22:53:52 -0000 Received: (qmail 3910 invoked by uid 9586); 26 Sep 2012 22:53:51 -0000 Date: Wed, 26 Sep 2012 22:53:00 -0000 Message-ID: <20120926225350.3894.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-261-g0a567f6 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c2f776fb5e59e8baae480cc5244d76e7c9d3e18c X-Git-Newrev: 0a567f6da24d22ce3cd90d8f521712100817d977 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2012-q3/txt/msg00187.txt.bz2 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 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