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

NAME

6       function::ubacktrace - Hex backtrace of current user-space task stack.
7

SYNOPSIS

9           ubacktrace:string()
10

ARGUMENTS

12       None
13

DESCRIPTION

15       Return a string of hex addresses that are a backtrace of the stack of
16       the current task. Output may be truncated as per maximum string length.
17       Returns empty string when current probe point cannot determine user
18       backtrace. See backtrace for kernel traceback.
19

NOTE

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

SEE ALSO

26       tapset::ucontext-unwind(3stap)
27
28
29
30SystemTap Tapset Reference       November 2021     FUNCTION::UBACKTRACE(3stap)
Impressum