PROBE::VM.KFREE(3stap)

πŸ’– PROBE::VM.KFREE πŸ’–

okay bestie, welcome to the Memory Tapset corner of the SystemTap Tapset Reference β€” this one's a lil baby page but it's lowkey iconic, so let's go 🫢


✨ NAME ✨

probe::vm.kfree β€” fires when kfree is requested

like. the moment somebody's like "okay this kernel memory? done, freeing it" β€” this probe shows up πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

probe vm.kfree {}

that's it, that's the whole thing. no args, no drama, main character energy ✨


🌸 VALUES 🌸

here's the tea you get handed when this probe fires πŸ‘‘

  • ptr β€” pointer to the kmemory allocated which is returned by kmalloc 🧚 like, it's pointing right at the chunk that's getting yeeted back to the kernel
  • caller_function β€” name of the caller function. who exactly called this? now you know πŸ’œ
  • name β€” name of the probe point πŸŽ€ yes it's giving "the probe point's name", that's literally what it is
  • call_site β€” address of the function calling this kmemory function πŸ“ the exact address, no cap

πŸ¦‹ SEE ALSO πŸ¦‹


fr fr, this probe is small but it slays. keep every one of those values, don't skip ptr, don't skip call_site. they all matter πŸ’€

SystemTap Tapset Reference Ver, September 2026 β€” that's a wrap, babe, tysm for reading, ily, go probe something cute πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from