1FUNCTION::SPRINT_STA(3stap) Context Functions FUNCTION::SPRINT_STA(3stap)
2
3
4
6 function::sprint_stack - Return stack for kernel addresses from string
7
9 sprint_stack:string(stk:string)
10
12 stk
13 String with list of hexadecimal (kernel) addresses
14
16 Perform a symbolic lookup of the addresses in the given string, which
17 is assumed to be the result of a prior call to backtrace.
18
19 Returns a simple backtrace from the given hex string. One line per
20 address. Includes the symbol name (or hex address if symbol couldn't be
21 resolved) and module name (if found). Includes the offset from the
22 start of the function if found, otherwise the offset will be added to
23 the module (if found, between brackets). Returns the backtrace as
24 string (each line terminated by a newline character). Note that the
25 returned stack will be truncated to MAXSTRINGLEN, to print fuller and
26 richer stacks use print_stack.
27
29 it is recommended to use sprint_syms instead of this function.
30
32 tapset::context-symbols(3stap)
33
34
35
36SystemTap Tapset Reference October 2018 FUNCTION::SPRINT_STA(3stap)