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, rhel54, updated. release-0.9.7-13-g23aa036
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 11 Dec 2009 17:28:26 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, rhel54, updated. release-0.9.7-13-g23aa036
- 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, rhel54 has been updated
via 23aa0369382f6589521ae66a84a9a1b5cc119823 (commit)
from 9999ccbfe3c944256d3fab3cc82d18dba2cd30fb (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 23aa0369382f6589521ae66a84a9a1b5cc119823
Author: David Smith <dsmith@redhat.com>
Date: Fri Dec 11 11:27:12 2009 -0600
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 | 41 +++++++++++++++++++++++++----------------
1 files changed, 25 insertions(+), 16 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool