1FUNCTION::USTACK(3stap)        Context Functions       FUNCTION::USTACK(3stap)
2
3
4

NAME

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

SYNOPSIS

10           ustack:long(n:long)
11

ARGUMENTS

13       n
14           number of levels to descend in the stack.
15

DESCRIPTION

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

SEE ALSO

23       tapset::ucontext-symbols(3stap)
24
25
26
27SystemTap Tapset Reference         May 2021            FUNCTION::USTACK(3stap)
Impressum