GNU bug report logs -
#3707
add a configure option to enable profiling
Previous Next
Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>
Date: Sun, 28 Jun 2009 21:50:03 UTC
Severity: normal
Done: Dan Nicolaescu <dann <at> ics.uci.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3707 in the body.
You can then email your comments to 3707 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3707
; Package
emacs
.
(Sun, 28 Jun 2009 21:50:04 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3707
; Package
emacs
.
(Mon, 29 Jun 2009 00:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 29 Jun 2009 00:35:05 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
> 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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3707
; Package
emacs
.
(Mon, 29 Jun 2009 00:35:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 29 Jun 2009 00:35:07 GMT)
Full text and
rfc822 format available.
Reply sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
You have taken responsibility.
(Fri, 03 Jul 2009 18:15:30 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
bug acknowledged by developer.
(Fri, 03 Jul 2009 18:15:30 GMT)
Full text and
rfc822 format available.
Message #18 received at 3707-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sat, 01 Aug 2009 14:24:19 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 323 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.