Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm add missing boilerplate for UVMHIST.



details:   https://anonhg.NetBSD.org/src/rev/06b02137089d
branches:  trunk
changeset: 362273:06b02137089d
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Jun 02 15:24:55 2018 +0000

description:
add missing boilerplate for UVMHIST.

diffstat:

 sys/uvm/uvm_bio.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f9ee98511b69 -r 06b02137089d sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Sat Jun 02 15:19:45 2018 +0000
+++ b/sys/uvm/uvm_bio.c Sat Jun 02 15:24:55 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_bio.c,v 1.96 2018/05/26 18:57:35 jdolecek Exp $    */
+/*     $NetBSD: uvm_bio.c,v 1.97 2018/06/02 15:24:55 chs Exp $ */
 
 /*
  * Copyright (c) 1998 Chuck Silvers.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.96 2018/05/26 18:57:35 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.97 2018/06/02 15:24:55 chs Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_ubc.h"
@@ -816,6 +816,7 @@
        int error;
        int gpflags = flags | PGO_NOTIMESTAMP | PGO_SYNCIO | PGO_ALLPAGES;
        int access_type = VM_PROT_READ;
+       UVMHIST_FUNC("ubc_alloc_direct"); UVMHIST_CALLED(ubchist);
 
        if (flags & UBC_WRITE) {
                if (flags & UBC_FAULTBUSY)



Home | Main Index | Thread Index | Old Index