PROBE::VM.KMEM_CAC(3stap)
π probe::vm.kmem_cache_alloc β the Memory Tapset one π
okay bestie, so this is a page from the Memory Tapset of the SystemTap Tapset Reference, and it's genuinely such a little icon. it's a probe point, it's giving very "quietly observing the kernel's memory drama" energy. let's get into it π«Ά
β¨ NAME β¨
probe::vm.kmem_cache_alloc β fires when kmem_cache_alloc is requested π
like, the moment somebody asks the kernel for a slab allocation from a cache? this probe is there. main character energy fr fr.
πΈ SYNOPSIS πΈ
probe vm.kmem_cache_alloc {}
that's it. that's the whole vibe. no arguments, no nothing, just a lil curly-brace situation waiting for the kernel to slide into its DMs. iconic π
π¦ VALUES π¦
okay so these are all the lil goodies you get to peek at inside the probe. every single one, no skips:
bytes_allocβ the allocated Bytes. like, how much actually got handed over. the real ones β¨gfp_flagsβ the type of kmemory to allocate. this is the flags situation, in all its raw numeric glory π₯ptrβ a pointer to the kmemory that got allocated. the actual address of the goods πcaller_functionβ the name of the caller function. so you know who asked for this. the culprit, bestie πcall_siteβ the address of the function that's calling this kmemory function. receipts, basically π§Ύnameβ the name of the probe point. hi, that's you πbytes_reqβ the requested Bytes. what they asked for, versusbytes_allocwhich is what they got. not always the same, iykyk πgfp_flag_nameβ the type of kmemory to allocate, but in string format. so like, the readable version ofgfp_flags. the glow-up version π
π SEE ALSO π
tapset::memory(3stap)β go read this one too, it's the whole memory tapset family and they all ate π
SystemTap Tapset Reference Ver Β· September 2026
and that's the page, bestie!! mwah, go forth and probe responsibly, no cap π§π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms