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 for "mach cpuinfo", print ci_bigloc...
details: https://anonhg.NetBSD.org/src/rev/03451d70e677
branches: trunk
changeset: 1010047:03451d70e677
user: chs <chs%NetBSD.org@localhost>
date: Wed May 13 05:37:16 2020 +0000
description:
for "mach cpuinfo", print ci_biglock_count too.
diffstat:
sys/arch/aarch64/aarch64/db_machdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r cff44d9ae800 -r 03451d70e677 sys/arch/aarch64/aarch64/db_machdep.c
--- a/sys/arch/aarch64/aarch64/db_machdep.c Tue May 12 23:18:52 2020 +0000
+++ b/sys/arch/aarch64/aarch64/db_machdep.c Wed May 13 05:37:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.21 2020/04/16 08:03:30 ryo Exp $ */
+/* $NetBSD: db_machdep.c,v 1.22 2020/05/13 05:37:16 chs Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.21 2020/04/16 08:03:30 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.22 2020/05/13 05:37:16 chs Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd32.h"
@@ -291,6 +291,8 @@
&ci->ci_astpending, cpuid, cpuinfobuf.ci_astpending);
db_printf("%p cpu[%lu].ci_intr_depth = %u\n",
&ci->ci_intr_depth, cpuid, cpuinfobuf.ci_intr_depth);
+ db_printf("%p cpu[%lu].ci_biglock_count = %u\n",
+ &ci->ci_biglock_count, cpuid, cpuinfobuf.ci_biglock_count);
}
void
Home |
Main Index |
Thread Index |
Old Index