From owner-soc-status@FreeBSD.ORG Tue Jun 19 10:12:27 2012 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCA42106564A for ; Tue, 19 Jun 2012 10:12:27 +0000 (UTC) (envelope-from greglmiller@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 72AA48FC1A for ; Tue, 19 Jun 2012 10:12:27 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so6076572wgb.31 for ; Tue, 19 Jun 2012 03:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/Tgs0JMYEj8xzG/wn/0Vu5xmxsTFoavUu4g0e8/nA4U=; b=Qvjv/aDu7RIk65+w0ZjJH3A2nXA+1HYX0RfUoghvrgBlgTR0YcIGaXmeGG5PNIHjeJ Jp1OTXnVgiFaq7WcqT8OAOrNcZ0vR8E/LQ0f417zXQdFBaQBTH3mXNde/qfuKd/KY/Eh SP890YDm3T5pr+MFGQdcqu9XRWUUqg86lDKQugSDzPC8yod/l65vfYUQXVroRPjjDbiz +c0j4K7OL364V6qFAaRTaZnvFDh2d36LSZ//uvxQgA/j9BetoBc9U3/qW4dlV0a6OFPv OSoFtDYvPSynuS5B8Gnx3jy5cQjA1ziKqZtYeFEiPl7YDFeCDZrood5xX+CRgCYzzXC2 qilg== MIME-Version: 1.0 Received: by 10.180.78.233 with SMTP id e9mr2110664wix.5.1340100746387; Tue, 19 Jun 2012 03:12:26 -0700 (PDT) Received: by 10.216.30.148 with HTTP; Tue, 19 Jun 2012 03:12:26 -0700 (PDT) Date: Tue, 19 Jun 2012 05:12:26 -0500 Message-ID: From: Greg Miller To: soc-status Content-Type: text/plain; charset=ISO-8859-1 Subject: Lock Profiling and Lock Order Verification status report #4 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 10:12:28 -0000 Main accomplishments for week 4: * Implemented pthread_getstatistics_begin_np(), pthread_getstatistics_next_np(), pthread_getstatistics_end_np() functions to retrieve profiling stats. * Implemented pthread_resetstatistics_np() to reset current profiling stats * Implemented pthread_lockprof_enable_np() and pthread_lockprof_disable_np() to turn profiling on and off * Tested and debugged mutex profiling * Ported mutex profiling code to rwlocks and spinlocks. With these changes in place, the lock profiling code is now usable. Further style fixes and comments will be needed later, however. I'm currently working through the WITNESS code in preparation for lock order verification coding. For the remainder of the week, I'll continue that and begin adding libwitness to the build system.