Hey Russ:

Try this

dtrace -n syscall::write:entry'/pid==22089/[EMAIL PROTECTED](arg2)}'

Can you send the link where you found the example below

-Angelo


On Nov 26, 2007, at 10:03 PM, Russ Petruzzelli wrote:

I am newbie trying to follow the example on page 350 of the Dtrace guide... I can't tell if I'm doing something wrong or if the example has a typo...

Thanks,
Russ

Just like page 350:
root> dtrace -n syscall::write:entry'/pid == 22089/{ @writes[arg2] = quantize(); }'

dtrace: invalid probe specifier syscall::write:entry/pid == 22089/ { @writes[arg2] = quantize(); }: in action list: quantize( ) prototype mismatch: 0 args passed, 1 expected

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to