Date: Mon, 28 May 2012 04:42:09 -0500 From: Greg Miller <greglmiller@gmail.com> To: soc-status@freebsd.org Subject: Lock Profiling and Lock Order Verification status report Message-ID: <CAHLcusSX1zGTWBAB%2B7W3TXfy%2B%2BZ=8Ez7bSMk%2B6pS8KdpTPfE3A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHLcusSX1zGTWBAB%2B7W3TXfy%2B%2BZ=8Ez7bSMk%2B6pS8KdpTPfE3A>