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)
May 13 2024, 6:35 AM
Unknown Object (File)
Mar 14 2024, 4:44 PM
Unknown Object (File)
Mar 14 2024, 4:44 PM
Unknown Object (File)
Mar 14 2024, 4:43 PM
Unknown Object (File)
Mar 14 2024, 4:43 PM
Unknown Object (File)
Mar 11 2024, 1:42 PM
Unknown Object (File)
Mar 11 2024, 4:33 AM
Unknown Object (File)
Jan 20 2024, 2:09 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