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
F157341416: D28132.diff
Wed, May 20, 11:36 AM
Unknown Object (File)
Sat, May 16, 8:01 AM
Unknown Object (File)
Fri, May 15, 9:35 AM
Unknown Object (File)
Tue, Apr 28, 9:30 AM
Unknown Object (File)
Tue, Apr 28, 7:31 AM
Unknown Object (File)
Mon, Apr 27, 6:47 AM
Unknown Object (File)
Wed, Apr 22, 1:20 PM
Unknown Object (File)
Apr 19 2026, 5:24 PM
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