Hi Russ,
That's an error in the docs. It should be:
@writes = quantize(arg2);
Adam
On Mon, Nov 26, 2007 at 07:03:19PM -0800, Russ Petruzzelli wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> </head>
> <body bgcolor="#ffffff" text="#330000">
> <font size="+1">I am newbie trying to follow the example on page 350 of
> the Dtrace guide...<br>
> I can't tell if I'm doing something wrong or if the example has a
> typo...<br>
> <br>
> Thanks,<br>
> Russ<br>
> <br>
> Just like page 350:<br>
> root> dtrace -n syscall::write:entry'/pid == 22089/{ @writes[arg2]
> = quantize(); }'<br>
> <br>
> dtrace: invalid probe specifier syscall::write:entry/pid == 22089/{
> @writes[arg2] = quantize(); }: in action list: quantize( ) prototype
> mismatch: 0 args passed, 1 expected<br>
> <br>
> </font>
> </body>
> </html>
> _______________________________________________
> dtrace-discuss mailing list
> [email protected]
--
Adam Leventhal, FishWorks http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
[email protected]