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

NAME

6       function::ubacktrace - Hex backtrace of current task stack.
7       EXPERIMENTAL!
8

SYNOPSIS

10           ubacktrace:string()
11

ARGUMENTS

13       None
14

DESCRIPTION

16       Return a string of hex addresses that are a backtrace of the stack of
17       the current task. Output may be truncated as per maximum string length.
18       Returns empty string when current probe point cannot determine user
19       backtrace.
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
26
27
28SystemTap Tapset Reference        August 2011      FUNCTION::UBACKTRACE(3stap)
Impressum