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

NAME

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

SYNOPSIS

10           stack:long(n:long)
11

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

23       tapset::context-symbols(3stap)
24
25
26
27SystemTap Tapset Reference       November 2019          FUNCTION::STACK(3stap)
Impressum