From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: oprofile; Was: [RFA] Kill some linear searches in minsyms.c
Date: Wed, 08 Jan 2003 01:50:00 -0000 [thread overview]
Message-ID: <20030108015056.GA31507@nevyn.them.org> (raw)
In-Reply-To: <3E1B6DDF.2010405@redhat.com>
On Tue, Jan 07, 2003 at 07:16:31PM -0500, Andrew Cagney wrote:
> >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.
Some of each; this batch is mostly gprof. For functions with a large
per instance time, this is plenty accurate. It also gives exact call
counts, which are useful for the accessors even when they're not really
the problem; e.g. the 27M calls to symbol_demangled_name that I could
tell didn't belong there.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-01-08 1:50 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
2003-01-08 1:50 ` Daniel Jacobowitz [this message]
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=20030108015056.GA31507@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@redhat.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