From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25423 invoked by alias); 8 Jan 2003 00:17:56 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25117 invoked from network); 8 Jan 2003 00:16:40 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by 209.249.29.67 with SMTP; 8 Jan 2003 00:16:40 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4100C3D06; Tue, 7 Jan 2003 19:16:31 -0500 (EST) Message-ID: <3E1B6DDF.2010405@redhat.com> Date: Wed, 08 Jan 2003 00:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: oprofile; Was: [RFA] Kill some linear searches in minsyms.c References: <20030106042203.GA28848@nevyn.them.org> <3E19EEED.6070605@redhat.com> <20030107222402.GB20617@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00304.txt.bz2 > 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