Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm allow ubchist to be printed from the uvmhist merging...
details: https://anonhg.NetBSD.org/src/rev/50ac6c5d6a59
branches: trunk
changeset: 503271:50ac6c5d6a59
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Feb 04 10:55:58 2001 +0000
description:
allow ubchist to be printed from the uvmhist merging uvm_hist()
diffstat:
sys/uvm/uvm_stat.c | 5 ++++-
sys/uvm/uvm_stat.h | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 58aaf7552f82 -r 50ac6c5d6a59 sys/uvm/uvm_stat.c
--- a/sys/uvm/uvm_stat.c Sun Feb 04 10:55:12 2001 +0000
+++ b/sys/uvm/uvm_stat.c Sun Feb 04 10:55:58 2001 +0000
@@ -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 @@
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 -r 58aaf7552f82 -r 50ac6c5d6a59 sys/uvm/uvm_stat.h
--- a/sys/uvm/uvm_stat.h Sun Feb 04 10:55:12 2001 +0000
+++ b/sys/uvm/uvm_stat.h Sun Feb 04 10:55:58 2001 +0000
@@ -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 @@
/* 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
Home |
Main Index |
Thread Index |
Old Index