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

# function::uaddr(3stap)

User space address of current running task

## NAME

function::uaddr - User space address of current running task

## SYNOPSIS

```
    uaddr:long()
```

## ARGUMENTS

None

## DESCRIPTION

Returns the address in userspace that the current task was at when the probe occurred. When the current running task isn't a user space thread, or the address cannot be found, zero is returned. Can be used to see where the current task is combined with **usymname** or **usymdata**. Often the task will be in the VDSO where it entered the kernel.

## SEE ALSO0

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