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)
Tue, Oct 15, 3:32 AM
Unknown Object (File)
Oct 13 2024, 3:46 AM
Unknown Object (File)
Oct 13 2024, 3:46 AM
Unknown Object (File)
Oct 13 2024, 3:45 AM
Unknown Object (File)
Oct 13 2024, 3:34 AM
Unknown Object (File)
Sep 19 2024, 5:44 AM
Unknown Object (File)
Sep 18 2024, 5:35 AM
Unknown Object (File)
Sep 17 2024, 12:42 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