---
name: "function::task_backtrace"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::task_backtrace"
---

# function::task\_backtrace(3stap)

Hex backtrace of an arbitrary task

## NAME

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

## SYNOPSIS

```
    task_backtrace:string(task:long)
```

## ARGUMENTS

*task*

pointer to task\_struct

## 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

[*tapset::context-unwind*(3stap)](/tapset::context-unwind/3stap.md)
