From owner-freebsd-current Fri Jan 31 3:30:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EE8837B401; Fri, 31 Jan 2003 03:30:57 -0800 (PST) Received: from smtp03.iprimus.com.au (smtp03.iprimus.com.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C57A43F85; Fri, 31 Jan 2003 03:30:55 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from smtp01.iprimus.net.au (210.50.30.70) by smtp03.iprimus.com.au (6.7.010) id 3E359CD7000D93E1; Fri, 31 Jan 2003 22:30:48 +1100 Received: from dilbert.robbins.dropbear.id.au ([203.134.131.91]) by smtp01.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Fri, 31 Jan 2003 22:30:47 +1100 Received: from dilbert.robbins.dropbear.id.au (1rk4yyofwwenhmq1@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id h0VBUj7i071852; Fri, 31 Jan 2003 22:30:45 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id h0VBUfQf071850; Fri, 31 Jan 2003 22:30:41 +1100 (EST) (envelope-from tim) Date: Fri, 31 Jan 2003 22:30:41 +1100 From: Tim Robbins To: Robert Watson Cc: current@FreeBSD.org, davidxu@FreeBSD.org, Craig Dooley Subject: Re: Profiling kills -current? Message-ID: <20030131223041.A71698@dilbert.robbins.dropbear.id.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from rwatson@FreeBSD.org on Thu, Jan 30, 2003 at 04:17:39PM -0500 X-OriginalArrivalTime: 31 Jan 2003 11:30:48.0400 (UTC) FILETIME=[33BBAD00:01C2C91C] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 30, 2003 at 04:17:39PM -0500, Robert Watson wrote: > Looks like recent commits may have broken profiling of user applications; > or rather, it's also causing the kernel to crash. I suspect (but have not > confirmed) it was the recent KSE commit. This commit should have fixed the problem causing the system to lock up when profiling was used. A quick check shows that it's generating reasonable results now, but I believe that there are other profiling bugs in -current. == tjr 2003/01/31 03:22:32 PST Modified files: sys/kern subr_trap.c Log: Use a local variable to store the number of ticks that elapsed in kernel mode instead of (unintentionally) using the global `ticks'. This error completely broke profiling. Revision Changes Path 1.241 +3 -2 src/sys/kern/subr_trap.c == Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message