diff --git a/sys/uvm/uvm_stat.c b/sys/uvm/uvm_stat.c index 4fcecbe793cf..efa608152c53 100644 --- a/sys/uvm/uvm_stat.c +++ b/sys/uvm/uvm_stat.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_stat.c,v 1.16 2000/12/01 09:48:56 chs Exp $ */ +/* $NetBSD: uvm_stat.c,v 1.17 2001/02/04 10:55:58 mrg Exp $ */ /* * @@ -182,6 +182,9 @@ uvm_hist(bitmask) if ((bitmask & UVMHIST_PDHIST) || bitmask == 0) hists[i++] = &pdhist; + if ((bitmask & UVMHIST_UBCHIST) || bitmask == 0) + hists[i++] = &ubchist; + hists[i] = NULL; uvmhist_dump_histories(hists); diff --git a/sys/uvm/uvm_stat.h b/sys/uvm/uvm_stat.h index 9739bea811fa..aa96f1013e7a 100644 --- a/sys/uvm/uvm_stat.h +++ b/sys/uvm/uvm_stat.h @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_stat.h,v 1.18 2000/04/11 08:12:14 pk Exp $ */ +/* $NetBSD: uvm_stat.h,v 1.19 2001/02/04 10:55:58 mrg Exp $ */ /* * @@ -134,6 +134,7 @@ LIST_HEAD(uvm_history_head, uvm_history); /* and these are the bit values of each history */ #define UVMHIST_MAPHIST 0x00000001 /* maphist */ #define UVMHIST_PDHIST 0x00000002 /* pdhist */ +#define UVMHIST_UBCHIST 0x00000004 /* ubchist */ #ifdef _KERNEL