From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#34235: 27.0.50; lisp profiler does not work Date: Wed, 30 Jan 2019 13:33:11 +0000 Message-ID: <20190130133311.GA5463@ACM> References: <87o9807ht0.fsf@gmail.com> <83lg3330uq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="267594"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 34235@debbugs.gnu.org To: Eli Zaretskii , Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 14:46:04 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goqBo-0017O4-8d for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 14:46:04 +0100 Original-Received: from localhost ([127.0.0.1]:38532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goqBn-00034r-53 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 08:46:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goq19-0002nL-9F for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 08:35:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goq18-0006BA-4c for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 08:35:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goq17-00069E-Vt for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 08:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goq17-0003RD-MX for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 08:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2019 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34235 X-GNU-PR-Package: emacs Original-Received: via spool by 34235-submit@debbugs.gnu.org id=B34235.154885525913135 (code B ref 34235); Wed, 30 Jan 2019 13:35:01 +0000 Original-Received: (at 34235) by debbugs.gnu.org; 30 Jan 2019 13:34:19 +0000 Original-Received: from localhost ([127.0.0.1]:51099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goq0Q-0003Pm-QG for submit@debbugs.gnu.org; Wed, 30 Jan 2019 08:34:19 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:58316 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1goq0O-0003Pd-Ss for 34235@debbugs.gnu.org; Wed, 30 Jan 2019 08:34:17 -0500 Original-Received: (qmail 94712 invoked by uid 3782); 30 Jan 2019 13:34:14 -0000 Original-Received: from acm.muc.de (p4FE15E69.dip0.t-ipconnect.de [79.225.94.105]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 30 Jan 2019 14:34:13 +0100 Original-Received: (qmail 5529 invoked by uid 1000); 30 Jan 2019 13:33:11 -0000 Content-Disposition: inline In-Reply-To: <83lg3330uq.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154884 Archived-At: Hello, Eli and Alex On Tue, Jan 29, 2019 at 18:06:05 +0200, Eli Zaretskii wrote: > > From: Alex Branham > > Date: Mon, 28 Jan 2019 12:34:03 -0600 > > The lisp profiler (i.e. M-x profiler-start, M-x profiler-report, etc) > > seems to not work for me since the pdumper got merged (or sometime > > around then). I'm not using --enable-profiling when I run ./configure. > > emacs -q > > M-x profiler-start (set cpu mode) > > C-x C-f ~/.emacs.d/init.el > > M-x profiler-report > > results in the profiler report buffer only having the contents: > > - ... 1 100% > > Automatic GC 1 100% > > but surely there should be more in there. More generally, it doesn't > > seem to ever report anything for me, no matter how long I leave it > > running for. I've got no idea if the pdumper has anything to do with > > this, it just seems to have been happening since about then. > I couldn't reproduce this with today's master branch. I tried on > GNU/Linux and on 2 different MS-Windows machines, and profiling worked > for me on all of them. I see much more than just "Automatic GC". > So I suggest that you look into possible local changes on your system > recently, and perhaps also try the emacs-26 branch (where there's no > pdumper). > For the record, after invoking profiler-start in CPU mode, I visited > xdisp.c and typed M->, then invoked profiler-report, and typed "C-u RET" > on every "+" sign in the leftmost column. Did you do something similar? For what it's worth, I see the bug in master in GNU/Linux, starting off with emacs -Q, visiting xdisp.c, M-x profiler-start , M->, M-x profiler-report. I see in the report just the single entry for Automatic GC, like Alex. I last updated my repository yesterday, just before midday UTC. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).