Source-Changes-HG archive

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

[src/trunk]: src/sys/kern don't define bpendtsleep in profiling kernels since...



details:   https://anonhg.NetBSD.org/src/rev/607c37b4edc1
branches:  trunk
changeset: 510430:607c37b4edc1
user:      chs <chs%NetBSD.org@localhost>
date:      Mon May 28 22:20:03 2001 +0000

description:
don't define bpendtsleep in profiling kernels since it confuses gprof.

diffstat:

 sys/kern/kern_synch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2a725d4c4437 -r 607c37b4edc1 sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c     Mon May 28 22:16:17 2001 +0000
+++ b/sys/kern/kern_synch.c     Mon May 28 22:20:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_synch.c,v 1.103 2001/04/27 08:00:03 jdolecek Exp $        */
+/*     $NetBSD: kern_synch.c,v 1.104 2001/05/28 22:20:03 chs Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -465,7 +465,7 @@
        SCHED_ASSERT_LOCKED();
        mi_switch(p);
 
-#ifdef DDB
+#if    defined(DDB) && !defined(GPROF)
        /* handy breakpoint location after process "wakes" */
        asm(".globl bpendtsleep ; bpendtsleep:");
 #endif



Home | Main Index | Thread Index | Old Index