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

NAME

6       function::sprint_syms - Return stack for kernel addresses from string
7

SYNOPSIS

9           sprint_syms(callers:string)
10

ARGUMENTS

12       callers
13           String with list of hexadecimal (kernel) 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 stack, callers, 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 symdata.
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_syms.
28

SEE ALSO

30       tapset::context-symbols(3stap)
31
32
33
34SystemTap Tapset Reference         May 2022        FUNCTION::SPRINT_SYM(3stap)
Impressum