DOKK / manpages / debian 11 / systemtap-doc / function::stack_unused.3stap.en
FUNCTION::STACK_UNUS(3stap) Context Functions FUNCTION::STACK_UNUS(3stap)

function::stack_unused - Returns the amount of kernel stack currently available


stack_unused:long()

None

This function determines how many bytes are currently available in the kernel stack.

tapset::context(3stap)

November 2020 SystemTap Tapset Reference