diff options
author | Mark Johnston <markj@FreeBSD.org> | 2019-08-21 23:47:01 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2019-08-21 23:47:01 +0000 |
commit | e1a29d8c67bc1944819b9d7b7bf3110cb8dbead5 (patch) | |
tree | 6a5fcfcb83c25eb635a9237415c8e75892fef55c /cddl/contrib | |
parent | 5b699f1614221b8b158ea47562ab84a6dce34c72 (diff) | |
download | src-e1a29d8c67bc1944819b9d7b7bf3110cb8dbead5.tar.gz src-e1a29d8c67bc1944819b9d7b7bf3110cb8dbead5.zip |
Add hold events for lockmgr probes, missed in r351361.
MFC with: r351361
Notes
Notes:
svn path=/head/; revision=351363
Diffstat (limited to 'cddl/contrib')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/lockstat/lockstat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c index 84796c3b004a..a7378980bc56 100644 --- a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c +++ b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c @@ -215,8 +215,12 @@ static ls_event_info_t g_event_info[LS_MAX_EVENTS] = { { 'H', "Lock", "SX exclusive hold", "nsec", "lockstat:::sx-release", "arg1 == 0", "lockstat:::sx-acquire" }, - { 'H', "Lock", "Unknown event (type 38)", "units" }, - { 'H', "Lock", "Unknown event (type 39)", "units" }, + { 'H', "Lock", "lockmgr shared hold", "nsec", + "lockstat:::lockmgr-release", "arg1 == 1", + "lockstat:::lockmgr-acquire" }, + { 'H', "Lock", "lockmgr exclusive hold", "nsec", + "lockstat:::lockmgr-release,lockstat:::lockmgr-disown", "arg1 == 0", + "lockstat:::lockmgr-acquire" }, { 'H', "Lock", "Unknown event (type 40)", "units" }, { 'H', "Lock", "Unknown event (type 41)", "units" }, { 'H', "Lock", "Unknown event (type 42)", "units" }, |