svn commit: r228143 - in head: . share/mk tools/build/options
Brooks Davis
brooks at FreeBSD.org
Mon Dec 19 23:05:56 UTC 2011
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:
> >
> > > -1. The needs of the many? Please. Let's break a useful feature because some people don't understand it and are impatient? That's lame.
> >
> > 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?
>
> It is quite uesful given that for the last 20 or so years,
> I can do
>
> cc -o z -pg a.c -lm_p
> ./z
> gprof -b -l ./z z.gmon | more
>
> % cumulative self self total
> time seconds seconds calls ms/call ms/call name
> 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)
>
> 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:
>
> See the Solaris Dynamic Tracing Guide for detailed examples
> of how to use the dtrace utility to perform these tasks.
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20111219/4348d739/attachment.pgp
More information about the svn-src-all
mailing list