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

# function::addr(3stap)

Address of the current probe point.

## NAME

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

## SYNOPSIS

```
    addr:long()
```

## ARGUMENTS

None

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

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