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

# [NAME](#NAME)

function::print\_stack - Print out kernel stack from string

# [SYNOPSIS](#SYNOPSIS)

```


    print_stack(stk:string)
```

# [ARGUMENTS](#ARGUMENTS)

*stk*

String with list of hexadecimal addresses

# [DESCRIPTION](#DESCRIPTION)

This function performs a symbolic lookup of the addresses in the given string, which is assumed to be the result of a prior call to **backtrace**.

Print one line per address, including the address, the name of the function containing the address, and an estimate of its position within that function. Return nothing.

# [NOTE](#NOTE)

it is recommended to use **print\_syms** instead of this function.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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