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, Sep 20, 7:50 PM
Unknown Object (File)
Aug 17 2026, 8:55 PM
Unknown Object (File)
Aug 14 2026, 10:05 PM
Unknown Object (File)
Aug 10 2026, 5:16 PM
Unknown Object (File)
Aug 10 2026, 12:08 PM
Unknown Object (File)
Aug 10 2026, 11:33 AM
Unknown Object (File)
Aug 4 2026, 3:18 AM
Unknown Object (File)
Aug 4 2026, 2:44 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