FUNCTION::ADDR(3stap) Context Functions FUNCTION::ADDR(3stap)

# [NAME](#NAME)

function::addr - Address of the current probe point.

# [SYNOPSIS](#SYNOPSIS)

```


    addr:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

Returns the instruction pointer from the current probe's register state. Not all probe types have registers though, in which case zero is returned. The returned address is suitable for use with functions like **symname** and **symdata**.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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