PROBE::KPROCESS.CR(3stap)
π PROBE::KPROCESS.CR π
okay bestie, so this is a page from the SystemTap Tapset Reference β specifically the Kernel Process Tapset corner of it, in section 3stap. it's a probe page. it's giving "watch the kernel pop out a whole new task" energy and honestly? iconic.
β¨ NAME β¨
probe::kprocess.create β fires whenever a new process or thread is successfully created π
like, the moment the kernel goes "and a new one is born," this probe is THERE. front row. camera out. π
πΈ SYNOPSIS πΈ
probe kprocess.create {}
that's it. that's the whole thing. no args, no fuss, just a little empty block waiting to be filled with your hopes and dreams (and printfs). π
π¦ VALUES π¦
these are the goodies the probe hands you when it fires, no cap:
new_pidβ the PID of the newly created process π±new_tidβ the TID of the newly created task π±
both of them, right there, free of charge. obsessed.
π«Ά CONTEXT π«Ά
the context of this probe is the parent of the created process. so when you're in here, you're hanging out with the parent β the one who did the creating. proud parent energy fr fr. π
π₯ DESCRIPTION π₯
so here's the tea: this probe fires whenever a new process is successfully created. and "created" here can mean either of these two situations:
- it came from a
fork(or one of its syscall variants β the whole lil fork family π) - it's a brand new kernel thread
either way, success is the vibe check it passes. if the creation didn't work out, this probe is not showing up. it only pulls up for the wins. periodt. β¨
π SEE ALSO π
tapset::kprocess(3stap) β go read the whole kprocess tapset, it's the main character and this probe is just one of its supporting roles π
ngl bestie, this one's short and sweet, so there's genuinely nothing to warn you about. go forth and trace some forks. π§
and that's a wrap, my love π this was pulled from the SystemTap Tapset Reference, and the page was dated September 2026. mwah. ππ β¨
π¦ 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