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)
Fri, Dec 12, 1:24 PM
Unknown Object (File)
Thu, Dec 11, 1:36 PM
Unknown Object (File)
Sat, Nov 29, 12:49 AM
Unknown Object (File)
Fri, Nov 28, 11:09 PM
Unknown Object (File)
Thu, Nov 27, 11:51 AM
Unknown Object (File)
Nov 17 2025, 4:25 PM
Unknown Object (File)
Nov 16 2025, 12:41 PM
Unknown Object (File)
Nov 10 2025, 12:39 PM
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