- Work-around the already partially broken rusage support in kvm by
completely disabling it until a full solution is agreed upon. Pointy hat to: me
This commit is contained in:
parent
f9d63aec3f
commit
8ef6b1429f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170178
@ -208,6 +208,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
||||
kp->ki_sigignore = sigacts.ps_sigignore;
|
||||
kp->ki_sigcatch = sigacts.ps_sigcatch;
|
||||
}
|
||||
#if 0
|
||||
if ((proc.p_sflag & PS_INMEM) && proc.p_stats != NULL) {
|
||||
if (KREAD(kd, (u_long)proc.p_stats, &pstats)) {
|
||||
_kvm_err(kd, kd->program,
|
||||
@ -228,6 +229,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
||||
timeradd(&kp->ki_childstime, &kp->ki_childutime,
|
||||
&kp->ki_childtime);
|
||||
}
|
||||
#endif
|
||||
if (proc.p_oppid)
|
||||
kp->ki_ppid = proc.p_oppid;
|
||||
else if (proc.p_pptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user