Tom Lane wrote:
>I think the actual wave of the future for analyzing behavior at the
>LWLock level is going to be DTrace. It seems way more flexible than
>an aggregate-statistics view can be.
>
>
CVS head now has the following LWLock probes, and more can easily be
added. These probes can be enabled using the sample DTrace scripts at
http://pgfoundry.org/projects/dtrace/
lwlock-acquire
lwlock-release
lwlock-startwait
lwlock-endwait
lwlock-condacquire
lwlock-condacquire-fail
If anyone wants to have access to a Solaris machine to play with DTrace,
let me know.
Regards,
-Robert