1FUNCTION::ERROR(3stap) Logging Tapset FUNCTION::ERROR(3stap)
23
4
NAME
6function::error - Send an error message
7
SYNOPSIS
9error(msg:string)
10
ARGUMENTS
12msg
13The formatted message string
14
DESCRIPTION
16An implicit end-of-line is added. staprun prepends the string “ERROR:”.
17Sending an error message aborts the currently running probe. Depending
18on the MAXERRORS parameter, it may trigger an exit.
19
SEE ALSO
21tapset::logging(3stap)
2223
24
25
SystemTap Tapset Reference June 2018 FUNCTION::ERROR(3stap)