CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2021/10/03 16:01:48

Modified files:
        usr.sbin/btrace: bt.5 bt_parse.y bt_parser.h btrace.c btrace.h 
        regress/usr.sbin/btrace: Makefile print.bt 

Log message:
bt(5)/btrace(8): add support for str()

Implement initial support for the str() function, which is used
primarily to truncate or NUL-terminate strings from either cli args
or args to tracepoints and syscalls.

Current implementation only supports cli args and is primarily for
compatability with bpftrace. Future work is needed once dt(4)
supports builtin args other than long values.

Adds a regress test and wires in argument-based tests again.

ok mpi@

Reply via email to