/I have instrumented a sizable number of COMSTAR iscsi Target probes (work in progress) and I
run the following D script to print the payload bytes by command type (a D script currently
used with the user-land iscsitgtd provider)
//////dtrace -n 'iscsi*::: { @[probename] = sum(args[1]->ii_datalen); }'
/
/But I get an error message
"dtrace: invalid probe specifier iscsi*::: { @[probename] = sum(args[1]->ii_datalen); }: in action list: args[ ] may not be referenced because probe description iscsi*::: matches an unstable set of probes"
Reading through one of the posts, I see a reply to the same problem posted
earlier..
"if an enabling is associated with multiple probes //(in this particular case there are apparently several probes in
//different //locations that match) the args[] array can't work since different //probes //might have different arguments.
The argN variable are always available. ////We've done some work towards
addressing this issue, but there's more
//work to be done."
Is this still true? or is there a way around this? All the probes have the same
args[0] and args[1].
Any help is greatly appreciated
thanks
Priya
/
_______________________________________________
dtrace-discuss mailing list
[email protected]