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
Unknown Object (File)
Wed, May 6, 2:35 AM
Unknown Object (File)
Tue, Apr 28, 12:09 PM
Unknown Object (File)
Mon, Apr 27, 1:19 PM
Unknown Object (File)
Mon, Apr 27, 6:47 AM
Unknown Object (File)
Thu, Apr 23, 8:05 AM
Unknown Object (File)
Tue, Apr 21, 6:59 PM
Unknown Object (File)
Mon, Apr 20, 8:57 AM
Unknown Object (File)
Mon, Apr 20, 3:34 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