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
F161812257: D28132.id82202.diff
Tue, Jul 7, 2:05 AM
F161800499: D28132.diff
Mon, Jul 6, 11:41 PM
Unknown Object (File)
Fri, Jul 3, 6:42 AM
Unknown Object (File)
Fri, Jul 3, 2:40 AM
Unknown Object (File)
Thu, Jul 2, 7:53 PM
Unknown Object (File)
Wed, Jul 1, 7:05 AM
Unknown Object (File)
Sun, Jun 21, 10:14 PM
Unknown Object (File)
Sun, Jun 21, 7: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