unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "A. Soare" <alinsoar@voila.fr>
To: "Emacs   Dev  [emacs-devel]" <emacs-devel@gnu.org>
Subject: Profiling emacs.
Date: Wed, 25 Mar 2009 17:09:38 +0100 (CET)	[thread overview]
Message-ID: <18615722.808621237997378857.JavaMail.www@wwinf4603> (raw)

Today I tried to compile Emacs including the profiler like so:

CFLAGS=-pg LDFLAGS=-pg ./configure --without-x && make

Emacs creates a profile 

However, when I run ./emacs -Q it creates the same gmon.out at all the times, even if I run and make something in emacs a few seconds or 1 minute.

-rw-r--r-- 1 root root 4625 2009-03-25 11:45 gmon.out

Running
gprof emacs gmon.out | less

it shows just help information, nothing about the symbols of emacs.

Could you help me with some idea how to compile emacs includin the profiler?




____________________________________________________

L’inoubliable Alain Bashung est à l’écoute sur Musiline Voila !  http://musiline.voila.fr/player/createtag/935908?creationtype=3






             reply	other threads:[~2009-03-25 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 16:09 A. Soare [this message]
2009-03-25 16:43 ` Profiling emacs Eli Zaretskii
2009-03-25 17:03   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2009-03-25 21:04 A. Soare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18615722.808621237997378857.JavaMail.www@wwinf4603 \
    --to=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).