Page MenuHomeFreeBSD

Enabling all DTrace fbt probes (fbt::: {}) hangs on the system on ARM platforms
Needs ReviewPublic

Authored by graeme.jenkinson_cl.cam.ac.uk on Mar 2 2017, 3:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 4, 5:28 PM
Unknown Object (File)
Thu, Feb 26, 11:48 PM
Unknown Object (File)
Thu, Feb 26, 8:41 AM
Unknown Object (File)
Jan 28 2026, 1:38 AM
Unknown Object (File)
Dec 24 2025, 12:32 AM
Unknown Object (File)
Dec 24 2025, 12:32 AM
Unknown Object (File)
Dec 24 2025, 12:32 AM
Unknown Object (File)
Nov 24 2025, 5:39 AM
Subscribers

Details

Reviewers
gnn
rwatson
Summary

Enabling all DTrace fbt probes fbt::: {} results in the system hanging on ARM platforms.

Fixed by calling fbt_excluded() to exclude common functions and then excluded ARM specific functions (undefined instruction and nanouptime). Excluding nanouptime means that this function can't be traced.

Test Plan

The fix was tested by running the following DTrace scripts:

fbt:::a*: { trace(probefunc); }
...
fbt:::z*: { trace(probefunc); }

fbt::: { trace(probefunc); }

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped