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)
Tue, Mar 17, 1:35 PM
Unknown Object (File)
Tue, Mar 17, 5:23 AM
Unknown Object (File)
Sun, Mar 15, 12:51 PM
Unknown Object (File)
Sun, Mar 8, 6:58 AM
Unknown Object (File)
Sat, Mar 7, 10:07 PM
Unknown Object (File)
Jan 20 2026, 4:29 PM
Unknown Object (File)
Jan 10 2026, 4:40 AM
Unknown Object (File)
Dec 27 2025, 7:16 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