FUNCTION::ADDR_TO_NO(3stap)

πŸ’– FUNCTION::ADDR_TO_NO(3stap) πŸ’–

okay bestie, so this one lives in the Memory Tapset section of the manual, and it's a whole 3stap situation β€” meaning it's a SystemTap tapset function, not your average libc vibe. let's get into it 🫢


✨ NAME ✨

function::addr_to_node β€” literally just tells you which node a given address belongs to inside a NUMA system. that's it. that's the whole job. and she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

addr_to_node:long(addr:long)

πŸŽ€ ARGUMENTS πŸŽ€

  • addr β€” the address of the faulting memory access. like, the address that had a whole moment and faulted. that's the one you're handing over πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: this function takes an address, and it gives you back the node that address belongs to β€” but only in a NUMA system. like, it does a whole vibe check on your address and goes "bestie, you live here." ✨

one address in, one node out. no cap, that's the entire plot. πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the page!! this little icon came from the SystemTap Tapset Reference, version marked Ver, dated September 2026 β€” so go forth, resolve your addresses to their nodes, and slay πŸ’œπŸ§šπŸ’–

πŸ“¦ where this page comes from