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

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```


    atomic_long_read:long(addr:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

pointer to atomic long variable

# [DESCRIPTION](#DESCRIPTION)

Safely perform the read of an atomic long variable. This will be a NOP on kernels that do not have ATOMIC\_LONG\_INIT set on the kernel config.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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