This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: slow script execution when debugging large binaries


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

Attachment: pgp00000.pgp
Description: PGP signature

Attachment: speed-test-slow.bz2
Description: BZip2 compressed data


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