HomeFreeBSD

witness(4): Print stack of prior observed lock order on reversal

Description

witness(4): Print stack of prior observed lock order on reversal

The first time Witness observes a lock order between two locks, it records
the caller's stack. On detected reversal, print out that previous observed
stack. It is quite possible that the reported "LOR" is the correct
ordering, and the violation was the observed earlier ordering.

Reviewed by: mjg
Differential Revision: https://reviews.freebsd.org/D26070

Details

Provenance
cemAuthored on Aug 15 2020, 7:45 PM
Parents
rG43eccfe9b450: pcg-c: Add 'static' to inline function definitions
Branches
Unknown
Tags
Unknown

Event Timeline