From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25760 invoked by alias); 10 Aug 2006 21:55:43 -0000 Received: (qmail 25742 invoked by uid 22791); 10 Aug 2006 21:55:43 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 10 Aug 2006 21:55:39 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GBIV7-0000jy-Fv; Thu, 10 Aug 2006 17:55:37 -0400 Date: Thu, 10 Aug 2006 21:55:00 -0000 From: Daniel Jacobowitz To: Mike Frysinger Cc: gdb@sourceware.org, jzhang918@gmail.com Subject: Re: slow script execution when debugging large binaries Message-ID: <20060810215537.GA2764@nevyn.them.org> Mail-Followup-To: Mike Frysinger , gdb@sourceware.org, jzhang918@gmail.com References: <200608101633.08373.vapier@gentoo.org> <20060810204027.GA32182@nevyn.them.org> <200608101748.19723.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608101748.19723.vapier@gentoo.org> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00093.txt.bz2 On Thu, Aug 10, 2006 at 05:48:18PM -0400, Mike Frysinger wrote: > attached the output of `gprof` on both runs > slow: > (gdb) maintanence set profile > (gdb) file vmlinux > (gdb) speed-test > (gdb) quit If you want useful profiles, I recommend not profiling "file". We already know that's slow :-) But at a guess, you'll still have a symbol lookup on top of the profile. -- Daniel Jacobowitz CodeSourcery