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.3-181-g653e6a9
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 5 Oct 2010 01:08:46 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.3-181-g653e6a9
- 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 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 <jistone@redhat.com>
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