Page MenuHomeFreeBSD

kinst: do not look for a function epilogue
ClosedPublic

Authored by christos on Sep 15 2023, 3:10 PM.
Tags
None
Referenced Files
F96432801: D41876.id127432.diff
Tue, Sep 24, 11:02 PM
F96432765: D41876.id.diff
Tue, Sep 24, 11:01 PM
F96432714: D41876.id127433.diff
Tue, Sep 24, 11:01 PM
F96432706: D41876.id127430.diff
Tue, Sep 24, 11:01 PM
F96431787: D41876.diff
Tue, Sep 24, 10:55 PM
Unknown Object (File)
Sat, Sep 21, 8:59 AM
Unknown Object (File)
Thu, Sep 12, 11:53 AM
Unknown Object (File)
Tue, Sep 10, 11:32 AM
Subscribers

Details

Summary

kinst currently only traces functions that start and end with the usual
function prologue and epilogue respectively. Ignoring functions that do
not have an epilogue however, makes the filtering too strict, as this
means that we can not trace functions that never return (e.g
vnlru_proc()). This patch relaxes the filtering and only checks whether
the function pushes the frame pointer.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53607
Build 50498: arc lint + arc unit