FUNCTION::ASSERT(3stap) | Logging Tapset | FUNCTION::ASSERT(3stap) |
function::assert - evaluate assertion
1) assert(expression:long)
2) assert(expression:long,msg:string)
expression
msg
1) This function checks the expression and aborts the current running probe if expression evaluates to zero. Useserror 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. Useserror and may be caught by try{} catch{}. The specified message will be displayed.
November 2020 | SystemTap Tapset Reference |