FUNCTION::DUMP\_STACK(3stap) Logging Tapset FUNCTION::DUMP\_STACK(3stap)

# [NAME](#NAME)

function::dump\_stack - Send the kernel backtrace to the kernel trace buffer

# [SYNOPSIS](#SYNOPSIS)

```


    dump_stack()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

Print the current kernel backtrace to the kernel trace buffer. not be safely called from all kernel probe contexts, so is restricted to guru mode only. Under the hood, it calls the kernel C API function dump\_stack directly.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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