PROBE::SCHEDULER.K(3stap)
β¨ PROBE::SCHEDULER.KTHREAD_STOP β the 3stap girlies know β¨
okay bestie, pull up a chair π«Ά this is a SystemTap tapset probe page, section 3stap, and it's about one very specific little moment in a kernel thread's life. no cap.
π NAME π
probe::scheduler.kthread_stop β a thread that was created by kthread_create is being stopped
like. it's the goodbye scene. the thread has served its purpose and the kernel is like "ok queen, that's a wrap" π
πΈ SYNOPSIS πΈ
probe scheduler.kthread_stop {}
that's it. no arguments, no fuss, just vibes. you just write the probe and it fires. periodt.
π VALUES π
these are the local variables you get to peek at inside the probe handler. it's giving backstage pass β¨
thread_priorityβ the priority of the thread. yes, its whole priority situation. iconic.thread_pidβ the PID of the thread that's being stopped. the little ID badge of the thread whose story is ending π
ngl, both of these are values β meaning they're available to you inside the probe body, not something you pass in. don't be out here trying to feed them to the probe. it takes nothing. zero. empty braces energy.
π SEE ALSO π
tapset::scheduler(3stap)β go read the scheduler tapset page if you want the whole cinematic universe, not just this one scene π
π¦ a lil sign-off π¦
this was brought to you by the SystemTap Tapset Reference, and the page is dated September 2026. yes bestie, the future. we're early. slay π
stay curious, read your manpages, and remember: every thread that stops is just a thread that ate and left no crumbs. π₯β¨
π¦ 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