This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC] Cross-gprof cleanup in gmon_io
Jason R Thorpe wrote:
>
> On Fri, Apr 12, 2002 at 01:45:25PM -0700, Ethan Solomita wrote:
>
> > There were recently some changes to gprof intended to support
> > cross-compilation. Unfortunately they seem to have broken gprof for
> > users of 64-bit sparc kernels. Almost always, user apps are 32-bit, and
> > historically gprof (being built in user space) expected the kernel to
> > supply it with 32-bit longs and pointers.
>
> It actually *fixed* this problem for NetBSD/sparc64.
>
I've been focusing on kernel profiling, when I should also be thinking
about user profiling. With these changes, will gprof be able to profile
the output of 32-bit sparc apps? With NetBSD/sparc64, are you running
all user apps at 64-bit? If you lose all userland profiling, this seems
like a serious compatibility issue.
-- Ethan