aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
Commit message (Collapse)AuthorAgeFilesLines
* Have lockstat(1) trace locks by name rather than by address.Mark Johnston2015-09-301-4/+2
| | | | | | | | | | | | | | | | | | | | | | Previously, lockstat(1) would use a lock's address as its identifier when consuming data describing lock contention and hold events. After collecting the requested data, it would use ksyms(4) to resolve lock addresses to names. Of course, this doesn't work too well for locks contained in dynamically-allocated memory. This change modifies lockstat(1) to trace the lock names obtained from the base struct lock_object instead, leading to output that is generally much more useful. This change also removes the -c option, which is used to coalesce data for locks in an array. It's not possible to support this option without also tracing lock addresses, and since lock arrays in which the lock names are distinct are not very common in FreeBSD, it's simpler to just remove the option. Reviewed by: avg (earlier revision) Differential Revision: https://reviews.freebsd.org/D3661 Notes: svn path=/head/; revision=288417
* lockstat(1): document the -V option.Mark Johnston2015-05-251-2/+6
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=283508
* Document the CPU+Pri_Class column rather than CPU+PRI, as the latter isn'tMark Johnston2014-10-091-5/+6
| | | | | | | | | | | | used or implemented on FreeBSD. Reported by: kmacy Reviewed by: kmacy, rpaulo MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272834
* Convert the lockstat(1) man page to mdoc and make sure that it getsMark Johnston2013-10-271-827/+351
| | | | | | | | | | | | | | | installed. Additionally, remove Solaris-specific sections and references, and replace example outputs with output from lockstat on FreeBSD, since lockstat's output contains stack traces. This change also removes some examples that don't seem to work properly on FreeBSD. The examples should be re-added when lockstat is fixed. Reported by: avg MFC after: 1 week Notes: svn path=/head/; revision=257212
* Add the OpenSolaris lockstat(1M) command. Requires the dtrace driver,Stacey Son2009-05-271-0/+875
the lockstat provider, and the ksyms(4) pseudo driver kernel modules. Approved by: gnn (mentor) Notes: svn path=/head/; revision=192867