aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/contrib/opensolaris')
-rw-r--r--cddl/contrib/opensolaris/cmd/lockstat/lockstat.c8
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" },