DOKK / manpages / debian 12 / systemtap-doc / function::print_ubacktrace_fileline.3stap.en
FUNCTION::PRINT_UBAC(3stap) Context Functions FUNCTION::PRINT_UBAC(3stap)

function::print_ubacktrace_fileline - Print stack back trace for current user-space task.

1) print_ubacktrace_fileline()

2) print_ubacktrace_fileline(pc:long,sp:long,fp:long)

pc

override PC

sp

override SP

fp

override FP

1)

2) Equivalent toprint_ubacktrace, but output for each symbol is longer including file names and line numbers.

Equivalent to print_ubacktrace_fileline, but it performs the backtrace using the pc, sp, and fp passed in.

To get (full) backtraces for user space applications and shared shared libraries not mentioned in the current script run stap with -d /path/to/exe-or-so and/or add --ldd to load all needed unwind data.

tapset::ucontext-unwind(3stap)

November 2022 SystemTap Tapset Reference