The
plockstat
utility traces pthread locks (mutexes and rwlocks) and prints statistics about
them.
You can use
plockstat
to investigate bottlenecks in your software.
The following options are available:
-v
|
|
Be verbose.
|
-A
|
|
Print all statistics.
|
-C
|
|
Print commulative statistics (the default).
|
-H
|
|
Print a histogram.
|
-V
|
|
Print the DTrace script about to be used to stderr.
|
-n count
|
|
Set the aggregation count for the data set.
|
-s depth
|
|
Set the ustack (userland stack) caller depth.
|
-e secs
|
|
Does nothing at the moment.
|
-x opt=val
|
|
Specify DTrace options.
See the
dtrace(1)
man page for more details.
|