table of contents
other versions
- jessie-backports 3.0-6~bpo8+1
- stretch 3.1-2
- testing 3.3-1
- unstable 4.0-1
FUNCTION::ASSERT(3stap) | Logging Tapset | FUNCTION::ASSERT(3stap) |
NAME¶
function::assert - evaluate assertionSYNOPSIS¶
1) assert(expression:long)
2) assert(expression:long,msg:string)
ARGUMENTS¶
expressionThe expression to evaluate
msg
The formatted message string
DESCRIPTION¶
1) This function checks the expression and aborts the current running probe if expression evaluates to zero. Uses error and may be caught by try{} catch{}. A default message will be displayed. 2) This function checks the expression and aborts the current running probe if expression evaluates to zero. Uses error and may be caught by try{} catch{}. The specified message will be displayed.SEE ALSO0¶
tapset::logging(3stap)March 2016 | SystemTap Tapset Reference |