DOKK / manpages / debian 11 / systemtap-doc / function::dump_stack.3stap.en
FUNCTION::DUMP_STACK(3stap) Logging Tapset FUNCTION::DUMP_STACK(3stap)

function::dump_stack - Send the kernel backtrace to the kernel trace buffer


dump_stack()

None

Print the current kernel backtrace to the kernel trace buffer. not be safely called from all kernel probe contexts, so is restricted to guru mode only. Under the hood, it calls the kernel C API function dump_stack directly.

tapset::logging(3stap)

November 2020 SystemTap Tapset Reference