Bug 267619 - dtrace: Compiler produces bogus error message: internal error -- token type 316 is not a valid D compilation token
Summary: dtrace: Compiler produces bogus error message: internal error -- token type 3...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-dtrace (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-11-07 16:14 UTC by Mark Johnston
Modified: 2022-11-07 22:39 UTC (History)
2 users (show)

See Also:
koobs: mfc-stable13?
koobs: mfc-stable12?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Johnston freebsd_committer freebsd_triage 2022-11-07 16:14:18 UTC
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.