Discussion:
DTrace and curproc
(too old to reply)
Slawa Olhovchenkov
2016-09-18 13:10:01 UTC
Permalink
Is a way to get curproc in DTrace script?
Direct using curproc give me error:

"failed to resolve curproc: Unknown variable name"
Mark Johnston
2016-09-18 17:24:51 UTC
Permalink
Post by Slawa Olhovchenkov
Is a way to get curproc in DTrace script?
"failed to resolve curproc: Unknown variable name"
You can use curthread->td_proc, which is equivalent. "curpsinfo" from
Solaris is also implemented.

Loading...