OS Manuals

function::error(3stap)

function::error - Send an error message

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)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r0 · enterprise-packages · ingested 2026-10-02