arg1
arg1
-
Arg1 is the return value from the function being probed for return probe .
arg1是要探测的函数的返回值,用于退出探测。
-
When used within a DTrace script during monitoring , each argument is available within variables named arg0 , arg1 , etc.
在监视期间,DTrace脚本可以通过变量arg0、arg1等访问每个参数。
-
So in the case of the primecalc__done probe , the prime number would be arg0 and whether the number is a prime would be arg1 .
因此,对于primecalcdone探测,素数是arg0,不确定是否是素数则用arg1表示。