FUNCTION::WARN(3stap)
π FUNCTION::WARN(3stap) β the Logging Tapset one π
okay bestie, so this is FUNCTION::WARN from the Logging Tapset, and it's literally the "hey, heads up" function. no cap, she's simple and she's iconic for it.
β¨ NAME β¨
function::warn β send a line to the warning stream π«Ά
πΈ SYNOPSIS πΈ
warn(msg:string)
π ARGUMENTS π
msgβ the formatted message string. that's the whole vibe, that's the message you're sending out into the world π
π¦ DESCRIPTION π¦
so here's what she does: this function sends a warning message immediately to staprun. like, no waiting around, no queue, she goes straight there. main character energy fr fr.
and ALSO β if the bulk transport (relayfs) is being used, the message gets sent over that too. so it can go both ways, she's flexible like that β¨
one lil detail that's actually so thoughtful: if the last character of your message is not a newline, then a newline gets added for you. automatic. chef's kiss. no more cursed run-together log lines π
π SEE ALSO π
and that's the whole page, bestie, you ate that π β¨
this lil masterpiece is from the SystemTap Tapset Reference, and the version/date stamp on it is September 2026 β so yeah, we're reading from the future, ngl. mwah ππ¦
π¦ 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