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

# function::addr\_to\_node(3stap)

Returns which node a given address belongs to within a NUMA system

## NAME

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

## SYNOPSIS

```
    addr_to_node:long(addr:long)
```

## ARGUMENTS

*addr*

the address of the faulting memory access

## DESCRIPTION

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

## SEE ALSO0

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