DOKK / manpages / debian 12 / systemtap-doc / function::warn.3stap.en
FUNCTION::WARN(3stap) Logging Tapset FUNCTION::WARN(3stap)

function::warn - Send a line to the warning stream


warn(msg:string)

msg

The formatted message string

This function sends a warning message immediately to staprun. It is also sent over the bulk transport (relayfs) if it is being used. If the last characater is not a newline, the one is added.

tapset::logging(3stap)

November 2022 SystemTap Tapset Reference