function::ustack.3stap man page

function::ustack ā€” Return address at given depth of user stack backtrace

Synopsis

    ustack:long(n:long)

Arguments

n

number of levels to descend in the stack.

Description

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.

See Also0

tapset::ucontext-symbols(3stap)

Info

October 2017 SystemTap Tapset Reference Context Functions