mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix inverted predicates for sx lock hold events in lockstat(1).
This caused shared sx holds to be reported as exclusive, and vice versa. Reviewed by: mjg MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
51c5de5f25
commit
6ad06a5e50
1 changed files with 2 additions and 2 deletions
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue