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

NAME

6       function::ucallers - Return first n elements of user stack backtrace
7

SYNOPSIS

9           ucallers:string(n:long)
10

ARGUMENTS

12       n
13           number of levels to descend in the stack (not counting the top
14           level). If n is -1, print the entire stack.
15

DESCRIPTION

17       This function returns a string of the first n hex addresses from the
18       backtrace of the user stack. Output may be truncated as per maximum
19       string length (MAXSTRINGLEN).
20

NOTE

22       To get (full) backtraces for user space applications and shared shared
23       libraries not mentioned in the current script run stap with -d
24       /path/to/exe-or-so and/or add --ldd to load all needed unwind data.
25

SEE ALSO

27       tapset::ucontext(3stap)
28
29
30
31SystemTap Tapset Reference       October 2018        FUNCTION::UCALLERS(3stap)
Impressum