This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: curious gprof behaviour on trivial testcase


On Fri, Apr 28, 2006 at 07:08:04PM -0700, James E Wilson wrote:
> I tested this patch on x86_64-linux.  There were no regressions.  Not
> very meaningful since there is no gprof testsuite, but I tested it by
> hand on a trivial and non-trivial testcase.  Without the patch I get an
> error on a trivial testcase.  With the patch, I get a flat profile for a
> trivial testcase.

For what my opinion is worth, I think this is a great change.  Every
time I try to use gprof on an application built without -pg I have to
go look up the argument to print the flat callgraph.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]