Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libkvm p_schedflags doesn't exist anymore; just set it t...



details:   https://anonhg.NetBSD.org/src/rev/3584f792d8c4
branches:  trunk
changeset: 486630:3584f792d8c4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 27 01:03:00 2000 +0000

description:
p_schedflags doesn't exist anymore; just set it to zero for now,
although we'll be able to get the correct info through kmem
groveling later.

diffstat:

 lib/libkvm/kvm_proc.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r ef53753bb6c7 -r 3584f792d8c4 lib/libkvm/kvm_proc.c
--- a/lib/libkvm/kvm_proc.c     Sat May 27 00:55:42 2000 +0000
+++ b/lib/libkvm/kvm_proc.c     Sat May 27 01:03:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_proc.c,v 1.34 2000/05/26 02:42:22 simonb Exp $     */
+/*     $NetBSD: kvm_proc.c,v 1.35 2000/05/27 01:03:00 thorpej Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm_proc.c 8.3 (Berkeley) 9/23/93";
 #else
-__RCSID("$NetBSD: kvm_proc.c,v 1.34 2000/05/26 02:42:22 simonb Exp $");
+__RCSID("$NetBSD: kvm_proc.c,v 1.35 2000/05/27 01:03:00 thorpej Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -571,7 +571,11 @@
                        kp2p->p_pctcpu = kp->kp_proc.p_pctcpu;
                        kp2p->p_swtime = kp->kp_proc.p_swtime;
                        kp2p->p_slptime = kp->kp_proc.p_slptime;
+#if 0 /* XXX thorpej */
                        kp2p->p_schedflags = kp->kp_proc.p_schedflags;
+#else
+                       kp2p->p_schedflags = 0;
+#endif
 
                        kp2p->p_uticks = kp->kp_proc.p_uticks;
                        kp2p->p_sticks = kp->kp_proc.p_sticks;



Home | Main Index | Thread Index | Old Index