From dann@godzilla.ics.uci.edu Sun Jun 28 14:45:31 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Jun 2009 21:45:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.6 required=4.0 tests=AWL,FOURLA,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5SLjQnE020673 for ; Sun, 28 Jun 2009 14:45:27 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ML2Bi-0001y2-CG for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 17:45:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ML2Bd-0001xW-2W for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 17:45:26 -0400 Received: from [199.232.76.173] (port=39673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ML2Bc-0001xT-Uy for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 17:45:20 -0400 Received: from sallyv2.ics.uci.edu ([128.195.1.120]:64151) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1ML2Bc-0008IY-GS for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 17:45:20 -0400 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n5SLhfdc016239 for ; Sun, 28 Jun 2009 14:43:41 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n5SLhf3i014719; Sun, 28 Jun 2009 14:43:41 -0700 (PDT) Date: Sun, 28 Jun 2009 14:43:41 -0700 (PDT) Message-Id: <200906282143.n5SLhf3i014719@godzilla.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs Subject: add a configure option to enable profiling X-Debbugs-No-Ack: yes Lines: 35 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n5SLhfdc016239 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Building emacs with profiling support is not very straight forward at the moment. It would be better if we had a configure option to do it: ./configure --enable-profiling make Adding the configure flag can be done like this: --- configure.in.~1.600.~ 2009-06-26 18:46:22.000000000 -0700 +++ configure.in 2009-06-28 06:00:37.000000000 -0700 @@ -273,6 +273,18 @@ if test x$ac_gc_check_cons_list != x ; t [Define this to check for errors in cons list.]) fi +AC_ARG_ENABLE(profiling, +[ --enable-profiling + Build emacs with profiling support], +[ac_enable_profiling="${enableval}"],[]) +if test x$ac_enable_profiling != x ; then + PROFILING_CFLAGS="-DPROFLING -pg" + PROFILING_LDFLAGS="-pg" +else + PROFILING_CFLAGS= + PROFILING_LDFLAGS= +fi + #### Make srcdir absolute, if it isn't already. It's important to #### avoid running the path through pwd unnecessarily, since pwd can #### give you automounter prefixes, which can go away. We do all this How can PROFILING_CFLAGS and PROFILING_LDFLAGS be added to the default CFLAGS in the Makefile to enable "make" to just DTRT? From monnier@iro.umontreal.ca Sun Jun 28 17:28:17 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 29 Jun 2009 00:28:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5T0SCsc017773 for ; Sun, 28 Jun 2009 17:28:14 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ML4jE-0005Yv-K8 for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 20:28:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ML4jA-0005Ss-62 for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 20:28:12 -0400 Received: from [199.232.76.173] (port=59770 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ML4j9-0005SW-SL for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 20:28:07 -0400 Received: from smtp-04.vtx.ch ([212.147.0.65]:39128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ML4j9-0001nX-ED for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2009 20:28:07 -0400 Received: from alfajor.home (dyn.144-85-222-231.dsl.vtx.ch [144.85.222.231]) by smtp-04.vtx.ch (VTX Services SA) with ESMTP id 9179829AE99; Mon, 29 Jun 2009 02:28:06 +0200 (CEST) Received: by alfajor.home (Postfix, from userid 20848) id 5A4326433A; Mon, 29 Jun 2009 02:28:06 +0200 (CEST) From: Stefan Monnier To: Dan Nicolaescu Cc: 3707@debbugs.gnu.org, bug-gnu-emacs Subject: Re: bug#3707: add a configure option to enable profiling Message-ID: References: <200906282143.n5SLhf3i014719@godzilla.ics.uci.edu> Date: Mon, 29 Jun 2009 02:28:06 +0200 In-Reply-To: <200906282143.n5SLhf3i014719@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 28 Jun 2009 14:43:41 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) > Building emacs with profiling support is not very straight forward at > the moment. > It would be better if we had a configure option to do it: > ./configure --enable-profiling > make > Adding the configure flag can be done like this: Looks good, please install, Stef From dann@godzilla.ics.uci.edu Fri Jul 3 11:12:35 2009 Received: (at 3707-done) by emacsbugs.donarmstrong.com; 3 Jul 2009 18:12:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n63ICWlv005245 for <3707-done@emacsbugs.donarmstrong.com>; Fri, 3 Jul 2009 11:12:33 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n63DKDZd024881; Fri, 3 Jul 2009 06:20:13 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n63DKDhg027537; Fri, 3 Jul 2009 06:20:13 -0700 (PDT) Date: Fri, 3 Jul 2009 06:20:13 -0700 (PDT) Message-Id: <200907031320.n63DKDhg027537@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Stefan Monnier Cc: 3707-done@debbugs.gnu.org Subject: Re: bug#3707: add a configure option to enable profiling References: <200906282143.n5SLhf3i014719@godzilla.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: (Stefan Monnier's message of "Mon, 29 Jun 2009 02:28:06 +0200") Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n63DKDZd024881 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Stefan Monnier writes: > > Building emacs with profiling support is not very straight forward at > > the moment. > > It would be better if we had a configure option to do it: > > > ./configure --enable-profiling > > make > > > Adding the configure flag can be done like this: > > Looks good, please install, Thanks. Done. From unknown Tue Jun 17 20:18:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 01 Aug 2009 14:24:19 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator