function::warn.3stap man page

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

Synopsis

warn(msg:string)

Arguments

msg

The formatted message string

Description

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.

See Also0

tapset::logging(3stap)

Info

March 2016 SystemTap Tapset Reference Logging Tapset