From owner-cvs-all@FreeBSD.ORG Wed Jun 13 17:14:48 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EE4B16A473 for ; Wed, 13 Jun 2007 17:14:48 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id CB95913C4B8 for ; Wed, 13 Jun 2007 17:14:45 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so259399ika for ; Wed, 13 Jun 2007 10:14:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J+blqX4HyxQ/revaJSHchdBcyglIQmjTnfz+qLjBRaTqU1/A6Ty4MqfcTcNOTRAGP0KoFXC4PNxoGIE6jM/P16HbKDeYMhz7o8zcaxKVGpCObB08JtA+szwZC10FAyZT705TFPcSQ6vF0r+u9hsDfnoUaLEXw3qCkZYmhcn7+JU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bcQ8bpglfyzRrp94fSzF93B7Y5Bj1bPjc2YQNp/O3zDyZWIxXcUj80U48gsOvWXYlBNpr1fjBD8LaTtHTeAwyMWx6fXWoA9MoKXytqYYIzFhfXjswyZV6l8vW9UKZlhlv9MN8UqsDTpU3ZBkv/2pVSLdVBZBRm0fGXjsnEFyFeQ= Received: by 10.78.204.7 with SMTP id b7mr303620hug.1181754884354; Wed, 13 Jun 2007 10:14:44 -0700 (PDT) Received: by 10.78.162.18 with HTTP; Wed, 13 Jun 2007 10:14:44 -0700 (PDT) Message-ID: Date: Wed, 13 Jun 2007 10:14:44 -0700 From: "Kip Macy" To: "Bruce Evans" , "Bruce Evans" , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org In-Reply-To: <20070613184656.N25269@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706130617.l5D6HncF038605@repoman.freebsd.org> <20070613184656.N25269@delplex.bde.org> Cc: Subject: Re: cvs commit: src/sys/libkern mcount.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2007 17:14:48 -0000 - Original message - No. It's unlikely that you even configure profiling. Bruce ROTFL. In that case what does 'config -pp' do? And why did it print something to the effect of "profiling configured" on the console? And why did the hang go away when I re-built without '-pp'? Never mind. I'll just take the time to update the hwpmc support for my hardware. "hwpmc" also doesn't cause a 50% slowdown when in use. -Kip On 6/13/07, Bruce Evans wrote: > On Tue, 12 Jun 2007, Kip Macy wrote: > > > On 6/12/07, Bruce Evans wrote: > >> bde 2007-06-13 06:17:48 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/libkern mcount.c > >> Log: > >> Unbreak high resolution profiling a little: use dummy asms to prevent > >> timing loops being optimized away. > >> > >> Once apon a time, gcc promised not to optimize away timing loops, but > >> gcc started optimizing away the call to a null function in the timing > >> loop here some time between gcc-3.3.3 and gcc-3.4.6, and it started > >> optimizing away the timing loop itself some time between gcc-3.4.6 > >> and gcc-4.2. > > > > Will this fix the hang on boot that I saw earlier today? > > No. It's unlikely that you even configure profiling. > > Bruce >