summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2018-06-02 15:24:55 +0000
committerchs <chs@NetBSD.org>2018-06-02 15:24:55 +0000
commite488e95ef324dc4114b2cc82ac03de2ded97b71c (patch)
treee8f645dca83fd4ead09a73afaa5ce81c32ac5033 /sys
parent602902844d819dc69b1dbf313f582348c097bf24 (diff)
add missing boilerplate for UVMHIST.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_bio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/uvm/uvm_bio.c b/sys/uvm/uvm_bio.c
index 9345b4ef0fa..3e4a330d5e3 100644
--- a/sys/uvm/uvm_bio.c
+++ b/sys/uvm/uvm_bio.c
@@ -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 @@ ubc_alloc_direct(struct uvm_object *uobj, voff_t offset, vsize_t *lenp,
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)