Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm uvm_findpage_xip: A few UVMHIST logs.
details: https://anonhg.NetBSD.org/src/rev/35921b47f5b3
branches: uebayasi-xip
changeset: 751894:35921b47f5b3
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Nov 21 12:02:06 2010 +0000
description:
uvm_findpage_xip: A few UVMHIST logs.
diffstat:
sys/uvm/uvm_vnode.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r f0c7ef741972 -r 35921b47f5b3 sys/uvm/uvm_vnode.c
--- a/sys/uvm/uvm_vnode.c Sun Nov 21 11:57:15 2010 +0000
+++ b/sys/uvm/uvm_vnode.c Sun Nov 21 12:02:06 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_vnode.c,v 1.93.2.5 2010/11/20 08:00:53 uebayasi Exp $ */
+/* $NetBSD: uvm_vnode.c,v 1.93.2.6 2010/11/21 12:02:06 uebayasi Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_vnode.c,v 1.93.2.5 2010/11/20 08:00:53 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_vnode.c,v 1.93.2.6 2010/11/21 12:02:06 uebayasi Exp $");
#include "opt_uvmhist.h"
#include "opt_xip.h"
@@ -420,6 +420,9 @@
struct vm_physseg *seg;
struct vm_page *pg;
+ UVMHIST_FUNC("uvn_findpage_xip"); UVMHIST_CALLED(ubchist);
+ UVMHIST_LOG(ubchist, "called devvp=%p uobj=%p off=%lx",devvp,uobj,(long)off,0);
+
#if defined(XIP)
#if !defined(XIP_CDEV_MMAP)
KASSERT((vp->v_vflag & VV_XIP) != 0);
@@ -475,5 +478,7 @@
pg->flags |= PG_BUSY;
+ UVMHIST_LOG(ubchist, "done pa=%lx seg=%p pg=%p off=%lx",(long)pa,seg,pg,(long)off);
+
return pg;
}
Home |
Main Index |
Thread Index |
Old Index