This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Basic block profiling info for gprof
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Mohamed Shafi <shafitvm at gmail dot com>, binutils at sourceware dot org
- Date: Mon, 02 Jul 2007 11:04:16 +1000
- Subject: Re: Basic block profiling info for gprof
- References: <ba0bd44d0705240026v54ca3718o586732e41830ffb1@mail.gmail.com> <465560EB.4080605@redhat.com> <ba0bd44d0705240326w3e47b433x1e31a375e80a4c05@mail.gmail.com> <46559563.9090204@redhat.com> <ba0bd44d0705240704u7c5117e4wb2c412c8db53c56c@mail.gmail.com> <m3d50qgujf.fsf@localhost.localdomain> <4656BBE5.1000002@redhat.com> <4678ED4C.3030500@redhat.com> <1183008859.7127.7.camel@localhost> <468395EA.6050106@redhat.com>
Hi Nick
> > Given that the line-by-line option has never worked very well, would it
> > be worth removing it from gprof rather than try to fix it?
>
> How badly does it work ? (With old gcc's of course).
It works, but (if I recall) it uses some O(n^2) algorithms that makes it
unbearably slow for large programs.
Cheers, Ben