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)
Sat, Apr 13, 10:23 PM
Unknown Object (File)
Fri, Mar 29, 12:45 AM
Unknown Object (File)
Fri, Mar 29, 12:35 AM
Unknown Object (File)
Mar 15 2024, 5:57 PM
Unknown Object (File)
Dec 20 2023, 2:39 AM
Unknown Object (File)
Nov 10 2023, 9:23 PM
Unknown Object (File)
Nov 8 2023, 9:37 PM
Unknown Object (File)
Nov 1 2023, 7:38 PM
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