FUNCTION::TASK\_BACKT(3stap) Context Functions FUNCTION::TASK\_BACKT(3stap)

# [NAME](#NAME)

function::task\_backtrace - Hex backtrace of an arbitrary task

# [SYNOPSIS](#SYNOPSIS)

```


    task_backtrace:string(task:long)
```

# [ARGUMENTS](#ARGUMENTS)

*task*

pointer to task\_struct

# [DESCRIPTION](#DESCRIPTION)

This function returns a string of hex addresses that are a backtrace of the stack of a particular task Output may be truncated as per maximum string length. Deprecated in SystemTap 1.6.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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