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)
Mon, May 13, 8:10 AM
Unknown Object (File)
Mon, May 13, 7:38 AM
Unknown Object (File)
Fri, May 10, 10:25 AM
Unknown Object (File)
Wed, May 8, 12:48 AM
Unknown Object (File)
Sun, May 5, 1:58 PM
Unknown Object (File)
Tue, Apr 23, 12:53 PM
Unknown Object (File)
Sun, Apr 21, 7:45 PM
Unknown Object (File)
Mar 31 2024, 7:17 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