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
F173966285: D28132.diff
Tue, Sep 29, 4:49 PM
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
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