From 21624aaf7261141f13c540ff7e9bd7e2b660fe1a Mon Sep 17 00:00:00 2001 From: chuck Date: Tue, 10 Mar 1998 14:36:55 +0000 Subject: [PATCH] uvm_dump now dumps some important pointers for debugging --- sys/uvm/uvm_stat.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/uvm/uvm_stat.c b/sys/uvm/uvm_stat.c index 8656f6010fa1..2daf75d987c9 100644 --- a/sys/uvm/uvm_stat.c +++ b/sys/uvm/uvm_stat.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_stat.c,v 1.8 1998/02/13 05:34:30 thorpej Exp $ */ +/* $NetBSD: uvm_stat.c,v 1.9 1998/03/10 14:36:55 chuck Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -152,4 +152,8 @@ uvm_dump() uvmexp.pdpending, uvmexp.nswget); printf(" nswapdev=%d, nanon=%d, nfreeanon=%d\n", uvmexp.nswapdev, uvmexp.nanon, uvmexp.nfreeanon); + + printf(" kernel pointers:\n"); + printf(" objs(kern/kmem/mb)=%p/%p/%p\n", uvm.kernel_object, + uvmexp.kmem_object, uvmexp.mb_object); }