Scroll to navigation

FUNCTION::PRINT_UBAC(3stap) Context Functions FUNCTION::PRINT_UBAC(3stap)

NAME

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

SYNOPSIS

1) print_ubacktrace_fileline()

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

ARGUMENTS

pc

override PC

sp

override SP

fp

override FP

DESCRIPTION

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.

NOTE

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.

SEE ALSO0

tapset::ucontext-unwind(3stap)

April 2023 SystemTap Tapset Reference