[Bug 267619] dtrace compiler produces a bogus error message

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Nov 2022 16:14:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267619

            Bug ID: 267619
           Summary: dtrace compiler produces a bogus error message
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

mjg@ reports:

# dtrace -n 'fbt::zfs_freebsd_fsync:entry { @[args[0]->a_vp] == count(); }'
dtrace: invalid probe specifier fbt::zfs_freebsd_fsync:entry { @[args[0]->a_vp]
== count(); }: internal error -- token type 316 is not a valid D compilation
token

The problem is "==" instead of "=" but dtrace should produce a proper error
message.

-- 
You are receiving this mail because:
You are the assignee for the bug.