PROBE::KPROCESS.EX(3stap)
π probe::kprocess.exec β Kernel Process Tapset π
okay bestie, gather round, because this one is a bop β¨
π¦ NAME π¦
probe::kprocess.exec β the moment a process tries to exec into a whole new program π
πΈ SYNOPSIS πΈ
probe kprocess.exec {}
that's it. that's the whole vibe. no args, no drama, just a probe hanging out waiting for something iconic to happen π
π VALUES π
these are the lil goodies you get to peek at when the probe fires. so many gifts π«Ά
argstrβ a string with the filename first, then the arguments to pass, but excluding the 0th arg. (SystemTap v2.5+)nameβ the name of the system call, which isβexecveβ. yes, with the curly quotes, she's fancy like that. (SystemTap v2.5+)argsβ the arguments headed to the new executable, and this one does include the 0th arg. (SystemTap v2.5+)filenameβ the path to the new executable, aka where this whole glow-up is happening π
π CONTEXT π
who's the main character here? it's the caller of exec. them. they did that. π
β¨ DESCRIPTION β¨
so basically this probe fires whenever a process attempts to exec to a new program. like, the second somebody tries to swap out their whole entire program, boom, this probe shows up to witness it. no cap. π₯
and here's the tea: in SystemTap v2.5+, it's aliased to the syscall.execve probe. so they're the same thing, just different names. bestie behavior fr fr. π
π¦ SEE ALSO π¦
tapset::kprocess(3stap)β go read this one next, iykyk π
and that's the whole page, babe. this was from the SystemTap Tapset Reference, dated September 2026, and it's part of the Kernel Process Tapset. periodt. π β¨ go forth and trace some execs, you absolute icon ππ
π¦ 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