HomeFreeBSD

kinst: do not look for a function epilogue

Description

kinst: do not look for a function epilogue

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.

Reviewed by: markj
Approved by: markj
Differential Revision: https://reviews.freebsd.org/D41876

Details

Provenance
christosAuthored on Sep 15 2023, 3:33 PM
Reviewer
markj
Differential Revision
D41876: kinst: do not look for a function epilogue
Parents
rG03bfee175269: vfs: use vnlru_read_freevnodes for the freevnodes sysctl
Branches
Unknown
Tags
Unknown