HomeFreeBSD

Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING

Description

Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING

The spinning start time is missing from the calculation due to a
misplaced #endif. Return the #endif where it's supposed to be.

Submitted by: Alexander Alexeev <aalexeev@isilon.com>
Reviewed by: bdrewery, mjg
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D31384

(cherry picked from commit 428624130abfc225b479a09a3060d0939569b1ea)

Details

Provenance
vangyzenAuthored on Aug 2 2021, 6:54 PM
Reviewer
bdrewery
Differential Revision
D31384: Fix lockstat:::thread-spin dtrace probe with LOCK_PROFILING
Parents
rG656de74c635f: aio_md_test: label the md
Branches
Unknown
Tags
Unknown