Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 Use UVMHIST_CALLARGS in pmap_bootstrap



details:   https://anonhg.NetBSD.org/src/rev/8159c1bfcc67
branches:  trunk
changeset: 371975:8159c1bfcc67
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 23 07:04:44 2022 +0000

description:
Use UVMHIST_CALLARGS in pmap_bootstrap

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f5d35dcdeec7 -r 8159c1bfcc67 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Sun Oct 23 07:02:26 2022 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Sun Oct 23 07:04:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.142 2022/10/23 07:02:26 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.143 2022/10/23 07:04:44 skrll Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.142 2022/10/23 07:02:26 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.143 2022/10/23 07:04:44 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_cpuoptions.h"
@@ -472,7 +472,8 @@
        PMAP_HIST_INIT();       /* init once */
 
        UVMHIST_FUNC(__func__);
-       UVMHIST_CALLED(pmaphist);
+       UVMHIST_CALLARGS(pmaphist, "vstart=%#jx vend=%#jx", (uintptr_t)vstart,
+           (uintptr_t)vend, 0, 0);
 
        uvmexp.ncolors = aarch64_cache_vindexsize / PAGE_SIZE;
 



Home | Main Index | Thread Index | Old Index