FUNCTION::ATOMIC\_REA(3stap) String and data retrieving fun FUNCTION::ATOMIC\_REA(3stap)

# [NAME](#NAME)

function::atomic\_read - Retrieves an atomic variable from kernel memory

# [SYNOPSIS](#SYNOPSIS)

```


    atomic_read:long(addr:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

pointer to atomic variable

# [DESCRIPTION](#DESCRIPTION)

Safely perform the read of an atomic variable.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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