diff options
author | jeff <jeff@FreeBSD.org> | 2007-06-01 04:14:57 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-06-01 04:14:57 +0000 |
commit | 95d7fe260d2be5211d6bdae316b818a2863fd70e (patch) | |
tree | 6e6f98f5b049460c80a28265c779b713a2402f4b /lib | |
parent | 43033372fba313efb176380f9fd151c42e909759 (diff) | |
download | FreeBSD-src-95d7fe260d2be5211d6bdae316b818a2863fd70e.zip FreeBSD-src-95d7fe260d2be5211d6bdae316b818a2863fd70e.tar.gz |
- 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index bc9661f..598681b 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -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) { |