Date: Mon, 26 Aug 2019 15:21:29 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r351510 - stable/12/cddl/contrib/opensolaris/cmd/lockstat Message-ID: <201908261521.x7QFLTcG047525@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Aug 26 15:21:29 2019 New Revision: 351510 URL: https://svnweb.freebsd.org/changeset/base/351510 Log: MFC r351359: Fix inverted predicates for sx lock hold events in lockstat(1). Modified: stable/12/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c Directory Properties: stable/12/ (props changed) Modified: stable/12/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c ============================================================================== --- stable/12/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c Mon Aug 26 10:18:19 2019 (r351509) +++ stable/12/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c Mon Aug 26 15:21:29 2019 (r351510) @@ -206,10 +206,10 @@ static ls_event_info_t g_event_info[LS_MAX_EVENTS] = { "lockstat:::rw-release", "arg1 == 1", "lockstat:::rw-acquire" }, { 'H', "Lock", "SX shared hold", "nsec", - "lockstat:::sx-release", "arg1 == 0", + "lockstat:::sx-release", "arg1 == 1", "lockstat:::sx-acquire" }, { 'H', "Lock", "SX exclusive hold", "nsec", - "lockstat:::sx-release", "arg1 == 1", + "lockstat:::sx-release", "arg1 == 0", "lockstat:::sx-acquire" }, { 'H', "Lock", "Unknown event (type 38)", "units" }, { 'H', "Lock", "Unknown event (type 39)", "units" },
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908261521.x7QFLTcG047525>