- lockstat: teach about freebsd sx and rw locks
Is it worthwhile preserving original solaris/illumos code under ifdef?
- dtrace lockstat: use time as measure of spinning
Previously a count of spin loops was used. That was cheap to measure.
But as a result we compared apples or oranges when analyzing adaptive
- make rw-block probes closer to upstream
So that lockstat(1) could correctly detect various rwlock event.
Apply the same treatment to sx probes.
Note that -acquire and -release event do not pass reader / writer argument at the moment.
- fire lock acquisition probes in successful "try lock" operations of rwlock and sx