Page MenuHomeFreeBSD

Handle functions that use a nop in the arm64 fbt
ClosedPublic

Authored by andrew on Jan 13 2021, 11:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 9, 6:48 PM
Unknown Object (File)
Wed, Oct 29, 10:28 AM
Unknown Object (File)
Sep 25 2025, 1:51 AM
Unknown Object (File)
Sep 13 2025, 10:44 AM
Unknown Object (File)
Sep 3 2025, 7:59 AM
Unknown Object (File)
Aug 4 2025, 9:16 PM
Unknown Object (File)
Jul 29 2025, 1:19 AM
Unknown Object (File)
Jul 26 2025, 3:00 AM
Subscribers

Details

Summary

To trace leaf asm functions we can insert a single nop instruction as
the first instruction in a function and trigger off this.

Sponsored by: Innovate UK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Tested with dtrace -n ":::". This will trigger on memcpy as called by dtrace_getnanouptime, however it seems to be inlined by the in tree clang.

This revision is now accepted and ready to land.Jan 13 2021, 6:00 PM