From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23232 invoked by alias); 12 Mar 2010 01:49:34 -0000 Received: (qmail 23203 invoked by uid 9586); 12 Mar 2010 01:49:33 -0000 Date: Fri, 12 Mar 2010 01:49:00 -0000 Message-ID: <20100312014933.23192.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-194-g0da46fc X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 40e400d07bcfa621eef5b4f4496b7af665089e55 X-Git-Newrev: 0da46fcdec144f944838350f08f59a36b8709e90 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2010-q1/txt/msg00219.txt.bz2 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 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