Is it possible to trace separate locks. i.e. is it possible to identify each lock getting acquired and released? Thanks, Neelam This message posted from opensolaris.org
On 3/9/07, Neelam <neelam.goyal at gmail.com> wrote:> Is it possible to trace separate locks. i.e. is it possible to identify each lock getting acquired and released?Indeed! Take a look at the lockstart provider: http://docs.sun.com/app/docs/doc/817-6223/6mlkidlj9?a=view - Ryan -- UNIX Administrator http://prefetch.net
in lockstat, a probe gets fired whenever a lock of some type, say for instance adaptive gets acquired or released. But there might be nested locking which wouldn''t let me differentiate between different locks!! Any clues on this? Thanks, Neelam This message posted from opensolaris.org
arg0 of relevant probes should contains the lock address. -r Neelam writes: > in lockstat, a probe gets fired whenever a lock of some type, say for > instance adaptive gets acquired or released. But there might be nested > locking which wouldn''t let me differentiate between different locks!! > > Any clues on this? > > Thanks, > Neelam > > > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org