This is the mail archive of the
mailing list for the GDB project.
Re: oprofile; Was: [RFA] Kill some linear searches in minsyms.c
Based on profile or oprofile?
On Mon, Jan 06, 2003 at 04:02:37PM -0500, Andrew Cagney wrote:
>Future things to examine:
Now this reminds me.
Things-to-do-today includes run oprofile on GDB while debugging
something like mozilla. That would give a real picture of where GDB is
spending its time.
I have a couple more similar patches for the places we're spending our
time :) After I clear up some more backlog.
The problem with profile is that it artifically inflates the call
frequency of small functions and that leasily leads to mis-analysis.
cf, not so recently where the a finger was pointed at the pid/tid
functions as the cause of thread slowness. The real problem was (and
probably still is) too many system calls.