On Sun, Sep 18, 2016 at 04:09:19PM +0300, Slawa Olhovchenkov wrote:
> Is a way to get curproc in DTrace script?
> Direct using curproc give me error:
>
> "failed to resolve curproc: Unknown variable name"
You can use curthread->td_proc, which is equivalent. "curpsinfo" from
Solaris is also implemented.