From owner-soc-status@FreeBSD.ORG Mon Jul 23 13:32:26 2012 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 341941065689 for ; Mon, 23 Jul 2012 13:32:26 +0000 (UTC) (envelope-from greglmiller@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B6A608FC0A for ; Mon, 23 Jul 2012 13:32:25 +0000 (UTC) Received: by weyx56 with SMTP id x56so5099416wey.13 for ; Mon, 23 Jul 2012 06:32:24 -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=4yEF0QcTrY2RhQtSLkDEZIft3WcB8N3Y9UosEmbLQEs=; b=tHETAhdE/ak9iPN0uUu2L+Q1tyccLRs1m5Xnco7ayBCCa3jEXnVbhOsa9S7BNPHUzF A+IYHafqHySfePNZgHcpN2gRd1eZNPbTTh6A8ATH90wHoFRY/hxiWPdBIsU4CQlPRBvk FxF3arAu/f2qDjKbFWRFv0jvefdxP5CHLas1RsAB/YUXr7ht5HB91cg3cCNiQJM2kN7o hGFN+g5pIovFJZXYCrB7+RNQe6wDf+u+xyNiD3OkheQ9NvRekcbzFD5guY4Uy7DXzbDK oOf5/sn7NKtaWL4eys8zhL5Nx6UlFGL/RMg1XIiXaLX8IfMg6dh7e8JylZTSQtEqxRvc 1dgA== MIME-Version: 1.0 Received: by 10.216.184.196 with SMTP id s46mr7844144wem.66.1343050344537; Mon, 23 Jul 2012 06:32:24 -0700 (PDT) Received: by 10.216.193.195 with HTTP; Mon, 23 Jul 2012 06:32:24 -0700 (PDT) Date: Mon, 23 Jul 2012 09:32:24 -0400 Message-ID: From: Greg Miller To: soc-status Content-Type: text/plain; charset=ISO-8859-1 Subject: Lock profiling and lock order verification, week 9 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, 23 Jul 2012 13:32:26 -0000 Accomplishments for the week: * Implemented pthread_lockorder_begin_np(), pthread_lockorder_next_np(), and pthread_lockorder_end_np() to retrieve the lock order graph generated by libwitness * Implemented pthread_lockorder_reset_np() * Implemented pthread_lockorder_set_np() * Implemented pthread_lockorder_bless_np() to ignore ordering variations for a pair of locks * Switched from tracking locks by address inside libwitness to maintaining a set of lock_info structures * Added default names for locks * Added pthread_setname_np() to set lock names This week, I'll be working on test cases for the new libwitness features and will begin the code to generate the lock profiling and witness XML data files.