PROBE::KPROCESS.EX(3stap)
π PROBE::KPROCESS.EX π
okay bestie, welcome to the Kernel Process Tapset section of the SystemTap manual β this is PROBE::KPROCESS.EX(3stap) and she is, lowkey, the moment an exec finishes doing its thing. let's get into it β¨
πΈ NAME πΈ
probe::kprocess.exec_complete β the glow-up moment where you return from exec into a whole new program π¦
β¨ SYNOPSIS β¨
probe kprocess.exec_complete {}
that's it. that's the whole vibe. no arguments, no parameters, just a probe doing her little thing π
π VALUES π
these are the lil data girlies you can peek at inside this probe:
retstrβ a string representation oferrno. so like, the error number but make it cute and readable. (SystemTap v2.5+) β¨nameβ the name of the system call, and bestie, it's"execve". (SystemTap v2.5+) π«errnoβ the error number that came out of theexec. if something went wrong, this is the receipts π§Ύsuccessβ a boolean telling you whether theexecwas successful or not.true= ate,false= ...did not eat π
π«Ά CONTEXT π«Ά
so here's the tea on where you're standing when this fires:
- on success, you're in the context of the new executable. main character energy, brand new you π
- on failure, you stay right where you were β still in the context of the caller. no new program, no new you, just vibes π
π₯ DESCRIPTION π₯
This fires at the completion of an exec call β like, the exact moment the exec is done-done. periodt.
In SystemTap v2.5+ she's aliased to the syscall.execve.return probe, so if you know that one, you already know her. iykyk π
π SEE ALSO π
tapset::kprocess(3stap)β go read this one next, bestie, it's the whole kprocess fam πΈ
and that's the page!! this was SystemTap Tapset Reference, Version... September 2026 edition π so if you're reading this in a timeline where that date already happened, congrats, you're exactly on time. love that for you. bye bestie!! πβ¨π¦
π¦ 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