From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Kevin Buettner Cc: Daniel Jacobowitz , Kimball Thurston , gdb@sources.redhat.com Subject: Re: gdb and dlopen Date: Wed, 17 Oct 2001 15:57:00 -0000 Message-id: <3BCE0CA6.3040302@cygnus.com> References: <20011016161525.A1241@nevyn.them.org> <20011016213252.A8694@nevyn.them.org> <20011016220353.A9538@nevyn.them.org> <3BCCF83F.8010401@cygnus.com> <20011017010849.A23345@nevyn.them.org> <20011017011923.A27536@nevyn.them.org> <1011017220745.ZM5792@ocotillo.lan> X-SW-Source: 2001-10/msg00185.html > On Oct 17, 1:19am, Daniel Jacobowitz wrote: > > >> Amusingly, there are something like eight million calls to >> ptid_get_pid. I'll send along a trivial patch to shrink the worst >> offenders. I understand the opacity that functions over macros is >> going for here, but a function that does 'return a.b;' and gets called >> eight MILLION times is a little bit absurd, don't you think? Absurd >> enough that it shows up as the second highest item on the profile. > > > It's a shame that we can't use inline functions... Remember, ptid_get_pid() is the messenger. The real problem is elsewhere. A bit like STREQ() in the symtab code. enjoy, Andrew