From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45898: 27.1; wedged in redisplay again Date: Fri, 01 Jul 2022 13:31:16 +0300 Message-ID: <83tu81dszv.fsf@gnu.org> References: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> <83v8t6us8t.fsf@gnu.org> <87zgiinptk.fsf@gnus.org> <83mteiufih.fsf@gnu.org> <877d5kojbo.fsf@gnus.org> <83zgigu3e0.fsf@gnu.org> <500e4b9c69f2a90e7cf05b956178d71b@webmail.orcon.net.nz> <835yl3tnv3.fsf@gnu.org> <83iloyo0x7.fsf@gnu.org> <83mte5jukr.fsf@gnu.org> <837d57gbed.fsf@gnu.org> <83o7yicx3p.fsf@gnu.org> <83pmir5lwc.fsf@gnu.org> <83mtdu68cl.fsf@gnu.org> <837d4yf18n.fsf@gnu.org> <6A3A8E3E-9FF6-4509-893B-EBFF7B573CDA@gmail.com> <83y1xde5cs.fsf@gnu.org> <201D8E28-F7BD-4E3D-826F-37008CF73003@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33373"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, larsi@gnus.org, Emacs-hacker2018@jovi.net, monnier@iro.umontreal.ca, 45898@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 01 12:32:35 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7Dww-0008UT-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 12:32:35 +0200 Original-Received: from localhost ([::1]:57200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7Dwv-0004Vw-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 06:32:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7DwQ-0004VJ-QM for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 06:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7DwQ-0001zY-IT for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 06:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7DwQ-0004t8-Fd for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 10:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45898 X-GNU-PR-Package: emacs Original-Received: via spool by 45898-submit@debbugs.gnu.org id=B45898.165667151118769 (code B ref 45898); Fri, 01 Jul 2022 10:32:02 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 1 Jul 2022 10:31:51 +0000 Original-Received: from localhost ([127.0.0.1]:36327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7DwB-0004sb-EX for submit@debbugs.gnu.org; Fri, 01 Jul 2022 06:31:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7DwA-0004sP-DF for 45898@debbugs.gnu.org; Fri, 01 Jul 2022 06:31:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Dw0-0001vz-P8; Fri, 01 Jul 2022 06:31:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=vO6QXQuJ2P1oiCBoXJ+uXYwqovwxSq6z05mk3F5drFo=; b=ADbPCdUB/E9er3kiumBB dBQvXK2ffWDzM+UoQChnNFq4c/1oTkq0K41oa/tea95sVOGT+drjiWFa76msyHmpXLXtP8poJRHRG S50P7qShoPYpOct0hxD9h82XMfALn1k7F5pPkxv7wA0km3oCf6CUAu4M2HQ/o+0NBjdhgeC5HsiY2 fWjgA+q7EVzEFZHCQ0kH4dtOWqXOE9i+CNNrKywKMrA6C1RQ738IocCDsQkODuol9Pq+AxmN6Z0YT FoCqcEfD64L6z29o8bfRV/mLHMJtXy7diMYNXrlD1gzcIsqFIRiCH2EqcEbDTjkyzRVX68M5h+uCd NYraz3P3ia6qBw==; Original-Received: from [87.69.77.57] (port=4008 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7DvX-0001Fq-9V; Fri, 01 Jul 2022 06:31:27 -0400 In-Reply-To: <201D8E28-F7BD-4E3D-826F-37008CF73003@gmail.com> (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Fri, 1 Jul 2022 10:49:04 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235774 Archived-At: > From: Gerd Möllmann > Date: Fri, 1 Jul 2022 10:49:04 +0200 > Cc: monnier@iro.umontreal.ca, > larsi@gnus.org, > psainty@orcon.net.nz, > Emacs-hacker2018@jovi.net, > 45898@debbugs.gnu.org > > > Or (on GNU/Linux only) under 'prof' -- which doesn't require you to > > build a special version of Emacs, and still produces detailed CPU > > usage info. > > No one will care, that's why I'm telling: > > I just found a way to profile Emacs on macOS 12.4, with Apple M1 chip, using Xcode 13.4.1. Please see the attached shell script. It seems that Gprof is not supported on my platform, like GDB. > > I'm not yet sure how useful/reliable and whatnot that is, but it looks promising, and it doesn't require building with special compiler flags (I used -g -O0). What kind of information is this capable to display? If it's useful, we could have this script in the repository somewhere. Thanks.