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

NAME

6       function::sprint_ustack - Return stack for the current task from
7       string.
8

SYNOPSIS

10           sprint_ustack:string(stk:string)
11

ARGUMENTS

13       stk
14           String with list of hexadecimal addresses for the current task.
15

DESCRIPTION

17       Perform a symbolic lookup of the addresses in the given string, which
18       is assumed to be the result of a prior call to ubacktrace for the
19       current task.
20
21       Returns a simple backtrace from the given hex string. One line per
22       address. Includes the symbol name (or hex address if symbol couldn't be
23       resolved) and module name (if found). Includes the offset from the
24       start of the function if found, otherwise the offset will be added to
25       the module (if found, between brackets). Returns the backtrace as
26       string (each line terminated by a newline character). Note that the
27       returned stack will be truncated to MAXSTRINGLEN, to print fuller and
28       richer stacks use print_ustack.
29

NOTE

31       it is recommended to use sprint_usyms instead of this function.
32

SEE ALSO

34       tapset::ucontext-symbols(3stap)
35
36
37
38SystemTap Tapset Reference         June 2018       FUNCTION::SPRINT_UST(3stap)
Impressum