From owner-svn-src-head@FreeBSD.ORG Mon Dec 19 23:05:56 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74B591065677; Mon, 19 Dec 2011 23:05:56 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id F2DC08FC0C; Mon, 19 Dec 2011 23:05:54 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.4/8.14.4) with ESMTP id pBJN4jj4068559; Mon, 19 Dec 2011 17:04:45 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.4/8.14.4/Submit) id pBJN4huZ068558; Mon, 19 Dec 2011 17:04:43 -0600 (CST) (envelope-from brooks) Date: Mon, 19 Dec 2011 17:04:43 -0600 From: Brooks Davis To: Steve Kargl Message-ID: <20111219230443.GB66858@lor.one-eyed-alien.net> References: <201111291946.pATJkHMs064094@svn.freebsd.org> <4ED544E1.3050307@t-hosting.hu> <4ED545A9.8000304@FreeBSD.org> <0CAA5754-4FAC-4B87-92B7-439B109473C0@bsdimp.com> <20111219204129.GA34783@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <20111219204129.GA34783@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 19 Dec 2011 23:27:48 +0000 Cc: Doug Barton , Garrett Cooper , Max Khon , svn-src-all@FreeBSD.org, David Chisnall , src-committers@FreeBSD.org, G?bor K?vesd?n , svn-src-head@FreeBSD.org, Warner Losh Subject: Re: svn commit: r228143 - in head: . share/mk tools/build/options X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 23:05:56 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 19, 2011 at 12:41:29PM -0800, Steve Kargl wrote: > On Mon, Dec 19, 2011 at 08:09:32PM +0000, David Chisnall wrote: > > On 19 Dec 2011, at 19:52, Warner Losh wrote: > >=20 > > > -1. The needs of the many? Please. Let's break a useful feature be= cause some people don't understand it and are impatient? That's lame. > >=20 > > How useful is gprof-based profiling these days? Now that we > > have the DTrace pid provider, don't we have access to much more > > fine-grained profiling information without the need for shipping > > two versions of every library? >=20 > It is quite uesful given that for the last 20 or so years, > I can do=20 >=20 > cc -o z -pg a.c -lm_p > ./z > gprof -b -l ./z z.gmon | more >=20 > % cumulative self self total =20 > time seconds seconds calls ms/call ms/call name =20 > 72.1 0.91 0.91 0 100.00% _mcount [1] > 11.1 1.05 0.14 8388608 0.00 0.00 sinf [4] > 8.2 1.16 0.10 8388608 0.00 0.00 nextafterf [5] > 4.6 1.21 0.06 0 100.00% .mcount (9) >=20 > to ge the information I want. I'd tend to agree that we should leave it on at least in HEAD. > dtrace(1M) does not seem to contain an example that gives the > equivalent information. In fact, the manpage contains no examples, > only the statement: >=20 > See the Solaris Dynamic Tracing Guide for detailed examples > of how to use the dtrace utility to perform these tasks. >=20 > which, of course, is not very useful given that I do not have a > Solaris Dynamic Tracing Guide. http://docs.oracle.com/cd/E19253-01/817-6223/ is it and the first hit in google... -- Brooks --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFO78MLXY6L6fI4GtQRAm3PAJ9UkGttDijK7lyADYRJE4CpaXPb1QCgwxwW oX05I2HIp2cKgfTSxaRjWjA= =Dln2 -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--