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

NAME

6       function::sprint_usyms - Return stack for user addresses from string
7

SYNOPSIS

9           sprint_usyms(callers:string)
10

ARGUMENTS

12       callers
13           String with list of hexadecimal (user) addresses
14

DESCRIPTION

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

SEE ALSO

30       tapset::ucontext-symbols(3stap)
31
32
33
34SystemTap Tapset Reference         May 2021        FUNCTION::SPRINT_USY(3stap)
Impressum