FUNCTIO...TCH_FIL(3stap)
β¨ NAME β¨
function::switch_file β bestie, this is the one that flips you over to the next output file π
(it lives in the 3stap tapset manual section, iykyk)
β¨ SYNOPSIS β¨
switch_file()
β¨ ARGUMENTS β¨
Nothing. Nada. Zero. It takes no arguments, she works alone π
β¨ DESCRIPTION β¨
Okay so here's the tea β β this function sends a signal to the stapio process, and it's basically telling it: "bestie, rotate to the next output file." That kicks in when your output is being sent to file(s), so it's giving file-rotation hype squad energy π₯
π¨ IMPORTANT LORE ALERT π¨ the way this file-switching mechanism works was changed by upstream commit 5b39471380a238469c8fc18136f12600e5e9aec7. And after that commit? The rotation only works if there is some actual systemtap output. Like, no output, no rotation. That's the vibe check and she does not negotiate π
So fr fr: if you were expecting a little file shuffle with nothing coming out of systemtap, that is not happening. Actual output is required. Periodt. π
β¨ SEE ALSO β¨
and that's the whole page, no cap π«Ά this lil tapset reference is brought to you by the SystemTap Tapset Reference, dated September 2026 β mwah, iconic, go read your other manpages now ππ¦β
π¦ 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