svn commit: r351363 - head/cddl/contrib/opensolaris/cmd/lockstat
Mark Johnston
markj at FreeBSD.org
Wed Aug 21 23:47:01 UTC 2019
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" },
More information about the svn-src-all
mailing list