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.1-194-g0da46fc
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 12 Mar 2010 01:49:33 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-194-g0da46fc
- 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 0da46fcdec144f944838350f08f59a36b8709e90 (commit)
from 40e400d07bcfa621eef5b4f4496b7af665089e55 (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 0da46fcdec144f944838350f08f59a36b8709e90
Author: Josh Stone <jistone@redhat.com>
Date: Thu Mar 11 17:14:59 2010 -0800
Fix the edge-case of MAXTRYLOCK=0
We didn't really have good semantics for what is meant by MAXTRYLOCK=0,
so when skipped.exp tried it, we ended up locking the variable and then
reporting a skip without ever unlocking it.
This is now cleaning up the semantics such that MAXTRYLOCK defines how
many times we should loop if the lock is busy. Thus MAXTRYLOCK=0 means
we try only once and fail immediately.
The testcase was accidentally creating contention due to the broken
unlock behavior. We now have to try a bit harder to create real
contention, so some lengthy delays are inserted to hoard the lock.
* runtime/probe_lock.h (stp_probe_lock): Fix the skip behavior.
* testsuite/systemtap.base/skipped.exp: Add a big udelay.
-----------------------------------------------------------------------
Summary of changes:
runtime/probe_lock.h | 30 +++++++++++++++++-------------
testsuite/systemtap.base/skipped.exp | 8 +++++++-
2 files changed, 24 insertions(+), 14 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool