DOKK / manpages / debian 10 / systemtap-doc / function::error.3stap.en
FUNCTION::ERROR(3stap) Logging Tapset FUNCTION::ERROR(3stap)

function::error - Send an error message


error(msg:string)

msg

The formatted message string

An implicit end-of-line is added. staprun prepends the string “ERROR:”. Sending an error message aborts the currently running probe. Depending on the MAXERRORS parameter, it may trigger an exit.

tapset::logging(3stap)

October 2018 SystemTap Tapset Reference