logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

function::assert - evaluate assertion

Arguments

expression
           The 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. 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.

Name

       function::assert - evaluate assertion

See Also

tapset::logging(3stap)

SystemTap Tapset Reference                         April 2024                            FUNCTION::ASSERT(3stap)

Synopsis

       1) assert(expression:long)

       2) assert(expression:long,msg:string)

See Also