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.0-142-gd117a23
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 27 Oct 2009 20:54:43 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-142-gd117a23
- 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 d117a23e6883640be751523274811d9d5e9dcc11 (commit)
via a1995fef7f86ee6d1c3860cfb7e2652d986e4aa9 (commit)
from f70d5f6b702e8da5c6affb3f34836c466b01f1b9 (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 d117a23e6883640be751523274811d9d5e9dcc11
Author: Josh Stone <jistone@redhat.com>
Date: Tue Oct 27 13:52:34 2009 -0700
PR10854 cont'd: Add a testcase for the reproducer
commit a1995fef7f86ee6d1c3860cfb7e2652d986e4aa9
Author: Josh Stone <jistone@redhat.com>
Date: Tue Oct 27 12:15:29 2009 -0700
PR10854: Use a mutex around transport startup/shutdown
We had a race where the probe setup could be called during/after the
probe shutdown in abnormal circumstances, which leads to kernel
callbacks still registered after module unload. (BOOM)
Now the setup/shutdown activities and related flags are guarded by a
mutex, so we should have strict ordering.
* runtime/transport/transport.c (_stp_transport_mutex): New.
(_stp_handle_start): Grab the mutex, and make sure we're not exiting.
(_stp_cleanup_and_exit): Grab the mutex.
(_stp_lock_inode, _stp_unlock_inode): Use kernel version for checking
inode locking type.
-----------------------------------------------------------------------
Summary of changes:
runtime/transport/transport.c | 38 ++++++++++++++++++++-------------
testsuite/systemtap.base/pr10854.exp | 31 +++++++++++++++++++++++++++
testsuite/systemtap.base/pr10854.stp | 20 +++++++++++++++++
3 files changed, 74 insertions(+), 15 deletions(-)
create mode 100644 testsuite/systemtap.base/pr10854.exp
create mode 100644 testsuite/systemtap.base/pr10854.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool