PROBE::VM.MMAP(3stap)

✨ PROBE::VM.MMAP ✨

okay bestie, welcome to the Memory Tapset section of the SystemTap Tapset Reference (section 3stap, iykyk) πŸ’– this is the page for one very specific little guy and honestly? it's giving main character energy for about half a millisecond.


πŸ¦‹ NAME πŸ¦‹

probe::vm.mmap β€” fires when an mmap is requested πŸ‘€

like. the moment somebody asks the kernel for some memory to be mapped. that's the vibe check. that's when it goes off.


🌸 SYNOPSIS 🌸

probe vm.mmap {}

no arguments, no fancy params, just. the probe. sitting there. waiting. periodt. πŸ’…


πŸŽ€ VALUES πŸŽ€

these are the read-only goodies you can peek at when the probe fires, and ngl they're all super useful:

  • length β€” the length of the memory segment πŸ“ that's how much memory got requested, bestie.
  • name β€” name of the probe point 🏷️ yes, the probe point's own name. iconic of it.
  • address β€” the requested address πŸ“ the address that got asked for, right there.
these are context variables, so you read them, you don't write them. respect the boundary fr fr πŸ™ˆ

πŸ’œ CONTEXT πŸ’œ

the process calling mmap. 🫢

that's it. that's the context. whoever called mmap is the one you're looking at when this fires. keep your eyes on them, they're the whole story. ✨


🌈 SEE ALSO 🌈

  • tapset::memory(3stap) β€” go read this one too, it's the whole memory tapset and it's lowkey a masterpiece πŸ’–

okay that's the whole page, you ate that πŸ“ go forth and trace some memory mappings, no cap. slay πŸ’…βœ¨

signing off from the SystemTap Tapset Reference, Ver., September 2026 β€” mwah, ily, see you in the next manpage bestie πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from