From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: oprofile; Was: [RFA] Kill some linear searches in minsyms.c
Date: Wed, 08 Jan 2003 00:17:00 -0000 [thread overview]
Message-ID: <3E1B6DDF.2010405@redhat.com> (raw)
In-Reply-To: <20030107222402.GB20617@nevyn.them.org>
> 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.
Based on profile or oprofile?
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.
Andrew
next prev parent reply other threads:[~2003-01-08 0:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-06 4:22 Daniel Jacobowitz
2003-01-06 19:11 ` Elena Zannoni
2003-01-07 23:07 ` Daniel Jacobowitz
2003-01-08 2:43 ` Dan Mosedale
2003-01-08 14:22 ` Elena Zannoni
2003-01-06 21:03 ` oprofile; Was: " Andrew Cagney
2003-01-06 21:28 ` Daniel Berlin
2003-01-07 22:23 ` Daniel Jacobowitz
2003-01-08 0:17 ` Andrew Cagney [this message]
2003-01-08 1:50 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E1B6DDF.2010405@redhat.com \
--to=ac131313@redhat.com \
--cc=drow@mvista.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox