Page MenuHomeFreeBSD

Handle functions that use a nop in the arm64 fbt
AcceptedPublic

Authored by andrew on Wed, Jan 13, 11:22 AM.

Details

Reviewers
rwatson
gnn
manu
Group Reviewers
arm64
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 OK
Unit
No Unit 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.Wed, Jan 13, 6:00 PM