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-251-g6109115
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 24 Sep 2012 23:24:41 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-251-g6109115
- 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 6109115cda35fe9ced82dcd638f8e73008b757f5 (commit)
from f4d8069ddf3a60224256acbbe105a534b7349ffd (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 6109115cda35fe9ced82dcd638f8e73008b757f5
Author: Josh Stone <jistone@redhat.com>
Date: Mon Sep 24 16:15:55 2012 -0700
stapdyn: Enable end/error probes
The dyninst exit hook runs too late for us to still call anything in the
mutatee, so the systemtap_module_exit() call which should run all of the
end/error probes wasn't happening.
Now we use a destructor function in the mutatee, so our exit path always
runs after main() returns or after an exit() call. Functions like
_exit() are still problematic though.
This now also makes a distinction between initializing process-local vs.
session resources, so we are more ready for operating with multiple
mutatees at once. See dyninst/runtime.h for design comments.
-----------------------------------------------------------------------
Summary of changes:
runtime/dyninst/runtime.h | 58 +++++++++++++++++++++++++++++++++++++++++----
stapdyn/stapdyn.cxx | 13 ++++------
2 files changed, 58 insertions(+), 13 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool