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, 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
Unknown Object (File)
Sep 24 2024, 11:02 PM
Unknown Object (File)
Sep 24 2024, 11:01 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