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
F102556596: D41876.id127433.diff
Thu, Nov 14, 12:45 AM
Unknown Object (File)
Tue, Nov 12, 12:38 PM
Unknown Object (File)
Fri, Oct 18, 9:46 AM
Unknown Object (File)
Oct 4 2024, 1:33 PM
Unknown Object (File)
Oct 3 2024, 11:39 PM
Unknown Object (File)
Oct 1 2024, 5:38 AM
Unknown Object (File)
Sep 25 2024, 5:20 AM
Unknown Object (File)
Sep 25 2024, 3:20 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 Not Applicable
Unit
Tests Not Applicable