From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34235: 27.0.50; lisp profiler does not work Date: Tue, 29 Jan 2019 18:06:05 +0200 Message-ID: <83lg3330uq.fsf@gnu.org> References: <87o9807ht0.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6818"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34235@debbugs.gnu.org To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 29 17:07:21 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 1goVux-0001dl-N7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2019 17:07:19 +0100 Original-Received: from localhost ([127.0.0.1]:51692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVuw-0002Gm-JG for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2019 11:07:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVug-0002Eq-R0 for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2019 11:07:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goVug-0003j8-4I for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2019 11:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goVuf-0003iF-Vm for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2019 11:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goVuf-0004Hs-MF for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2019 11:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Jan 2019 16:07: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.154877799316434 (code B ref 34235); Tue, 29 Jan 2019 16:07:01 +0000 Original-Received: (at 34235) by debbugs.gnu.org; 29 Jan 2019 16:06:33 +0000 Original-Received: from localhost ([127.0.0.1]:50732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goVuD-0004H0-4E for submit@debbugs.gnu.org; Tue, 29 Jan 2019 11:06:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goVuB-0004Gk-Tk for 34235@debbugs.gnu.org; Tue, 29 Jan 2019 11:06:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVu2-0003OI-DQ; Tue, 29 Jan 2019 11:06:24 -0500 Original-Received: from [176.228.60.248] (port=3471 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1goVty-0007G9-2L; Tue, 29 Jan 2019 11:06:21 -0500 In-reply-to: <87o9807ht0.fsf@gmail.com> (message from Alex Branham on Mon, 28 Jan 2019 12:34:03 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:154864 Archived-At: > 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? Thanks.