Module Name: src Committed By: chs Date: Wed May 13 05:37:16 UTC 2020
Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: for "mach cpuinfo", print ci_biglock_count too. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/aarch64/aarch64/db_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/aarch64/aarch64/db_machdep.c diff -u src/sys/arch/aarch64/aarch64/db_machdep.c:1.21 src/sys/arch/aarch64/aarch64/db_machdep.c:1.22 --- src/sys/arch/aarch64/aarch64/db_machdep.c:1.21 Thu Apr 16 08:03:30 2020 +++ src/sys/arch/aarch64/aarch64/db_machdep.c Wed May 13 05:37:16 2020 @@ -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 @@ show_cpuinfo(struct cpu_info *ci) &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