slow script execution when debugging large binaries
Mike Frysinger
vapier@gentoo.org
Thu Aug 10 22:04:00 GMT 2006
On Thursday 10 August 2006 17:55, Daniel Jacobowitz wrote:
> On Thu, Aug 10, 2006 at 05:48:18PM -0400, Mike Frysinger wrote:
> > attached the output of `gprof` on both runs
> >
> > slow:
> > (gdb) maintanence set profile
> > (gdb) file vmlinux
> > (gdb) speed-test
> > (gdb) quit
>
> If you want useful profiles, I recommend not profiling "file".
> We already know that's slow :-)
erp ! actually, loading the kernel took just shy of a second
> But at a guess, you'll still have a symbol lookup on top of the profile.
yeah, new one attached looks as you thought
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20060810/e35421f7/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speed-test-slow.bz2
Type: application/x-bzip2
Size: 11026 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20060810/e35421f7/attachment.bz2>
More information about the Gdb
mailing list