DOKK / manpages / debian 12 / systemtap-doc / function::ustack.3stap.en
FUNCTION::USTACK(3stap) Context Functions FUNCTION::USTACK(3stap)

function::ustack - Return address at given depth of user stack backtrace


ustack:long(n:long)

n

number of levels to descend in the stack.

Performs a simple (user space) backtrace, and returns the element at the specified position. The results of the backtrace itself are cached, so that the backtrace computation is performed at most once no matter how many times ustack is called, or in what order.

tapset::ucontext-symbols(3stap)

November 2022 SystemTap Tapset Reference