FUNCTION::PRINT\_UBAC(3stap) Context Functions FUNCTION::PRINT\_UBAC(3stap)

# [NAME](#NAME)

function::print\_ubacktrace\_fileline - Print stack back trace for current user-space task.

# [SYNOPSIS](#SYNOPSIS)

```
1) print_ubacktrace_fileline()
```

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

# [ARGUMENTS](#ARGUMENTS)

*pc*

override PC

*sp*

override SP

*fp*

override FP

# [DESCRIPTION](#DESCRIPTION)

1\)

2\) Equivalent to**print\_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](#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](#SEE_ALSO0)

[*tapset::ucontext-unwind*(3stap)](/man/enterprise-packages/systemtap/tapset::ucontext-unwind.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::print_ubacktrace_fileline(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
