> I'm using cpp rather heavily in creating my DTrace script,
> so I may well be fouling myself up. Anyway, I'm getting:
>
> % sudo dtrace -I. -C -s dtlog.d 1
> dtrace: failed to compile script dtlog.d: line 89:
> syntax error near "1"
>
> When I look at the cpp output for line 89, I get:
>
> syscall::chmod:entry {
> self->arg1 = arg1;
> self->arg0 = arg0;
> self->follow = 1;
> } /* 4 */
>
> Actually, this is all on one line. I don't see anything
> wrong with the syntax. Help?
>
> -r
That output compiles for me. Can you post the original dtlog.d input file?
-Mike
--
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
_______________________________________________
dtrace-discuss mailing list
[email protected]