272 |
TIME_VALUE_TO_TIMESPEC (&pi->taskinfo.user_time, ¬e.data.pr_time); |
TIME_VALUE_TO_TIMESPEC (&pi->taskinfo.user_time, ¬e.data.pr_time); |
273 |
/* XXX struct procinfo should have dead child info for pr_ctime */ |
/* XXX struct procinfo should have dead child info for pr_ctime */ |
274 |
note.data.pr_wstat = pi->exitstatus; |
note.data.pr_wstat = pi->exitstatus; |
275 |
|
|
276 |
|
if ((void *) pi != &pibuf) |
277 |
|
munmap (pi, pi_size); |
278 |
|
|
279 |
{ |
{ |
280 |
/* We have to nab the process's own proc port to get the |
/* We have to nab the process's own proc port to get the |
281 |
proc server to tell us its registered arg locations. */ |
proc server to tell us its registered arg locations. */ |