From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5723 invoked by alias); 13 Feb 2007 11:36:56 -0000 Received: (qmail 5714 invoked by uid 22791); 13 Feb 2007 11:36:55 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Feb 2007 11:36:49 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l1DBak59007318; Tue, 13 Feb 2007 06:36:46 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l1DBakju012286; Tue, 13 Feb 2007 06:36:46 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l1DBajvC032486; Tue, 13 Feb 2007 06:36:46 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id B75AE8001CA; Tue, 13 Feb 2007 06:36:45 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id l1DBaj5o028883; Tue, 13 Feb 2007 06:36:45 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id l1DBaibk028389; Tue, 13 Feb 2007 06:36:44 -0500 Date: Tue, 13 Feb 2007 11:36:00 -0000 From: "Frank Ch. Eigler" To: Chuan-Hua Chang Cc: sid@sourceware.org Subject: Re: gprof SID Message-ID: <20070213113644.GI12714@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00020.txt.bz2 Hi - > Can I use gprof to profile SID? And if it is possible, then how should > I activate the -pg option when building the SID simulator? This is possible: just configure with "--disable-shared" and build with % make CXXFLAGS="-O2 -pg" LDFLAGS="-pg" or something similar. - FChE