From owner-soc-status@FreeBSD.ORG Mon May 28 09:42:10 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 B0FEA106566B for ; Mon, 28 May 2012 09:42:10 +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 44DEF8FC08 for ; Mon, 28 May 2012 09:42:10 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so2761264wgb.31 for ; Mon, 28 May 2012 02:42:09 -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=+B4YKwRlBFMvbOBrD0Z2YsuU6viO+4dsBvCC5fOI5QY=; b=MsyfO/ckZG4aFLx60eESHOJVMuzHHvBaHD+qCsryYAgRh+djVyOBaYcFW1Gd1mwbLY XuQjgGXs/Zymr7UV0EwOvSnMYRjp4KqIYhxlttjiJ+zGCxLPyX88TFJXj5IX4bLs9Onl WgjK/BV3oAaKJZu25aGJUrc4ZYrwaG+9twMmoiElwb6Fsu42FZpxYUWhpmEIRcTQClkB f/s0LzHePwykmqUuxfstzI/ZyAD4Cc+HHv4z+EkD9pjZ1VsyLjiw0fWczBkKAEskyPeZ 3AQg8cRTgt1ejJh03fhyRlAYtNWYtkHoEIqGoM2pAjMx/88y2QBG+WLaw3x5sROepSn5 jInA== MIME-Version: 1.0 Received: by 10.216.201.79 with SMTP id a57mr3900632weo.164.1338198129106; Mon, 28 May 2012 02:42:09 -0700 (PDT) Received: by 10.216.50.142 with HTTP; Mon, 28 May 2012 02:42:09 -0700 (PDT) Date: Mon, 28 May 2012 04:42:09 -0500 Message-ID: From: Greg Miller To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Lock Profiling and Lock Order Verification status report 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: Mon, 28 May 2012 09:42:10 -0000 Accomplished in week 1: * Created wiki page at http://wiki.freebsd.org/SummerOfCode2012/Locking * Created project branch at https://socsvn.freebsd.org/socsvn/soc2012/gmiller/ * Added /usr/lib/libthr_profile.a to buildworld, compiling with a new LOCK_PROFILING #define to generate the instrumented code * Added additional (conditionally compiled) parameters to pthread_mutex_lock() and pthread_mutex_trylock() in order to collect acquisition-point information I'm currently in the process of adding calls to the lock profiling functions that will collect the statistics. The goal for the coming week is to complete this and add stub versions of the stat-collecting functions.