HomeFreeBSD

Pass the lock object to lockstat_nsecs() and return immediately if

Description

Pass the lock object to lockstat_nsecs() and return immediately if
LO_NOPROFILE is set. Some timecounter handlers acquire a spin mutex, and
we don't want to recurse if lockstat probes are enabled.

PR: 201642
Reviewed by: avg
MFC after: 3 days

Details

Provenance
markjAuthored on
Reviewer
avg
Parents
rS285663: Modify lockstat_nsecs() to just return unless lockstat probes are actually
Branches
Unknown
Tags
Unknown