1FUNCTION::SPRINT_UST(3stap) Context Functions FUNCTION::SPRINT_UST(3stap)
2
3
4
6 function::sprint_ustack - Return stack for the current task from
7 string. EXPERIMENTAL!
8
10 sprint_ustack:string(stk:string)
11
13 stk
14 String with list of hexadecimal addresses for the current task.
15
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
30
31
32SystemTap Tapset Reference August 2011 FUNCTION::SPRINT_UST(3stap)