From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18570 invoked by alias); 5 Oct 2010 01:08:47 -0000 Received: (qmail 18543 invoked by uid 9586); 5 Oct 2010 01:08:46 -0000 Date: Tue, 05 Oct 2010 01:08:00 -0000 Message-ID: <20101005010846.18530.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.3-181-g653e6a9 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 0ac3dce18d9bcadff5f2f5f9274a7b40889d1d1a X-Git-Newrev: 653e6a9a860d2cdf71a3be5eb0ec91c3606a7f58 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: 2010-q4/txt/msg00010.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 653e6a9a860d2cdf71a3be5eb0ec91c3606a7f58 (commit) from 0ac3dce18d9bcadff5f2f5f9274a7b40889d1d1a (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 653e6a9a860d2cdf71a3be5eb0ec91c3606a7f58 Author: Josh Stone Date: Mon Oct 4 17:56:26 2010 -0700 PR11739: Add an STP_ALIBI flag Primarily just for testing purposes, define STP_ALIBI to shortcut all probe handlers, so they're nothing but an atomic_inc. It prints a hit report similar to STP_TIMING at the end. Note that any logic that would have called exit() will also be blocked, so you need other ways to end the script: SIGINT, finished -c, etc. * tapsets.cxx (common_probe_entryfn_prologue): #ifdef STP_ALIBI, reduce the probe handler to just an atomic_inc(). (common_probe_entryfn_epilogue): Close the #ifdef from above. * translate.cxx (translate_pass): Add an atomic_t to stap_probe for STP_ALIBI to track probe hits. (c_unparser::emit_module_exit): Print alibi hit-report. ----------------------------------------------------------------------- Summary of changes: tapsets.cxx | 6 ++++++ translate.cxx | 25 +++++++++++++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool