Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2019 23:47:01 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351363 - head/cddl/contrib/opensolaris/cmd/lockstat
Message-ID:  <201908212347.x7LNl1L8058646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Wed Aug 21 23:47:01 2019
New Revision: 351363
URL: https://svnweb.freebsd.org/changeset/base/351363

Log:
  Add hold events for lockmgr probes, missed in r351361.
  
  MFC with:	r351361

Modified:
  head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c

Modified: head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c	Wed Aug 21 23:44:46 2019	(r351362)
+++ head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c	Wed Aug 21 23:47:01 2019	(r351363)
@@ -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"	},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908212347.x7LNl1L8058646>