Project

General

Profile

Bug #3520

dtrace internal error -- token type 316 is not a valid D compilation token

Added by Christopher Siden almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
DTrace
Start date:
2013-02-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

If you pass an aggregation to the trace() or print() actions dtrace fails due to an internal error.

# dtrace -n 'BEGIN{ @ = count(); trace(@); }'
dtrace: invalid probe specifier BEGIN{ @ = count(); trace(@); }: internal error
-- token type 316 is not a valid D compilation token

Same for the print action:

# dtrace -n 'BEGIN{ @ = count(); print(@); }' 
dtrace: invalid probe specifier BEGIN{ @ = count(); print(@); }: internal error
-- token type 316 is not a valid D compilation token

Also available in: Atom PDF