CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2023/09/02 13:28:47

Modified files:
        usr.sbin/btrace: bt_parse.y 
        regress/usr.sbin/btrace: Makefile 
Added files:
        regress/usr.sbin/btrace: empty-stmts.bt empty-stmts.ok 

Log message:
btrace(8): allow empty statements in probes.

Allows for probes like `BEGIN {}`, in parity with bpftrace.

Also fixes an incorrect syntax error parsing argN builtins in
subsequent probes after an empty BEGIN block.

ok mpi@

Reply via email to