FUNCTION::EXIT(3stap)
π NAME π
function::exit β bestie, this is how you start shutting down your probing script. like, initiating the goodbye. the beginning of the end, if you will β¨
π¦ SYNOPSIS π¦
exit()
π ARGUMENTS π
None π β she takes nothing. zero. nada. no arguments, no notes, no baggage.
πΈ DESCRIPTION πΈ
okay so here's the tea, and it's important tea: exit() does not slam the door shut immediately. it only enqueues a request to start shutting down the script. it's giving "hey can we wrap this up" energy, not "everybody out NOW" energy.
what that means in practice, fr fr:
- New probes will not fire β except
endprobes π (those still get to do their thing, iconic behaviour honestly) - But every probe that's currently running? they may complete their work. no cutting anyone off mid-sentence. let them finish, they're doing great π«Ά
so like, it's a polite shutdown request sitting in the queue. not an instant kill. don't expect the script to be gone the millisecond you call it. lowkey the most considerate function in the whole tapset ngl π
not me writing a whole paragraph about a function with no arguments π but the semantics MATTER bestie,exit()is notkill(), iykyk
β SEE ALSO β
tapset::logging(3stap)β go read this one too, it's the whole logging family, they're all connected π§
and that's the whole page!! slay π
this lil gem lives in the SystemTap Tapset Reference, under the Logging Tapset section, and this particular copy is dated September 2026 π (the version field is just chillin' there as Ver, short and mysterious, we respect that π). anyway, exit() when you're done, bestie, and may all your end probes run flawlessly πβ¨π
π¦ 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