CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2022/11/12 07:19:08

Modified files:
        usr.sbin/btrace: bt_parse.y btrace.c 
        regress/usr.sbin/btrace: Makefile 
Added files:
        regress/usr.sbin/btrace: filters.bt filters.ok 

Log message:
Add support for string comparison in filters.

It is now possible to filter by process name, like:

syscall:mmap:entry
/comm == "ld"/
{
...
}

Currently the parser treats C-string like any other expression member even
if arithmetic operations do no apply to strings.

Reply via email to