FUNCTION::ADDR\_TO\_NO(3stap) Memory Tapset FUNCTION::ADDR\_TO\_NO(3stap)

# [NAME](#NAME)

function::addr\_to\_node - Returns which node a given address belongs to within a NUMA system

# [SYNOPSIS](#SYNOPSIS)

```


    addr_to_node:long(addr:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

the address of the faulting memory access

# [DESCRIPTION](#DESCRIPTION)

This function accepts an address, and returns the node that the given address belongs to in a NUMA system.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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