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
F166934256: D28132.id82202.diff
Mon, Aug 17, 8:55 PM
Unknown Object (File)
Fri, Aug 14, 10:05 PM
Unknown Object (File)
Mon, Aug 10, 5:16 PM
Unknown Object (File)
Mon, Aug 10, 12:08 PM
Unknown Object (File)
Mon, Aug 10, 11:33 AM
Unknown Object (File)
Tue, Aug 4, 3:18 AM
Unknown Object (File)
Tue, Aug 4, 2:44 AM
Unknown Object (File)
Mon, Aug 3, 4:04 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36165
Build 33054: arc lint + arc unit

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